You can use Alibaba Cloud Content Delivery Network (CDN) to accelerate the delivery of static resources from an Object Storage Service (OSS) bucket. This topic describes how to enable Alibaba Cloud CDN to accelerate the delivery of resources from an OSS bucket in the OSS console and the scenarios where Alibaba Cloud CDN can be applied.
Prerequisites
-
Before you perform the tasks described in this document, make sure that you have completed account registration and real-name authentication with Alibaba Cloud.
- An OSS bucket is created and associated with a custom domain name. For more information, see Create buckets and Bind custom domain names.
Background information
Alibaba Cloud CDN works with a precise scheduling system. This system redirects requests for static resources to CDN nodes that are nearest to the clients. This mechanism enables efficient retrieval of requested resources and minimizes network congestion.

- All requests destined for the origin server are redirected to CDN nodes. This reduces the workloads on the origin server.
- Compared with data transfer between clients and OSS buckets over the Internet, data transfer between clients and CDN nodes is billed at a lower price rate.
- Clients retrieve static resources from the nearest CDN nodes. This minimizes the network transmission distance and ensures the quality of the retrieved resources.
The following section describes how to add a Canonical Name (CNAME) record in the Alibaba Cloud Domain Name System (DNS) console.
Procedure
What to do next
- To request OSS resources on a web page, include the accelerated domain name followed
by the file path that you want to access in the request. For example, if the accelerated
domain name is
mydomain.cn
and the file that you want to access is 123.jpg, which is under the root directory, the URL in the request ishttp://mydomain.cn/123.jpg
. - To request OSS resources from a client, specify the accelerated domain name as the OSS bucket domain name, and access the OS bucket through the accelerated domain name.