1. aws ec2 describe-instances --filters "Name=instance-type,Values=t2.micro" --query "Reservations[].Instances[].InstanceId"
2. aws ec2 describe-instances --filters "Name=instance-type,Values=t2.medium" --query "Reservations[].Instances[].InstanceId"
3.To list out security groups
aws ec2 describe-security-groups --group-ids
Comments
Post a Comment