tencent cloud


Creating a Bucket

Terakhir diperbarui:2022-04-30 20:16:02

    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.


    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 "-".


    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:

    Hubungi Kami

    Hubungi tim penjualan atau penasihat bisnis kami untuk membantu bisnis Anda.

    Dukungan Teknis

    Buka tiket jika Anda mencari bantuan lebih lanjut. Tiket kami tersedia 7x24.

    Dukungan Telepon 7x24