Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Amazon AWS Shut Down All EC2 Instances
aws ec2 terminate-instances
aws ec2 describe-instances
| grep InstanceId
| awk {'print $2'}
| sed 's/[",]//g'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment