Skip to content

Instantly share code, notes, and snippets.

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