Using aws-cli and jq list all instances for all ASGs aws autoscaling describe-auto-scaling-instances \ | jq '.AutoScalingInstances[] | {AutoScalingGroupName, InstanceId}' list instance IDs for a particular ASG aws autoscaling describe-auto-scaling-instances \ | jq '.AutoScalingInstances[] | select( .AutoScalingGroupName=="rhelmer__asg_for_webapp") .InstanceId' list all instances aws ec2 describe-instances \ | jq '.Reservations[].Instances[] | {PublicDnsName, InstanceId}' list public DNS entry for a particular instance ID aws ec2 describe-instances \ | jq '.Reservations[].Instances[] | select(.InstanceId=="i-07c2630a") .PublicDnsName'