How to Provision Vultr CDN Push Zones
-
by Blog Admin
- 9
How to Provision Vultr CDN Push Zones
The process of setting up and configuring a new server or service to make it ready for use.
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.
Vultr Customer Portal
- Navigate to Products, click CDN, and then click Push Zones.
- Click Add CDN Push Zone.
- Provide a Label.
- 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 Secret Key files.
- Click Add CDN Push Zone.
Vultr API
- Send a
POSTrequest to the Create CDN Push Zones endpoint to create a CDN Push Zone subscription.console$ 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
GETrequest to the List CDN Push Zones endpoint to list all the available Vultr CDN Push Zone subscriptions.console$ curl "https://api.vultr.com/v2/cdns/push-zones" \ -X GET \ -H "Authorization: Bearer ${VULTR_API_KEY}"
Vultr CLI
- Create a CDN Push Zone subscription.
console
$ vultr-cli cdn push create --label "<label>"
Run
vultr-cli cdn push create --helpto 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.
console
$ vultr-cli cdn push list
How to Provision Vultr CDN Push Zones The process of setting up and configuring a new server or service to make it ready for use. 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…
How to Provision Vultr CDN Push Zones The process of setting up and configuring a new server or service to make it ready for use. 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…