view scripts/run_ami.sh @ 609:aefe2ca0674f

First version of a C++ implementation by Alex Brandmeyer
author alexbrandmeyer
date Mon, 13 May 2013 22:51:15 +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