Skip to content

Instantly share code, notes, and snippets.

@ShubhamRasal
Last active October 17, 2020 11:22
Show Gist options
  • Save ShubhamRasal/3bf5a1773b7a8a9ba1bbd97f8ecf6054 to your computer and use it in GitHub Desktop.
Save ShubhamRasal/3bf5a1773b7a8a9ba1bbd97f8ecf6054 to your computer and use it in GitHub Desktop.
run-instances
aws ec2 run-instances \
--image-id ami-0e306788ff2473ccb \
--count 1 --instance-type t2.micro \
--key-name MyKeyPair \
--security-groups "MySecurityGroup" \
--placement AvailabilityZone=ap-south-1a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment