How to Provision Vultr CDN Push Zones (FAQs)

Updated on November 27, 2024

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
  • Vultr API
  • Vultr CLI
  1. Navigate to Products, click CDN, and then click Push Zones.

    Pushzone option in products sidebar

  2. Click Add CDN.

    Add CDN Button

  3. Provide a Label.

    Add a Label for Push Zone

  4. Optional: Enable features such as Cross-origin resource sharing (CORS), Gzip, Block AI Bots, and Block Potentially Malicious Bots.

    enable cdn features

  5. Optional: Provide a Custom Domain along with its Domain-validated Certificate(SSL/TLS) and Domain-validated Certificate Secret Key certificate files.

    Add a custom domain with certificate files

  6. Click Add CDN Push Zone.

    Button for CDN Push Zone Creation

  1. Send a POST request to the Create Push Zone endpoint to create a Push Zone service.

    console
    $ curl "https://api.vultr.com/v2/cdns/push-zones" \
        -X POST \
        -H "Authorization: Bearer ${VULTR_API_KEY}" \
        -H "Content-Type: application/json" \
        -d '{
                "label": "example-label",
                "vanity_domain": "<custom-vanity-domain>",
                "ssl_cert": "BASE64_ENCODED_SSL_CERT_CONTENT",
                "ssl_cert_key": "BASE64_ENCODED_SSL_CERT_CONTENT"
            }'
    

    Visit the Create Push Zone page to view additional attributes you can add to your request.

  2. Send a GET request to the List Push Zones to list all the available CDN Push Zone services.

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

    console
    $ vultr-cli cdn push create --label "example-label"
    

    Run vultr-cli cdn push create --help to view additional options you can apply on your instance.

  2. List all available CDN Push Zone services.

    console
    $ vultr-cli cdn push list