Created
February 23, 2012 16:26
-
-
Save delagoya/1893543 to your computer and use it in GitHub Desktop.
RUM EBS volume using boto
This file contains hidden or 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
#!/usr/bin/env python | |
import boto | |
from os import environ | |
conn = boto.connect_ec2(environ["AWS_ACCESS_KEY_ID"],environ["AWS_SECRET_ACCESS_KEY"]) | |
size = 100 | |
#adjust to the same zone as StarCluster config | |
zone = "us-east-1a" | |
# Description: RUMv1.09, BWAv0.6.1, Bowtie2b5, Bowtie0.12.7, GATK1.4, samtools0.1.18 | |
snapshot = "snap-aec239d5" | |
v = conn.create_volume(size,zone,snapshot) | |
print v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment