Skip to content

Instantly share code, notes, and snippets.

@mschueler
Created September 14, 2011 02:40
Show Gist options
  • Save mschueler/1215741 to your computer and use it in GitHub Desktop.
Save mschueler/1215741 to your computer and use it in GitHub Desktop.
ami="ami-116f3c54"
size="m1.small"
region="us-west-1"
key="plabw"
path="/Users/mike/orchestration/west/"
sgroups="-g pl -g pl-www -g st-db -g st-www -g pl-db -g default"
mapping="--block-device-mapping=/dev/sdo=snap-7d4de911:200:false"
#mapping="--block-device-mapping=/dev/sdc=ephemeral0 --block-device-mapping=/dev/sdo=snap-7d4de911:200:false"
# natty from Alestic Jun 29
#ec2-run-instances ami-975507d2 --instance-type m1.small --region us-west-1 --key plabw -g pl -g pl-www -g default -f /Users/mike/orchestration/west/mkbase/userdata.sh
ec2-run-instances ${ami} --instance-type ${size} --region ${region} ${mapping} --key ${key} ${sgroups} -f ${path}/mkbase/pldb20.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment