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, configure custom domains, and optimize content delivery using the Vultr Customer Portal, API, or CLI.
Navigate to Products, click CDN, and then click Pull Zones.
Click Add CDN Pull Zone.
Provide a Label and an Origin URL.
Optional: Enable features such as Cross-origin resource sharing (CORS), Gzip, Block AI Bots, and Block Potentially Malicious Bots.
Optional: Provide a Custom Domain along with its Domain-validated Certificate(SSL/TLS) and Domain-validated Certificate Secret Key certificate files, these files are only required if the origin URL uses an HTTPS scheme.
Click Add CDN Pull Zones.
Send a POST
request to the Create Pull Zones endpoint to create CDN Pull Zones service.
http
for origin-scheme
, to use https
as origin-scheme
and vanity-domain
together you will need to use ssl_cert
and ssl_cert_key
flags and provide certificate files.
$ curl "https://api.vultr.com/v2/cdns/pull-zones" \
-X POST \
-H "Authorization: Bearer ${VULTR_API_KEY}" \
-H "Content-Type: application/json" \
-d '{
"label": "example-label",
"origin_scheme": "http",
"origin_domain": "<origin-domain>",
"vanity_domain": "<custom-vanity-domain>"
}'
Visit the Create Pull Zone page to view additional attributes you can add to your request.s
Send a GET
request to the List Pull Zones endpoint to list all the available CDN Pull Zone services.
$ curl "https://api.vultr.com/v2/cdns/pull-zones" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
Create CDN Pull Zone service.
$ vultr-cli cdn pull create \
--label "example-label" \
--scheme "https" \
--domain "example.com"
Run vultr-cli cdn pull create --help
to view additional options you can apply on your instance.
List all available CDN Pull Zone services.
$ vultr-cli cdn pull list