How to see all running Amazon EC2 instances across all regions?

前端 未结 17 1284
囚心锁ツ
囚心锁ツ 2021-01-29 23:03

I switch instances between different regions frequently and sometimes I forget to turn off my running instance from a different region. I couldn\'t find any way to see all the r

17条回答
  •  滥情空心
    2021-01-29 23:25

    Good tool to CRUD AWS resources. Find [EC2|RDS|IAM..] in all regions. There can do operations (stop|run|terminate) on filters results.

    python3 awsconsole.py ec2 all // return list of all instances
    python3 awsconsole.py ec2 all -r eu-west-1
    python3 awsconsole.py ec2 find -i i-0552e09b7a54fa2cf --[terminate|start|stop]
    

提交回复
热议问题