Libcloud library for Python

libcloud is a python library for accessing various cloud locations. Even though libcloud was designed to prevent vendor-lockin, its users are still at risk of vendor locking, as only selected vendors are supported, and no generic cloud drivers exist. CloudVPS recommends against using libcloud for new projects.

To use libcloud with the CloudVPS object store, we recommend you use our S3 emulation. libcloud's S3 driver is the most mature object store driver in the library. You can generate an S3 access and secret pair in our inferface. The following snippet will instantiate an s3 driver:

# tested with libcloud 0.5.0 and libcloud 0.12.4
from libcloud.storage.drivers import s3
S3_ACCESS="abcdef1234567890abcdef1234567890"
S3_SECRET="abcdef1234567890abcdef1234567890"
PROJECT_ID="abcdef1234567890abcdef1234567890"
driver = s3.S3StorageDriver(
key=S3_ACCESS, secret=S3_SECRET,
host=PROJECT_ID+".objectstore.eu")

Helpcenter

General FAQ

Show all FAQs

OpenStack FAQ

Show all FAQs

Knowledgebase

Show all FAQs