Skip to content

Instantly share code, notes, and snippets.

@chuyeow
Created July 4, 2012 08:48
Show Gist options
  • Save chuyeow/3046150 to your computer and use it in GitHub Desktop.
Save chuyeow/3046150 to your computer and use it in GitHub Desktop.
EC2 command to launch an EBS-backed instance and attach ephemeral storage
ec2-run-instances ami-2c22637e --group default --key chuyeow --user-data hostname=hostname --instance-type c1.xlarge --region ap-southeast-1 --availability-zone ap-southeast-1a --disable-api-termination --monitor -b /dev/sda1=:30:false -b "/dev/sdb=ephemeral0" -b "/dev/sdc=ephemeral1" -b "/dev/sdd=ephemeral2" -b "/dev/sde=ephemeral3"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment