The global acceleration feature provided by Tencent Cloud Object Storage (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 buckets and improves application access success rate, allowing for greater business stability and a smoother user experience. In addition, COS's global acceleration also speeds up uploads and downloads.
- The global acceleration feature is now generally available and supported in all public cloud regions.
- Global acceleration currently does not support the CI feature.
- Using this feature incurs fees as request data transfers are accelerated via Direct Connect lines in the Tencent Cloud private network. For more pricing information, 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-1250000000 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-1250000000.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 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 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 that 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 that 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:
Business scenario 1
A user uses COS mainly to upload video files which require a high transmission success rate. If he/she uploads 1 GB of video data daily from his/her offices in Xinjiang and Singapore to his/her 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.
Business scenario 2
A user uses COS mainly to download video files that require a high transmission success rate. If he/she downloads 1 GB of video data daily from his/her office in Singapore to his/her bucket in Guangzhou, then 30-day fees will be charged as follows:
To sum up, the total download traffic fee is 8.4 USD (5.4 + 3 = 8.4).
The unit price for cross-border download acceleration is 0.18 USD/GB. If you use a global acceleration domain name to download files, public downstream traffic fees and global acceleration downstream traffic fees will be charged.