To store objects in COS, you first need to create a bucket using the console, tools, APIs, or SDKs.
Restrictions
1. One root account can create up to 200 buckets.
2. Once a bucket is created successfully, its name and region cannot be modified.
3. Bucket names under the same root account must be unique and cannot be changed.
4. A bucket name can contain letters, digits, and hyphens (-). The number of characters a bucket name is allowed to contain is limited by the length of the region abbreviation and APPID. The combined domain name can be up to 60 characters. For example, the domain name 123456789012345678901-1250000000.cos.ap-beijing.myqcloud.com
contains 60 characters. 5. A bucket name cannot start or end with "-".
Directions
Using COS console
Use tools such as COSBrowser and COSCMD to create a bucket. For more information, see Tool Overview. Using REST APIs
Use the REST API to initiate a bucket creating request. For more information, see PUT Bucket. Using SDKs
Directly call the bucket creating method in the SDK. For more information, see the SDK documentation for the corresponding programming language below:
Apakah halaman ini membantu?