This document describes how to accelerate access to resources in COS through CDN in the COS console.
For more information on how to create a bucket, see Creating Buckets.
Origin Server Type: It is set to default origin server. If you have enabled static website for the origin server bucket and want to accelerate content delivery for the static website, select static website origin server.
Origin-pull Authentication: For public-read buckets, origin-pull authentication does not need to be enabled. For private-read buckets, CDN service authorization must be added and origin-pull authentication must be enabled manually. For more information, see Enabling Default CDN Acceleration Domain Names.
CDN Authorization: Click Add CDN Service Authorization to select and grant CDN access to resources in the bucket.
(3) After completing the configuration, click Save to activate CDN acceleration.
For private-read buckets, if both origin-pull authentication and CDN authorization are enabled, signature is not required for access to origin server via CDN, and cached resources in CDN will be distributed over the public network, which will affect data security. Therefore, we recommend that you enable CDN authentication.
(1) Click Add domain name in the Custom CDN Acceleration Domain module to add a filed custom domain name.Note：
A maximum of 10 custom domain names can be added in the COS console.
Domain: Enter the custom domain name to be bound (e.g.
www.example.com). Ensure that the domain name has an ICP filing, and a corresponding CNAME has been configured at the DNS service provider. For more information, see CNAME Configuration.
Origin-pull Authentication: for private-read buckets, please manually enable origin-pull authentication to protect the origin server.
After completing the configuration, click Save.
For private-read buckets, if both origin-pull authentication and CDN service authorization are enabled, signature is not required for access to origin server via CDN, and cached resources in CDN will be distributed over the public network, which will affect data security. Therefore, we recommend that you enable CDN authentication.
(3) After the configuration is saved, CDN authentication switch will be displayed in the CDN Authentication column. You can manually enable CDN authentication for the custom domain name.
CDN Authentication: Timestamp authentication can be configured to prevent stealing by malicious users. You can enable the feature after adding the domain name.
For more information on how to configure CDN acceleration in the COS console, see Domain Name Management Overview.