How to Provision Vultr CDN Pull Zones

Updated on April 3, 2025

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.

  • Vultr Customer Portal
  • Vultr API
  • Vultr CLI
  1. Navigate to Products, click CDN, and then click Pull Zones.
  2. Click Add CDN Pull Zone.
  3. Provide a Label and an Origin URL.
  4. Optional: Enable features such as Cross-Origin Resource Sharing (CORS), Gzip, Block AI Bots, and Block Potentially Malicious Bots.
  5. Optional: Provide a Custom Domain along with its Domain-validated Certificate(SSL/TLS) and Secret Key files. These files are only required if the Origin URL uses the HTTPS scheme.
  6. Click Add CDN Pull Zone.
  1. Send a POST request to the Create CDN Pull Zones endpoint to create a CDN Pull Zone subscription.

    Note
    When configuring a custom domain, for the 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.
    console
    $ 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
        }'
    
  2. Send a GET request to the List CDN Pull Zones endpoint to list all the available Vultr CDN Pull Zone subscriptions.

    console
    $ curl "https://api.vultr.com/v2/cdns/pull-zones" \
        -X GET \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    
  1. Create a CDN Pull Zone subscription.

    console
    $ 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.

  2. List all available CDN Pull Zone subscriptions.

    console
    $ vultr-cli cdn pull list
    

Comments

No comments yet.