Knowledge Base

« Object Store Dev Docs

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 import s3
driver = s3.S3StorageDriver(
key=S3_ACCESS, secret=S3_SECRET,
VPS Bestellen
VPS Bestellen