forked from eucalyptus/eucalyptus
-
Notifications
You must be signed in to change notification settings - Fork 0
Boto
gregdek edited this page Apr 18, 2013
·
2 revisions
Author: Mitch Garnaat, et al
Website: https://github.com/boto/boto
Download URL: http://pypi.python.org/pypi/boto
License: MIT
boto is an integrated interface to current and future infrastructural services compatible with AWS.
Install boto, setup the environment, and so on.
As root,
python setup.py install
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"
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
Index of Categories
- category.UNCATEGORIZED
- category.aws-compatibility
- category.blueprints
- category.bugs
- category.community
- category.components
- category.contributing
- category.contributions
- category.debugging
- category.design
- category.docs
- category.docs-team
- category.ebs
- category.eustore
- category.events
- category.examples
- category.faqs
- category.fedora
- category.gsoc
- category.ha
- category.hackfests
- category.images
- category.images category.ebs
- category.infrastructure
- category.install
- category.legacy
- category.meetings
- category.monitoring
- category.networking
- category.participation
- category.people
- category.releng
- category.reporting
- category.stats
- category.tools
- category.ui