Container limits
By default there are no limits on containers, you can store any amount of files in a container as long as there is money in your balance to pay for the storage.
You can limit the storage of objects in a container using limits:
- on the total size of the objects;
- number of objects;
- time of storage of objects in the container.
If the limit on the total file size or number of files is reached, it will not be possible to upload objects to the container.
When you set a limit on the time files are stored in the container, it applies only to new objects — a header with the date when the object will be deleted is automatically inserted in the metadata of each object. If the limit is changed or deleted, the header for previously uploaded objects will not change — objects uploaded before the limit was set will not be deleted, and objects with the header in the metadata will be deleted at the specified time even if the container limits are reset. More information about deferred deletion in Swift API documentation.
You can set a storage limit on all storage (all containers within a project), see the instructions for details Object storage limits.
Configure container limits
- In control panel go to Object Storage → Containers.
- Open the container page → tab Configuration.
- Click Modify.
- In the block Container object limits adjust the limits.
- Click Save.