Updated on 2024-10-17 GMT+08:00

Endpoints and Domain Names

Endpoint: OBS provides an endpoint for each region. An endpoint is considered a domain name to access OBS in a region and is used to process requests of that region. For details about regions and endpoints, see Regions and Endpoints.

Bucket domain name: Each bucket in OBS has a domain name. A domain name is the address of a bucket and can be used to access the bucket over the Internet. It is applicable to cloud application development and data sharing.

A bucket domain name is in the format of BucketName.Endpoint, where BucketName indicates the name of the bucket, and Endpoint indicates the domain name of the region where the bucket is located.

Table 1 lists the bucket domain name and other domain names in OBS, including their structure and protocols.

Table 1 OBS domain names

Type

Structure

Description

Protocol

Regional domain name

[Structure]

Endpoint

[Example]

obs.ap-southeast-1.myhuaweicloud.com

Each region has an endpoint, which is the domain name of the region.

For regions and endpoints, see Regions and Endpoints.

Each region corresponds to an OBS endpoint that keeps unchanged on both the internal and external networks. After access over an intranet is configured, you can access OBS over an internal network.

HTTPS

HTTP

Bucket domain name

[Structure]

BucketName.Endpoint

[Example]

bucketname.obs.ap-southeast-1.myhuaweicloud.com

After a bucket is created, you can use the domain name to access the bucket. You can compose the domain name according to the structure of bucket domain names, or you can obtain it from basic information of the bucket on OBS Console or OBS Browser+.

HTTPS

HTTP

Object domain name

[Structure]

BucketName.Endpoint/ObjectName

[Example]

bucketname.obs.ap-southeast-1.myhuaweicloud.com/object.txt

After an object is uploaded to a bucket, you can use the object domain name to access the object. You can spell out the domain name according to the structure of object domain names, or you can obtain it from the object details on OBS Console or OBS Browser+. Alternatively, you can call the GetObjectUrl API through the SDK to obtain the object domain name.

HTTPS

HTTP

Static website domain name

[Structure]

BucketName.obs-website.Endpoint

[Example]

bucketname.obs-website.ap-southeast-1.myhuaweicloud.com

A static website domain name is a bucket domain name when the bucket is configured to host a static website.

HTTPS

HTTP

User-defined domain name

Self-owned domain name registered with a domain name provider

You can bind a user domain name to a bucket so that you can access the bucket through the user domain name.

HTTP