Amazon Simple Storage Service (S3) is one of the earliest cloud services launched by AWS. After many years of development, the S3 protocol has become a de facto standard in the object storage field. Tencent Cloud Object Storage (COS) provides an S3-compatible implementation scheme, so you can directly use the COS service in most S3-compatible applications. This document describes how to configure such applications to use COS.
S3 Compatiblein its description can use COS in most cases. If you find that some of its features cannot work properly, contact us for assistance, and be sure to indicate that you followed the steps in this document and provide information such as the application name and screenshots.
Amazon S3is supported, it means that the application can use the S3 service, but whether it can use COS needs to be further evaluated in relevant configurations as detailed below.
(If you already have a Tencent Cloud account, skip this step.)
(If you have already done so, skip this step.)
For more information on how to verify your identity, see Identity Verification Guide.
Get and note down the APPID, SecretId, and SecretKey on the API Key page in the CAM console.
Create a COS bucket as instructed in Creating a Bucket.
Some applications have a built-in process for creating buckets. If you want such applications to create buckets, skip this step.
Most applications have similar configuration items for using a storage service. The common names and descriptions of these configuration items are as listed below:
If you have any questions during the configuration, contact us for assistance, and be sure to indicate that you followed the steps in this document and provide information such as the application name and screenshots.
|Common Configuration Item Name||Description|
|Provider, service provider, storage service provider, storage provider, etc.||Select which storage service the application should use. There may be the following cases:
|Service endpoint, service address, service URL, endpoint, custom endpoint, server URL, etc.||This indicates the address of an S3-compatible service. If you use COS, enter the COS service address here in the format of
In the application, you can only create or select a bucket in the region specified in the service address.
|Access key, access key ID, etc.||Enter the SecretId obtained in step 4.|
|Secret key, secret, secret access key, etc.||Enter the SecretKey obtained in step 4.|
|Region, etc.||Select "Default", "Auto", or "Automatic".|
|Bucket, etc.||You can select or enter the name of an existing bucket in the format of
As described above, the bucket must be in the region specified by the service address, and buckets in other regions will not be listed or cannot work properly. If you need to create a bucket, the name of the new bucket should be in the format of
In addition to the above basic configuration items, some applications have other advanced configuration items. The following describes some COS features for you to better use COS in such applications.
COS does not guarantee full compatibility with S3. If you have any questions when using COS in your application, contact us for assistance, and be sure to indicate that you followed the steps in this document and provide information such as the application name and screenshots.