Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
AWS CLI list instances name with public IP
aws ec2 describe-instances \
--query 'Reservations[*].Instances[*].[Tags[?Key==`Name`].Value|[0],PublicIpAddress]' \
--output table --region us-east-1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.