Created
July 18, 2012 22:08
-
-
Save srs81/3139232 to your computer and use it in GitHub Desktop.
AWS: Create new EC2 instances of all types
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
KEYNAME=Suman1 | |
# Amazon EBS AMI | |
# AMI=ami-aecd60c7 | |
# Ubuntu instance-store AMI | |
AMI=ami-012b8568 | |
REGTYPES=( t1.micro m1.small m1.medium m1.large m1.xlarge c1.medium c1.xlarge m2.xlarge m2.2xlarge m2.4xlarge hi1.4xlarge ) | |
CLUTYPES=( cc1.4xlarge cg1.4xlarge cc2.8xlarge ) | |
for TYPE in ${REGTYPES[@]} | |
do | |
ec2-run-instances $AMI -t $TYPE -k $KEYNAME | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment