Creating a Bucket

Before you store data in the object service, you need to create a bucket.

Prerequisites

You have obtained the access certificate and security certificate of an activated account.

Precautions

A maximum of 100 buckets can be created for an account.

Procedure

  1. Choose Services > Object Service > Account.
  2. Click the name of the desired account and select the Bucket tab.
  3. Enter the access certificate and security certificate of the account and click Authenticate.

    You can perform authentication on either of the Bucket or User tab page.

  4. Click Create.

    The Create Bucket page is displayed.

  5. Configure bucket parameters. Table 1 describes related parameters.

    Table 1 Bucket parameters

    Parameter

    Description

    Bucket Name

    Indicates the name of the bucket.

    [Value range]

    • The name must be unique.
    • The name can contain 3 to 63 characters, including lowercase letters, digits, hyphens (-), or periods (.).
    • The name must start with a letter or digit and cannot end with a period (.) or hyphen (-), and cannot contain consecutive periods (.), or the combination of a hyphen and period (-. or .-).
    • The name cannot be an IP address.

    Region

    Indicates the region where the bucket is located. Resources in different regions cannot communicate with each other. Select a region close to your service to reduce the network latency and improve the access speed. The region cannot be changed after the bucket is created.

    Remote Replication

    Indicates whether to enable remote replication for the bucket. After remote replication is enabled, a bucket is created in the primary cluster and another bucket as well as bucket data backups are created in the secondary cluster.

    CAUTION:

    Once enabled, this feature cannot be disabled.

    Replication Group

    This parameter is mandatory only when remote replication is enabled for the bucket.

    You can click Select to select an existing replication group or create a new one.

    Parity Fragments

    Indicates the number of parity fragments.

    Total Quota

    Indicates the capacity of objects that can be uploaded to the bucket.

    If the value is set to 0, the bucket quota is not limited.

    Bucket Permission

    Indicates the bucket access permissions. Possible options are as follows:

    • Private

      The owner of the bucket has full control of the bucket. Other users cannot access the bucket without authorization.

    • Public Read

      All users can read objects in the bucket, and only the bucket owner has the write permission.

    • Public Read and Write

      All users can read, write, or delete objects in the bucket.

      NOTE:

      For data security, you are advised to select Private.

  6. Click OK.