Yandex Cloud CDN overview
Yandex Cloud CDN provides web service developers with a Content Delivery Network (CDN) functionality. The CDN servers located all over the world get content from your origins, cache the content, and deliver it to end clients on their request. This lets you decrease the load on origins and decrease content waiting time for the end user.
How CDN works
You host your content in origins. As an origin, you can use your server with a domain name, a Object Storage bucket, or an Application Load Balancer L7 network load balancer.
In Cloud CDN, you create a resource and specify in its settings the origins, domain names for content distribution, and other CDN settings.
Cloud CDN deploys CDN servers in many regions of the world and provides you with a domain name of the CDN Load Balancer that accepts requests and passes them to the servers. You must link this name to the domain names that you use for content distribution using the CNAME type of DNS records.
When the client requests a file using the domain name specified in the settings:
Depending on where the client is located on the web, the CDN load balancer determines the CDN server that can deliver the content the fastest, and sends a request to this server.
If the requested file is already cached on the selected CDN server, it's returned to the client right away. If the file is not cached, it is requested from one of the origins, cached (if caching on CDN servers is enabled), and also returned to the client.
Cloud CDN uses the following concepts:
|Resource||The main entity in the service that lets you configure and control content distribution from origins over the CDN.|
|Origins and origin groups||The servers that are origins of content. CDN servers access them to load files.|
|Exchanging data between clients and the CDN||Receiving client requests by the CDN load balancer and sending response data from CDN servers.|
|TLS certificates||Certificates used for HTTPS connections between clients and the CDN load balancer.|
|CORS||Cross-domain client requests to the CDN (cross-origin resource sharing).|
|Content compression||Sending GZIP files to clients.|
|Exchanging data between the CDN and origins||CDN server requests for files from origins and responses to them.|
|Content segmentation||Storing large files on CDN servers in parts.|
|Origin shielding||Using a shield server between CDN servers and origins to reduce origin load.|
|Content caching||Creating copies of files and storing them temporarily on CDN servers and/or at the client side.|
|Exporting logs||Exporting CDN and shielding server request logs to object storage.|
|Quotas and limits||Service use restrictions.|
See also the general resource hierarchy Yandex Cloud.