Created
November 7, 2017 16:37
-
-
Save nmagee/94df292eba3142ed24206be5e9ae1d7a to your computer and use it in GitHub Desktop.
Stop one or more EC2 instances. Run this on your local workstation.
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
#!/bin/bash | |
# This can be one or more EC2 instance IDs, separated by a space. No commas. | |
instanceIds='' | |
aws ec2 stop-instances --instance-ids $instanceIds | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment