Active Regions in Vultr CDN Push Zones allow you to specify the regions where your content is stored and delivered. With 32 global locations to choose from, this feature ensures that your data is readily available and served quickly from multiple edge servers, enhancing performance and reducing latency for users in those regions. By updating the active regions, you can optimize content delivery and improve the user experience across various geographic areas.
Follow this guide to update the active regions for a Vultr CDN Push Zone subscription on your Vultr account using the Vultr Customer Portal, API, or CLI.
Send a GET
request to the List CDN Push Zones endpoint and note the target Push Zone subscription's ID.
$ curl "https://api.vultr.com/v2/cdns/push-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 Push Zone endpoint to update the Push Zone regions.
$ curl "https://api.vultr.com/v2/cdns/push-zones/{pushzone-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}"
]
}'
List all available CDN Push Zone subscriptions and note the target Push Zone subscription's ID.
$ vultr-cli cdn push list
List all Vultr regions and note your target region ID.
$ vultr-cli regions list
Update the regions for the target Push Zone subscription.
$ vultr-cli cdn push update <pushzone-id> --regions "<region_1_id>,<region_2_id>,<region_3_id>"
No comments yet.