Actions for Cloud Files¶
You can use Cloud Files to perform the following actions.
To learn how to perform Cloud Files actions by using your choice of interface, begin at one of the following topics:
- Cloud Files and the Cloud Control Panel
- Cloud Files and CLIs: swift and swiftly
- Cloud Files and APIs
Create a Container¶
Before uploading any data to Cloud Files, you must create a storage container. Containers cannot be created within another container, however you can create up to 500,000 containers in your Cloud Files account. Each container can store an unlimited number of objects.
Delete a Container¶
All objects within a container must be deleted before the container itself can be deleted. Multiple containers allow for better threading of the deletion scripts.
Deleting a container is a permanent action and cannot be reversed.
Create or Update an Object¶
Each container can store an unlimited number of objects.
For large files support, Cloud Files enables you to upload multiple file segments and a manifest file to map the segments together. When uploading large files:
- Files larger than 5 GB must first be segmented into smaller files
- File segments should not be smaller than 100-200 MB
- Files larger than 10 GB cannot be served from the CDN
Copy an Object¶
You can copy an existing object to a new object in the Cloud Files storage system. The new object can be in the same container, but must have a different name from the original object. If the new object is located in a different container, you can either use the same name as the original or a new name.
Delete an Object¶
By deleting an object, you are permanently removing the object from the storage system (data and metadata). Deletion is processed immediately and cannot be reversed.