Vultr CDN Push Zones allow you to directly upload your content to the CDN, which is then stored on Vultr's edge servers for rapid delivery to users around the world. With 32 global locations available, you can ensure that your content is served quickly and efficiently from the nearest edge server. Additionally, Push Zones support custom domain functionality, enabling you to serve content under your own branded domain while leveraging the performance and scalability of Vultr’s CDN.
Follow this guide to provision Vultr CDN Push Zones on your Vultr account using the Vultr Customer Portal, API, or CLI.
Send a POST
request to the Create CDN Push Zones endpoint to create a CDN Push Zone subscription.
$ curl "https://api.vultr.com/v2/cdns/push-zones" \
-X POST \
-H "Authorization: Bearer ${VULTR_API_KEY}" \
-H "Content-Type: application/json" \
--data '{
"label": "{label}",
"vanity_domain": "{custom-vanity-domain}",
"ssl_cert": {BASE64_ENCODED_SSL_CERT_CONTENT}",
"ssl_cert_key": "{BASE64_ENCODED_SSL_KEY_CONTENT}",
"cors": false,
"gzip": false,
"block_ai": false,
"block_bad_bots": false
}'
Send a GET
request to the List CDN Push Zones endpoint to list all the available Vultr CDN Push Zone subscriptions.
$ curl "https://api.vultr.com/v2/cdns/push-zones" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
Create a CDN Push Zone subscription.
$ vultr-cli cdn push create --label "<label>"
Run vultr-cli cdn push create --help
to view additional options for enabling features like Cross-Origin Resource Sharing (CORS), Gzip, Block AI Bots, and Block Potentially Malicious Bots.
List all available CDN Push Zone subscriptions.
$ vultr-cli cdn push list
No comments yet.