Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex Cloud CDN
  • Getting started
    • All guides
    • Connecting to a Cloud CDN provider
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes
  • Troubleshooting
  1. Step-by-step guides
  2. Connecting to a Cloud CDN provider

Connecting to a Cloud CDN provider

Written by
Yandex Cloud
Updated at May 13, 2025

You can only create a CDN resource and origin group in a folder if this folder is connected to a CDN provider. When connecting to a CDN provider, the folder gets a unique cname value you need to create CNAME resource records for CDN resources.

To connect a folder to a CDN provider and get a cname value:

Management console
CLI
API
  1. In the management console, select the folder to connect to a CDN provider.

  2. Select Cloud CDN.

  3. If the CDN provider is not activated yet, click Activate provider. A connection will be established automatically.

    If there is no Activate provider button, and you can create resources and origin groups, it means that the provider is already activated.

  4. The cname value for creating resource records for CDN resources is displayed in the following sections:

    • Domain names for content distribution when creating a CDN resource.
    • DNS settings on the CDN resource info page.

If you do not have the Yandex Cloud (CLI) command line interface yet, install and initialize it.

The folder specified when creating the CLI profile is used by default. To change the default folder, use the yc config set folder-id <folder_ID> command. You can specify a different folder using the --folder-name or --folder-id parameter.

  1. Connect to a provider:

    yc cdn provider activate --type gcore
    
  2. Get the CNAME record value for the CDN resource:

    yc cdn resource get-provider-cname
    

    Result:

    cname: cl-ms6*****90.edgecdn.ru
    folder_id: b1gt6g8ht345********
    

To connect to a provider, use the activate REST API method for the Provider resource or the ProviderService/Activate gRPC API call.

To get the cname value for a folder, use the getProviderCName REST API method for the Resource resource or the ResourceService/GetProviderCName gRPC API call.

Was the article helpful?

Previous
All guides
Next
Creating a resource
Yandex project
© 2025 Yandex.Cloud LLC