Domains
The object store uses public domains and domains for API access.
You can retrieve repository objects through public domains:
You can access storage, manage containers and objects through:
The public domain of the container is
The public domain of a container is used to distribute objects from public containers and is <uuid>.selstorage.ru
, where <uuid>
is the unique identifier of the container.
The identifier is generated when a public container is created or when the container type is changed to public.
Unauthorized read access to the container is performed on the public domain of the container.
An object in storage can be retrieved by a link of the form <uuid>.selstorage.ru/<object_name>
.
To make objects accessible from another domain, connect user-domain.
View the container's public domain at
- In Control Panel, go to Object Storage → Containers.
- Open the container page → Domains tab.
- In the Public Domains block, look for a domain of the form
<uuid>.selstorage.ru
.
Custom domain
You can distribute objects in a public container under the guise of your domain. You can connect a custom domain at the container level. Obtain object via custom domain can be accessed via link.
Connect custom domain
You can connect third-level domains and above.
-
Open your DNS hosting control panel.
-
Create a DNS record and specify:
- record type is
CNAME
; - record name — user domain;
- value is
access.ru-1.storage.selcloud.ru
, whereru-1
is the pool where the object storage resides.
- record type is
-
In Control Panel, go to Object Storage → Containers.
-
Open the container page → Domains tab.
-
Enter the domain and click Attach.
Disable custom domain
The user domain is disabled when changing the container type to private or when deleting the domain.
Delete custom domain
- In Control Panel, go to Object Storage → Containers.
- Open the container page → Domains tab.
- In the domain line, click .
CDN domain
Objects from a public container can be distributed via CDN. To do this, when creating a CDN resource, you must specify container-public-domain as the content source. For more information about CDN domains, see the Manage Domains instructions.
If you delete the CDN domain in the container settings, the CDN resource will have its content source removed and the CDN will stop working.
Swift API domain
The swift.ru-1.storage.selcloud.ru
domain is an endpoint that can be used to work with containers and load objects via the Swift API.
In the domain, specify ru-1
— pool where the object store resides.
To work with private containers through the swift.ru-1.storage.selcloud.ru
domain, authorized access is required.
S3 API Domains
Only authorized access is possible through S3 API domains. You can work with containers and upload objects via:
s3.ru-1.storage.selcloud.ru/<container_name>
— domain with Path-Style addressing, used by default if Virtual-Hosted addressing is not enabled;<container_name>.s3.ru-1.storage.selcloud.ru
— domain with Virtual-Hosted addressing, used if Virtual-Hosted addressing is enabled in container settings.
Here ru-1
is the pool that hosts the object store.