Skip to content

Instantly share code, notes, and snippets.

@garnaat
Created July 5, 2010 22:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save garnaat/464743 to your computer and use it in GitHub Desktop.
Save garnaat/464743 to your computer and use it in GitHub Desktop.
Connect to Eucalyptus server with boto
import boto
from boto.ec2.regioninfo import RegionInfo
reg = RegionInfo(name='ECC', endpoint='ecc.eucalyptus.com')
c = boto.connect_ec2(aws_access_key_id='<my euca access key>', aws_secret_access_key='<my euca secret key>', region=reg, port=8773, path='/services/Eucalyptus')
c.get_all_images()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment