Skip to content

Instantly share code, notes, and snippets.

@griggheo
Created October 14, 2010 04:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save griggheo/625567 to your computer and use it in GitHub Desktop.
Save griggheo/625567 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
from libcloud.types import Provider
from libcloud.providers import get_driver
EC2_ACCESS_ID = 'xxxxxxx'
EC2_SECRET_KEY = 'yyyyyyyyyyyyyyyyyyyyyyyyyy'
EC2Driver = get_driver(Provider.EC2)
conn = EC2Driver(EC2_ACCESS_ID, EC2_SECRET_KEY)
print conn.list_sizes()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment