Vultr CDN Pull Zones streamline content delivery by automatically fetching content from your origin server and distributing it globally across Vultr's edge network, which spans 32 locations worldwide. This setup ensures that your content is delivered quickly and reliably to users regardless of their location. Additionally, Vultr CDN Pull Zones support custom domains, allowing you to serve content under your own branded domain while leveraging the performance and scalability of the CDN.
Follow this guide to provision Vultr CDN Pull Zones on your Vultr account, set up custom domains, and optimize content delivery using the Vultr Customer Portal, API, or CLI.
Send a POST
request to the Create CDN Pull Zones endpoint to create a CDN Pull Zone subscription.
HTTPS
origin scheme, you must provide a Domain-validated SSL/TLS certificate and the corresponding Private Key. However, for HTTP
origin scheme, these certificates are not required.
$ curl "https://api.vultr.com/v2/cdns/pull-zones" \
-X POST \
-H "Authorization: Bearer ${VULTR_API_KEY}" \
-H "Content-Type: application/json" \
--data '{
"label": "{label}",
"origin_scheme": "{http_or_https}",
"origin_domain": "{origin-domain}",
"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 Pull Zones endpoint to list all the available Vultr CDN Pull Zone subscriptions.
$ curl "https://api.vultr.com/v2/cdns/pull-zones" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
Create a CDN Pull Zone subscription.
$ vultr-cli cdn pull create \
--label "<label>" \
--scheme "<http_or_https>" \
--domain "<origin-domain>"
Run vultr-cli cdn pull 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 Pull Zone subscriptions.
$ vultr-cli cdn pull list
No comments yet.