Skip to content

Instantly share code, notes, and snippets.

@lmmendes
Last active February 8, 2017 11:36
Show Gist options
  • Select an option

  • Save lmmendes/a1f1254b776117131202e7ff87b87d66 to your computer and use it in GitHub Desktop.

Select an option

Save lmmendes/a1f1254b776117131202e7ff87b87d66 to your computer and use it in GitHub Desktop.
AWS CLI commands

List instances by: name, id and type

aws --output table  ec2 describe-instances --query 'Reservations[].Instances[].[Tags[?Key==`Name`] | [0].Value,InstanceId,InstanceType]'

List users


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment