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.

Prerequisites

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

Procedure

  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.
    Parameter Description
    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 conventions:

    • The name of a bucket must be unique in OSS in an Alibaba Cloud account.
    • 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.
    Region 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.

    Notice If the bucket that you want to create is located in a region in the Chinese mainland, you must complete real-name registration by submitting your information on the Real-name Registration page.
    Zone-redundant Storage OSS provides zone-redundant storage (ZRS) to replicate user data across three zones within the same region. If one zone becomes unavailable, you can continue to access the data that is stored in the other two zones.
    • Activate: If you enable ZRS for the bucket, objects in the bucket are stored by using ZRS. For example, if the storage class of the bucket is Standard, the objects in the bucket are Standard ZRS objects by default. For more information, see ZRS.
      Notice ZRS is supported only in the following regions: China (Shenzhen), China (Beijing), China (Hangzhou), China (Shanghai), China (Hong Kong), Singapore (Singapore), and Indonesia (Jakarta). You are charged extra fees for ZRS. This feature cannot be disabled after it is enabled. Exercise caution when you enable this feature.
    • Not Activated: By default, ZRS is disabled for the bucket. If ZRS is disabled for a bucket to be created, objects in the bucket are stored by using locally redundant storage (LRS). For example, if the storage class of the bucket is Standard, the objects in the bucket are Standard LRS objects by default.
  4. Click OK.

What to do next

Upload objects