Skip to content

Instantly share code, notes, and snippets.

@garnaat
Created October 13, 2011 12:57
Show Gist options
  • Save garnaat/1284171 to your computer and use it in GitHub Desktop.
Save garnaat/1284171 to your computer and use it in GitHub Desktop.
Connecting to Eucalyptus server in boto (assuming boto.cfg is configured properly)
$ python
Python 2.7.1 (r271:86832, Jun 16 2011, 16:59:05)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import boto
>>> euca = boto.connect_euca()
>>> euca.get_all_images()
[Image:emi-DFEA10FF, Image:emi-DF0A1104, Image:emi-0CC81777, Image:emi-DF5F1113, Image:emi-DF0B1106, Image:emi-E9E51553,
...
Image:emi-169215C7, Image:emi-622216BC, Image:emi-E4C11567, Image:emi-B153146A, Image:emi-81BC1332]
>>> walrus = boto.connect_walrus()
>>> walrus.get_all_buckets()
[]
>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment