Created
July 3, 2018 01:24
-
-
Save hootieben/d42b961a5d112b166c0d8489d267084a to your computer and use it in GitHub Desktop.
AWS Cli Cheatsheat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Get all running AWS instances by count | |
aws ec2 describe-instances --filters "Name=instance-state-name,Values=running" | jq -r ".Reservations[] | .Instances[] | .InstanceType" | sort -d |uniq -c | sort -bnr |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment