view scripts/run_ami.sh @ 607:49eef19e4f1d

Added JSON output for use with node.js and backbone.js
author sness@sness.net
date Fri, 10 May 2013 20:12:49 +0000
parents 5e888fbaaa80
children
line wrap: on
line source
#!/bin/bash
ec2-run-instances                               \
  --user-data-file ec2_user_data.sh             \
  --key tom_eu_west                             \
  --instance-type m1.small                      \
  --instance-count 1                            \
  --region eu-west-1                            \
  --availability-zone eu-west-1b                \
  ami-2fc2e95b
  
ec2-attach-volume vol-d6fb18bf -i [INSTANCE_ID] -d /dev/sdf --region eu-west-1