Skip to content

Instantly share code, notes, and snippets.

@Dnile
Created February 12, 2015 19:52
Show Gist options
  • Save Dnile/f83a87e387f792a7d0f7 to your computer and use it in GitHub Desktop.
Save Dnile/f83a87e387f792a7d0f7 to your computer and use it in GitHub Desktop.
just a boto ec2 conenction sequence abstracted
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