Creating and Deleting

Last Updated At: 2025-10-21 09:10:00

Directions

Description of Related Information

Name

  • The bucket name consists of a custom string and a system-generated numeric string (APPID), which are concatenated by a strike -. The system-generated numeric string (APPID) for different buckets is the same for the same user.
  • The length of a custom string in the bucket name cannot exceed 40 characters. Only lowercase letters, digits, and hyphens are allowed. Special symbols and underlines are not allowed.
  • Bucket names created by the same user are unique and cannot be renamed.

Access Permission

The bucket provides three access permissions: private read/write, public read and private write, or public read/write. Bucket permissions can be modified through bucket permission management in the COS console.

  • Private read/write: Only the creator of the bucket and authorized accounts have read/write permission on the objects in the bucket. No one else has read/write permissions. It is recommended.
  • Public read and private write: Anyone (including anonymous visitors) has read permission to objects in the bucket, but only the bucket creator and authorized accounts have write permission to objects in the bucket.
  • Public read and write: anyone (including anonymous visitors) has read/write permission on the objects in the bucket, which is not recommended.

Associated Project

  • You can select the Project field in the creation process. The project can help you solve the complexity of resource grouping and authorization management in a single cloud account.
  • You can go to Resource Management > Projects to create a project.

Creating a Bucket

You can create a bucket on the bucket list page in the COS console.

1. Going to the Bucket List

Log in to the COS console and click Bucket List in the left sidebar to enter the bucket list page. Click Create Bucket to pop up the create bucket dialog box.

2. Filling in the Bucket Information

Fill in the bucket name (such as test-1253833564), create the region where the bucket belongs, set the default private read/write, and click OK to quickly create a bucket.

Deleting a Bucket

You can delete a bucket when you no longer need to use it.

  1. On the COS console, find the bucket you want to delete and click Delete.
  2. The delete bucket dialog box is displayed. Click OK to delete the bucket.

Note:

When deleting a bucket, make sure there are no objects or directories in it. Otherwise, the bucket cannot be deleted.