aws utilities written by go
start, stop, and show status, your ec2 instances.
--nametag
, -n
[*required]
"Name" tag to search instances. you can use "*"
--mode
, -m
[*required]
start or stop or status
command
$ aws-utilities -p my_main_profile op -n *test -m status
outputs
(Nametag PrivateIP PublicIP InstanceID InstanceState)
simeji-test 172.30.0.200 54.xxx.xxx.201 i-xxxaaaa1 running
simeji-test2 172.30.0.201 i-xxxbbbb2 stopped
--profile
, -p
your profile. default: "default"