How to list the AWS EC2 instances in an account using AWS CLI ?
AWS cli is a very powerful command line utility provided by AWS. Here I am giving a set of AWS CLI commands to list the EC2 instances in an aws account. List all EC2 instances in an AWS account (including stopped). aws ec2 describe-instance-status --include-all-instances The above command will list all the EC2 instances in an account irrespective of its status. The output will be in JSON…
View On WordPress













