How to Enable AI Bot Blocking for Vultr CDN Push Zones

Updated on November 27, 2024

AI Bot Blocking in Vultr CDN Push Zones helps protect your content by preventing unwanted AI bots from accessing your site. This feature ensures that your bandwidth is used efficiently by real users, safeguarding your site from harmful traffic and potential abuse. By enabling AI bot blocking, you maintain optimal performance and security for your content delivery.

Follow this guide to enable the AI bot blocking feature for 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 your target CDN Push Zone service.

    Selection of a target Push Zone service

  3. Click Features.

    Button for feature management portal

  4. Select block_ai and click Update Features.

    Button for Blocking AI Bots

  1. Send a GET request to the List Push Zones endpoint and note the target Push Zone service's ID.

    console
    $ curl "https://api.vultr.com/v2/cdns/push-zones" \
        -X GET \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    
  2. Send a PUT request to the Update Push Zone to enable block_ai feature in your target Push Zone feature.

    console
    $ curl "https://api.vultr.com/v2/cdns/push-zones/014d61f2-e670-4ff5-b789-d749207e722f" \
        -X PUT \
        -H "Authorization: Bearer ${VULTR_API_KEY}" \
        -H "Content-Type: application/json" \
        -d '{
            "block_ai": true
    }'
    
  1. List all available CDN Push Zone services and note the target Push Zone service's ID.

    console
    $ vultr-cli cdn push list
    
  2. Enable block_ai feature in your target Push Zone service.

    console
    $ vultr-cli cdn push update --block-ai <pushzone-id>