| Author | Mitch Garnaat, et al |
| Homepage | Google Code Page |
| Documentation | API Documentation, Wiki |
| Discussion | via Google Groups |
| Download | via Google Code (Count: 47) |
| Source | via Google Code |
| Version | 1.8d |
| License | MIT |
Install boto, setup the environment, and so on.
As root, python setup.py install
Eucalyptus EC2 interface
region = RegionInfo(name="eucalyptus", endpoint="hostname")
connection = boto.connect_ec2(aws_access_key_id="access key",
aws_secret_access_key="secret",
is_secure=False,
region=region,
port=8773,
path="/services/Eucalyptus")
#Run commands
zones = connection.get_all_zones()
where, "hostname" is the name of the Eucalyptus front end.
For instance, if EC2_URL is set to http://192.168.9.1:8773/services/Eucalyptus,
hostname should be "192.168.9.1"
Eucalyptus S3 interface
calling_format=boto.s3.connection.OrdinaryCallingFormat()
connection = boto.s3.Connection(aws_access_key_id="access key",
aws_secret_access_key="secret",
is_secure=False,
host="hostname",
port=8773,
calling_format=calling_format,
path="/services/Walrus")
#Run commands
bucket_instance = connection.get_bucket(bucket)
keys = bucket.get_all_keys()
for k in keys:
#do something
Interacting with Amazon EC2
Replace "hostname" in the above examples with "ec2.amazonaws.com" or "s3.amazonaws.com" and path with "/"