Support: 1-800-961-4454
1-800-961-2888

Apache Libcloud: New Features, Improvements

Apache Libcloud is an open-source Python client library that creates a standard interface for managing multiple cloud providers, including Rackspace.

Between 0.6.1 and current release (0.10.1) seven months of development took place and a lot of new features and improvements were added, which I want to talk about in this blog post.

Improvements In The OpenStack And Rackspace Drivers

OpenStack and Rackspace drivers received a lot of improvements and new features, including, but not limited to:

  • Keystone 2.0 support (authentication),
  • New storage driver which works with OpenStack Swift installations
  • Large object upload support for CloudFiles driver
  • A lot of improvements and new extension methods in the Rackspace load balancer driver

Python 3 Support

The 0.7.0 release introduced full support for Python 3. Libcloud is now one of the first Python cloud libraries that supports Python 2.5, Python 2.6, Python 2.7 / PyPy and Python 3 with a single code base.

Support For Compressed Responses

Since the 0.8.0 release Libcloud now knows how decompress and handle compressed responses (deflate, gzip). Compressed responses are usually much smaller than the uncompressed ones, which means this will save you a decent amount of bandwidth, especially if you do a lot of polling.

New Drivers

Since the latest update Libcloud has added support for more than 10 new providers and locations:

  • CloudStack (compute)
  • OpenNebula v1.4, v2.x and v3.x (compute)
  • Joyent (compute)
  • VCL cloud (compute)
  • Vmware vCloud v1.5 (compute)
  • IBM SCE (compute)
  • libvirt (compute, experimental)
  • Amazon EC2 South America and Oregon locations (compute, storage)
  • ElasticHosts United States and Canada locations (compute)
  • CloudSigma United States location (compute)

Conclusion

This is just a short list of new features and improvements that have landed in trunk in the last seven months. For a full list of changes, please see the CHANGES file. You can find more information including examples and a getting started guide, and follow Libcloud development and news on the project website – http://libcloud.apache.org/.

About the Author

This is a post written and contributed by Tomaz Muraus.

Tomaz Muraus is a Racker and a project lead for the Rackspace Service Registry product. He is also a project chair of Apache Libcloud, an open-source project that deals with cloud interoperability.

Before working on Service Registry he worked on the Cloud Monitoring product, and before joining Rackspace, he worked at Cloudkick helping customers manage and monitor their infrastructure.

In his free time, he loves writing code, contributing to open-source projects, advocating for software freedom, going to the gym and cycling.

Be sure to check out his Github page at https://github.com/Kami.


More
Racker Powered
©2014 Rackspace, US Inc.