All Documents
Current Document

Content is empty

If you don't find the content you expect, please try another search term

Documentation

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.

On this page
Pure ModeNormal Mode

Pure Mode

Click to preview the document content in full screen
Feedback