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

Rackspace Cloudvent Calendar Day 14: How Much Cloud Files Storage Am I Using?

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!

You can store tons of objects in Cloud Files, and take advantage of volume pricing if you have large storage needs. Today you may be wondering: just how much data do I have in Cloud Files right now? You can find out with an API request!

curl -X HEAD -D - \
     -H "X-Auth-Token: $TOKEN" \

https://storage.clouddrive.com/v1/CF_xer7_343

The output will show you how many objects you are storing, how many containers you have, and finally, how much data you are storing in bytes:

HTTP/1.1 204 No Content
 X-Account-Object-Count: 4943
 X-Account-Bytes-Used: 25603957646
 X-Account-Container-Count: 151
 Accept-Ranges: bytes

Hopefully this helps you estimate costs more effectively. Check back tomorrow for another post!

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.


More

Leave a New Comment

(Required)


Racker Powered
©2014 Rackspace, US Inc.