Amazon Simple Storage Service (S3) is one of the earliest cloud services provided by AWS. Through many years of development, the S3 protocol has become a standard in the object storage industry. Tencent Cloud Object Storage (COS) provides implementation methods compatible with S3; therefore, you can directly use COS in most of S3 applications. This document describes how to configure such applications with COS.
S3 Compatiblein its description can use COS in most cases. If you find that some of its features cannot work properly, please submit a ticket for assistance where you should indicate that you followed the steps in this document and provide information such as the application name and screenshots.
Amazon S3, it can use the S3 service, but whether it supports COS needs to be further confirmed in relevant configuration. Application support for COS will be described in detail in the "Basic configurations" section in this document.
(If you already have a Tencent Cloud account, you can ignore this step.)
(If you have already completed identity verification, you can ignore this step.)
For more information on how to verify your identity, please see Identify Verification Overview.
APPIDand access key
On the API Key Management page in the CAM Console, get and record the APPID, SecretId, and SecretKey.
Some applications have an in-built bucket creation procedure. If you want your application to create a bucket, you can ignore this step.
Most applications have similar configuration items when they are configured with a storage service. Common names and descriptions of these configuration items are as follows:
If you have any question during the configuration, please submit a ticket for assistance where you should indicate that you followed the steps in this document and provide information such as the application name and screenshots.
|Common Name of Configuration Item||Description|
|This indicates the storage type to be used by the application and may have the following options:
|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.||Here, enter the `SecretId` obtained in step 4.|
|Secret Key, Secret,
Secret Access Key, etc.
|Here, enter the `SecretKey` obtained in step 4.|
|Region, etc.||Select "Default", "Auto", or "Automatic" for this configuration item.|
|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
Some applications have more configuration items such as advanced configurations in addition to the aforementioned ones. Some COS features are further described below for you to better use COS in your application.
COS does not guarantee full compatibility with S3. If you have any question when using COS in your application, please submit a ticket for assistance where you should indicate that you followed the steps in this document and provide information such as the application name and screenshots.