Created
July 5, 2010 22:07
-
-
Save garnaat/464743 to your computer and use it in GitHub Desktop.
Connect to Eucalyptus server with boto
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 | |
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