Updated on 2026-08-05 GMT+08:00

Creating a Bucket

Buckets are containers that store objects in OBS. To store data in OBS, you must first create a bucket.

Procedure

  1. Log in to OBS Browser+.
  2. In the upper part of the page, click Create Bucket.
  3. In the displayed dialog box, configure bucket parameters, as shown in Figure 1.

    Figure 1 Creating a bucket
    Table 1 Bucket creation parameters

    Parameter

    Description

    Region

    Enter the region where you want to create a bucket.

    • Once the bucket is created, its region cannot be changed.
    • For lower latency and faster access, create a bucket in the region nearest to you.
    • If you want your bucket to be accessed from an ECS over the intranet, ensure that the bucket and the ECS are in the same region. For details, see Accessing OBS from an ECS over the Intranet.

    Storage Class

    Storage class of the bucket.

    Different storage classes meet customers' needs for storage performance and costs.

    • Standard: applicable to scenarios where a large number of hot files or small files need to be accessed frequently (multiple times per month on average) and require fast access response.
    • Infrequent Access: ideal for storing data that is not frequently accessed (less than 12 times per year on average) but requires fast access response.
    • Archive: suitable for archiving data that is rarely accessed (averagely once a year) and has no requirements for quick response.
    NOTE:

    During the object upload, an object inherits its bucket's storage class by default, and you can also specify a different storage class for the object.

    For more information, see Storage Class.

    Bucket ACL

    Controls read and write permissions on buckets.

    • Private: Only users granted permissions by the ACL can access the bucket.
    • Public Read: Anyone can read objects in the bucket.
    • Public Read and Write: Anyone can read, write, or delete objects in the bucket.

    Multi-AZ Mode

    If multi-AZ storage is enabled, data in your bucket is stored in multiple AZs within a region.

    After a bucket is created, its data redundancy policy cannot be changed.

    Bucket Name

    Name of the bucket you want to create, which must be globally unique.

    A bucket name:

    • Must be 3 to 63 characters long and start with a digit or letter. Only lowercase letters, digits, hyphens (-), and periods (.) are allowed.
    • Cannot be formatted as an IP address.
    • Cannot start or end with a hyphen (-) or period (.).
    • Cannot contain two consecutive periods (..), for example, my..bucket.
    • Cannot contain a period (.) and a hyphen (-) adjacent to each other, for example, my-.bucket or my.-bucket.

    After a bucket is created, its name cannot be changed.

    A user can create a maximum of 100 buckets in OBS.

    NOTE:
    • You can click next to the Bucket Name text box to view the bucket naming rules.
    • When a bucket is accessed via a URL, its name becomes part of the URL. According to DNS standards, URLs do not support uppercase letters, so buckets with uppercase letters in their names cannot be distinguished. Therefore, a bucket name can contain only lowercase letters, digits, hyphens (-), and periods (.). For example, if you attempt to access bucket MyBucket using a URL, the URL will parse MyBucket as mybucket. This results in an access error.
    • DNS naming rules help unify bucket names globally and make bucket resolution easier during access. By using DNS-compliant names, you can benefit from new functions and optimized features, and also enable static website hosting for your buckets.

  4. Click OK. If the bucket is successfully created, it is displayed in the bucket list. If the creation fails, an error message will be displayed.