How can I specify the bucket address of an image?

Last updated:2021-08-04 11:26:06

To import an image, upload the image file to a Kingsoft Cloud Standard Storage Service (KS3) bucket first. When you import the image, specify the bucket address of the image.

The bucket address of an image stored in a KS3 bucket consists of three parts in the following format: http://{Endpoint}/{BucketName}/{ObjectName}, where:

  • {Endpoint} indicates the endpoint of KS3.
  • {BucketName} indicates the name of the bucket where the image file is stored.
  • {ObjectName} indicates the object name, which is the name of the image file.

The endpoint of KS3 varies with the region. You can use the internal endpoint or public endpoint of KS3. For more information, see Endpoints and regions.

For example, if you want to import an image named centos.img to your service in the CN South 1(Guangzhou) region, you must upload the image file to a KS3 bucket in this region first. Assume that the name of the bucket is test. When you import the image, specify the bucket address as https://ks3-cn-guangzhou.ksyun.com/test/centos.img or https://ks3-cn-guangzhou-internal.ksyun.com/test/centos.img.

In the bucket address, ks3-cn-guangzhou.ksyun.com or ks3-cn-guangzhou-internal.ksyun.com is the endpoint of KS3, test is the bucket name, and centos.img is the name of the image file.

Did you find the above information helpful?

Unhelpful
Mostly Unhelpful
A little helpful
Helpful
Very helpful

What might be the problems?

Insufficient
Outdated
Unclear or awkward
Redundant or clumsy
Lack of context for the complex system or functionality

More suggestions

0/200

Please give us your feedback.

Submitted

Thank you for your feedback.

问题反馈