Get EC2 Instance IDs with AWS CLI in Terminal on Mac - VicPhanDevOps/mac GitHub Wiki
• Type aws ec2 describe-instances --query ‘Reservations[].Instances[].InstanceId’
and press the return key to get the EC2 instance IDs.
• Type aws ec2 describe-instances --query ‘Reservations[].Instances[].InstanceId’
and press the return key to get the EC2 instance IDs.