Skip to content

Instantly share code, notes, and snippets.

@drincruz
Created November 29, 2019 04:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drincruz/01f942bb13d6505e0d984e7d73903f97 to your computer and use it in GitHub Desktop.
Save drincruz/01f942bb13d6505e0d984e7d73903f97 to your computer and use it in GitHub Desktop.
aws CLI Helpful commands
# Output the Public IP, Private IP, Instance Name
aws --profile default ec2 describe-instances --query 'Reservations[].Instances[].[PublicIpAddress,PrivateIpAddress,Tags[?Key==`Name`]| [0].Value]' --output=table
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment