Active Regions in Vultr CDN function as dedicated Pull Zones that dynamically cache and distribute content across selected regions for optimal delivery. With 32 global locations to choose from, you can ensure that your content is efficiently delivered to users around the world. By updating the active regions, you can improve performance and tailor content distribution to better serve different geographic areas.
Follow this guide to update the active regions for a Vultr CDN Pull Zone subscription on your Vultr account using the Vultr Customer Portal or API.
Send a GET
request to the List CDN Pull Zones endpoint and note the target Pull Zone subscription's ID.
$ curl "https://api.vultr.com/v2/cdns/pull-zones" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
Send a GET
request to the List Regions endpoint and note your target region ID.
$ curl "https://api.vultr.com/v2/regions" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
Send a PUT
request to the Update CDN Pull Zone endpoint to update the Pull Zone regions.
$ curl "https://api.vultr.com/v2/cdns/pull-zones/{pullzone-id}" \
-X PUT \
-H "Authorization: Bearer ${VULTR_API_KEY}" \
-H "Content-Type: application/json" \
--data '{
"regions": [
"{region_1_id}",
"{region_2_id}",
"{region_3_id}"
]
}'
No comments yet.