---
title: DDoS Protection
url: https://docs.vultr.com/products/compute/instances/cloud-compute/features/ddos-protection
description: Shields your Vultr Cloud Compute instance from distributed denial-of-service attacks with advanced traffic filtering.
publish_date: 2024-09-23T20:20:03.319448Z
last_updated: 2026-05-26T18:43:07.857306Z
---

# How to Enable DDoS Protection on a Vultr Cloud Compute Instance

Distributed Denial of Service (DDoS) protection enables traffic monitoring and prevents potential DDoS attacks to an instance. It activates a set of tools that detect and block network flooding attempts, ensuring the instance remains active and operational.

Follow this guide to enable DDoS protection on a Vultr Cloud Compute instance using the Vultr Console, or Terraform.

=== "Vultr Console"

    1. Navigate to **Products** and click **Compute**.
    1. Click your target Vultr Cloud Compute instance to open its management page.
    1. Navigate to the **DDoS** tab.
    1. Click **Enable DDoS Protection**.
    1. Click **Enable DDoS Protection** in the confirmation prompt to enable DDoS protection on your instance.

=== "Terraform"

    1. Open your Terraform configuration for the existing Cloud Compute instance.

    1. Enable DDoS protection in the instance resource.

        ```terraform
        resource "vultr_instance" "cc" {
            # ...existing fields (region, plan, os_id, label, etc.)

            ddos_protection = true
        }
        ```

    1. Apply the configuration and observe the following output:

        ```
        Apply complete! Resources: 0 added, 1 changed, 0 destroyed.
        ```
