Create a container in object storage
-
In the Control Panel, on the top menu, click Products and select Object Storage.
-
Go to the Containers section.
-
Click Create Container.
-
Enter the name of the container. For S3 API compatibility, the container name must meet the conditions:
- Be unique among the containers of all users that use the storage over S3 and are hosted in the same pool;
- comply with Amazon S3 Bucket naming rules — contain only numbers, letters of the Latin alphabet, symbols . and
-
, for more information see the Bucket naming rules in the Amazon documentation.
-
Select the region and pool where the container will be created.
-
Select the type of container:
- private — for storing backups and other data with access by login and password or authorization token;
- public — for sharing the content of a website or web application, available without authorization.
-
Select a storage class:
- standard storage — for storing and distributing frequently requested data;
- cold storage — for storing rarely requested data.
The storage class only affects the cost of resources, technically and speed-wise the classes are the same. Once a container is created, the storage class cannot be changed.
-
If you need a container with Virtual-Hosted addressing to work with S3 API, select vHosted in the Addressing Type block . You can enable Virtual-Hosted addressing only once.
-
If you want versioning to be enabled in the container, in the Data Protection block, check the Versioning checkbox.
-
Click Create Container.