Skip to content

Instantly share code, notes, and snippets.

@mwhittaker
Last active August 29, 2015 14:19
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 mwhittaker/452085a492b5b538893f to your computer and use it in GitHub Desktop.
Save mwhittaker/452085a492b5b538893f to your computer and use it in GitHub Desktop.
Amazon Web Services

Amazon Web Services

Common Commands

  • Dry run launching an EC2 instance.

      aws ec2 run-instances  --dry-run  --image-id ami-d05e75b8
    
  • Launch an EC2 instance with all the fixins.

      aws ec2 run-instances \
          --dry-run \
          --image-id ami-d05e75b8 \
          --key-name <key name> \
          --security-groups default \
          --instance-type t2.micro \
          --count 1 \
    

Resources

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