Configuring dedicated IP addressing of CDN resources
Warning
The dedicated IP addressing service is subject to the Yandex Cloud CDN pricing policy.
To get a dedicated IP address for CDN resources from a specific folder:
-
Make sure the folder you are requesting dedicated IP addressing for already contains at least one CDN resource.
-
Submit
a ticket to Yandex Cloud support.Specify the following:
- Service:
Cloud CDN. - Subject:
Dedicated IP addressing of CDN resources. - Ticket text: ID of the folder in question.
- Service:
-
After you get a response, in your ticket:
-
Confirm your consent to the dedicated IP addressing pricing policy.
-
Agree on the date and time of switching to dedicated IP addressing.
Alert
When dedicated IP addressing is being activated, you get a traffic balancing type update during which time your resources get no service. This takes up to 15 minutes.
-
Learn the dedicated public IP address that is going to be used for the folder’s CDN resources.
-
-
Optionally, to avoid the temporary unavailability of your content when activating dedicated IP addressing, redirect traffic from the Yandex Cloud CDN resources ahead of time, e.g., by routing it directly to the origin.
Note
When you are activating dedicated IP addressing and temporarily rerouting traffic from your CDN resource, the cached content is saved on the CDN servers.
To redirect traffic:
-
In your DNS hosting settings, change the CNAME record value from the one pointing to the Yandex Cloud CDN domain name to a temporary one, e.g., the origin’s FQDN:
Example of an original record:
cdn.example.com. CNAME e1b83ae3********.topology.gslb.yccdn.ruExample of an updated record:
cdn.example.com. CNAME <origin_FQDN>Tip
If you use Yandex Cloud DNS for DNS hosting, check out this guide.
-
Wait for the updated CNAME record to get propagated across DNS servers. This may take a few hours.
-
To make sure the CDN resource receives no more requests, check the resource statistics.
-
-
Wait until support informs you that dedicated IP addressing is activated. Check that the Yandex Cloud CDN domain name of your CDN resource has a dedicated IP address specified in the support ticket, e.g.:
host e1b83ae3********.topology.gslb.yccdn.ruResult:
e1b83ae3********.topology.gslb.yccdn.ru has address 188.72.111.11From this point on, you start paying for dedicated IP addressing.
-
If you had redirected traffic from your CDN resource, restore the original CNAME record.