The global acceleration feature of Tencent Cloud COS utilizes a load balancing system based on Tencent's global traffic scheduling to intelligently route and parse user requests and select the optimal network linkage for nearby access. Backed by globally deployed Tencent Cloud data centers, it allows users across the world to quickly access your buckets and improves your business access success rate for a higher business stability and smoother user experience.
At present, the global acceleration function has been launched to support public cloud regions inside and outside China. Financial cloud regions are not supported due to network isolation.
You can enable global acceleration in the COS Console or through APIs.
You can enable global acceleration for your buckets in the COS Console. For more information, please see Enabling Global Acceleration in console documentation.
You can directly use the following APIs to enable global acceleration:
After enabling global acceleration, you can access your COS files through two types of domain names:
<BucketName-APPID>.cos.<Region>.myqcloud.com. For more information, please see Regions and Access Domain Names.
Take the bucket
examplebucket-125000000 in Guangzhou as an example. If you have enabled global acceleration for it, when you need to upload the file
exampleObject.txt from Beijing to it, you can do so in the following two ways:
exampleBucket-125000000.cos.accelerate.myqcloud.com. When you upload the object through this domain name, COS will intelligently parse your request based on your network conditions and implement nearby access. For example, it will forward your request to the Beijing access layer and then transmit it to the Guangzhou storage layer via a private network Direct Connect line to accelerate data transfer.
examplebucket-125000000.cos.ap-guangzhou.myqcloud.com. When you upload the object through this domain name, your request will be directly forwarded to the Guangzhou access layer and then the Guangzhou storage layer. In this case, long public network linkage may lead to unstable transfer.
If you use global acceleration, fees will be incurred. Therefore, it is recommended that you carefully evaluate this feature based on your actual business needs:
- If your business has more writes (e.g., PUT Object, POST Object, and Multipart Upload) than reads and uploads data from a remote region to Tencent Cloud data centers, you are recommended to use a global acceleration domain name.
- If your business has more reads (e.g., GET Object) than writes and mainly involves file download, you are recommended to perform a comprehensive evaluation on the CDN-based access acceleration solution and select the option with the best cost performance.
- If your business mainly involves configuration operations or file extraction, you are recommended to use a default bucket domain name.
- If your business needs to access buckets over the private network or a direct connect line in the same region, you are recommended to use a default bucket domain name.
Below are precautions for using a global acceleration domain name: