Support: 1-800-961-4454
Sales Chat

Rackspace Cloudvent Calendar Day 8: Bulk Operations In Cloud Files

In the spirit of the holiday season, I’m sharing some tips and features of our cloud that you may not know about. In this countdown I’ll have 24 posts for you, each covering a single topic or feature about Rackspace Cloud products. We’ll post one per day so keep checking back!

Cloud Files can be used to store thousands and thousands of objects and serve them over the Akamai content delivery network (CDN). What if you are just getting started and have a ton of files to upload? What if you need to delete a container with tons of objects in it? You used to have to upload or delete all of the objects in a container one at a time. It took forever.

Bulk operations through the Rackspace Cloud Files API make this a lot easier. If you want to use the API directly to do this, features are documented here. However, I recommend you use a tool called Turbolift. Turbolift is a Cloud Files uploader written in Python that you can use to either upload or delete thousands of objects quickly and easily. An example to upload the contents of a directory to a container:

turbolift -u [CLOUD-USERNAME] -a [CLOUD-API-KEY] --os-rax-auth [REGION] upload -s [PATH-TO-DIRECTORY] -c [CONTAINER-NAME]

Before you decide you need to ship us a drive (also an option!) give Turbolift a try!

Be sure to come back each day throughout December for another helpful cloud tip. And check out previous Rackspace Cloudvent Calendar entries here.

About the Author

This is a post written and contributed by Hart Hoover.

Hart Hoover is a Cloud Strategist at Rackspace Hosting. Hoover started his career as a Racker in 2007 as a Linux Systems Administrator, providing technical support for dedicated servers. He moved to the cloud in 2009 to help design the Managed Cloud Servers support model. He has presented at various technical conferences, maintains and contributes to the Rackspace DevOps Blog, and advises Rackspace customers on best practices for cloud computing.

Racker Powered
©2016 Rackspace, US Inc.