The Tencent Cloud COS global acceleration feature 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 buckets and improves application access success rate, allowing for greater business stability and a smoother user experience. In addition, it can also accelerate data uploads and downloads.
- The global acceleration feature is now generally available and supported in all public cloud regions. However, it is not supported in finance cloud regions due to network isolation.
- Using this feature incurs fees as request data transfers are accelerated through Direct Connect lines in the Tencent Cloud private network. For more pricing information, please see Product Pricing.
You can enable global acceleration on the COS Console or through APIs.
You can enable global acceleration for your buckets on the COS Console. For more information, please see Enabling Global Acceleration in the 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 endpoint domain names:
<BucketName-APPID>.cos.<Region>.myqcloud.com. For more information, please see Regions and Access Domain Names.
Take the bucket
examplebucket-125000000 in the Guangzhou region as an example. If you have enabled global acceleration, you can upload the file
exampleObject.txt from the Beijing region to your current bucket in the Guangzhou region in the following two ways:
exampleBucket-125000000.cos.accelerate.myqcloud.com. When you upload the object through this endpoint 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 transfer it to the Guangzhou storage layer through a private network Direct Connect line to accelerate data transfer.
examplebucket-125000000.cos.ap-guangzhou.myqcloud.com. When you upload the object through this endpoint 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, we recommend you carefully evaluate whether to use this feature with your actual business needs in mind:
- If your business has more writes (e.g.,
POST Object, and
Multipart Upload) than reads and uploads data to Tencent Cloud data centers from a remote region, we recommend using a global acceleration endpoint domain name.
- If your business has more reads (e.g.,
GET Object) than writes and mainly involves file download, we recommend you perform a comprehensive evaluation of 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, we recommend using the default bucket endpoint domain name.
- If your business needs to access buckets over a private network or through a Direct Connect line within the same region, we recommend using the default bucket endpoint domain name.
We have outlined below some important factors to note when using a global acceleration endpoint domain name:
Uploading data or accessing a bucket by using a global acceleration endpoint domain name will incur fees calculated by the day. For more information, please see Billing Overview and Product Pricing. The following example compares billing between a global acceleration endpoint domain name and a default endpoint domain name:
You use COS mainly to upload video files which require a high transfer success rate. If you upload 1 GB of video data daily from your offices in Xinjiang and Singapore to your bucket in Guangzhou, then 30-day fees will be charged as follows:
Upload traffic fees within the Chinese mainland are charged at 0.07 USD/GB, while those outside the Chinese mainland are charged at 0.18 USD/GB when an acceleration endpoint domain name is used. Uploads with a default bucket endpoint domain name do not incur fees.