Created
February 12, 2015 19:52
-
-
Save Dnile/f83a87e387f792a7d0f7 to your computer and use it in GitHub Desktop.
just a boto ec2 conenction sequence abstracted
This file contains 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
import boto.ec2 | |
import os | |
access = os.environ['aws_access_key_id'] | |
secret = os.environ['aws_secret_access_key'] | |
conn = boto.ec2.connect_to_region(region, aws_access_key_id=access, | |
aws_secret_access_key=secret) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment