We’ve recently added container quota support to our Orbit Cloud Object Storage service, allowing you to set container size and object count limits on a per-container basis. This makes it easy to you to control the maximum size of your storage containers which can be important if you’ve got strict budgets for a particular project, or just want to prevent an errant system creating too many objects!
Using quotas is really easy and just requires some custom metadata to be set on the container. The available options are:
||limits the total amount of data allowed in the container.|
||limits the number of objects allowed in the container.|
You can set container metadata with the swift command line
tool, or even just curl, but our GUI makes it
simple. Just edit your container, select
Metadata and set it there:
Then try upload something that’s too big:
$ swift -A https://orbit.brightbox.com/v1.0/acc-xxxxx -U "email@example.com" -K "sometoken" upload myproject 20megfile Object PUT failed: acc-xxxxx/myproject/20megfile 413 Request Entity Too Large 'Upload exceeds quota.'
If you’re the kind of person who gets really excited about things like quotas, then you’ll be thrilled to learn that you can sign up for Brightbox in just a couple of minutes and get a £50 free credit to try them out!