All Products
Document Center

Object Storage Service:Create buckets

Last Updated:Sep 15, 2023

A bucket is a container that is used to store objects in Object Storage Service (OSS). You must create a bucket before you upload any types of objects to OSS. This topic describes how to create a bucket in the OSS console.


OSS is activated. For more information, see Activate OSS.


  1. Log on to the OSS console.

  2. In the left-side navigation pane, click Buckets. On the Buckets page, click Create Bucket.

  3. In the Create Bucket panel, configure the required parameters described in the following table. You can keep the default settings for other parameters or configure the parameters after the bucket is created. Then, click OK.



    Bucket Name

    The name of the bucket. The name of a bucket cannot be changed after the bucket is created.

    The name must meet the following requirements:

    • The name must be globally unique.

    • The name can contain only lowercase letters, digits, and hyphens (-).

    • The name must start and end with a lowercase letter or a digit.

    • The name must be 3 to 63 characters in length.


    The region where the bucket is located. The region of a bucket cannot be changed after the bucket is created.

    To access the bucket from an Elastic Compute Service (ECS) instance over an internal network, select the region in which the ECS instance is located. For more information, see OSS domain names.


    If you want to create a bucket in a region in the Chinese mainland, you must complete real-name registration by submitting your information on the Real-name Registration page.


    The redundancy type of the bucket.

    • LRS

      Locally redundant storage (LRS) stores multiple copies of your data on multiple devices of different facilities in the same zone. LRS provides data durability and availability even if hardware failures occur.

    • ZRS (Recommended)

      ZRS stores multiple copies of your data across multiple zones in the same region. Your data is still accessible even if a zone becomes unavailable.


      ZRS is supported in the following regions: China (Shenzhen), China (Beijing), China (Hangzhou), China (Shanghai), China (Hong Kong), Singapore, and Indonesia (Jakarta). ZRS increases your storage costs and cannot be disabled after it is enabled. We recommend that you exercise caution when you select this redundancy type.

      For more information about ZRS, see Create a ZRS bucket.

    After the bucket is created, the Created message is displayed.

What to do next

Upload objects