tencent cloud

Feedback

Creating a Bucket

Last updated: 2024-03-25 15:28:24
    To store objects in COS, you first need to create a bucket using the console, tools, APIs, or SDKs.
    After creating a bucket, you can upload objects to it and configure other features for it, such as setting up a static website, setting bucket tags, and setting bucket encryption. For more configuration instructions, see Console Overview.

    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

    Create a bucket in the COS console. For more information, see Creating a Bucket.

    Using tools

    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:
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support