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, please see Creating Buckets.
Origin server type: Default type is default origin server, but 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, please see Enabling Origin-pull Authentication.
CDN service 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 service authorization are enabled, signature is not required for access to origin server via CDN, and cached resources in CDN will be distributed on the public network, which will affect data security. Therefore, we recommended you enable CDN authentication.
(1) Click Add domain name in the custom acceleration domain name module to add a filed custom domain name.
A maximum of 10 custom domain names can be added on the COS Console
Domain Name: Enter the custom domain name to be bound (e.g.
www.example.com). Ensure that the domain name has ICP filing, and a corresponding CNAME has been configured for the domain name with the DNS service provider. For more information, please 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 on the public network, which will affect data security. Therefore, we recommend 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, please see Overview.