---
id: "digitalocean-ddos-protection"
type: "component"
kind: "ddos-protection"
provider: "digitalocean"
category: "security"
docs: "https://docs.digitalocean.com/platform/ddos-protection/"
url: "https://localhost:3000/catalogue/components/digitalocean-ddos-protection"
---

# DigitalOcean DDoS Protection

Always-on layer 3 and 4 attack mitigation applied to every provisioned resource.

| | |
|---|---|
| Provider | [digitalocean](https://localhost:3000/catalogue?provider=digitalocean) |
| Kind | [DDoS protection plan](https://localhost:3000/catalogue/kinds/ddos-protection) |
| Category | Security |
| Official docs | [https://docs.digitalocean.com/platform/ddos-protection/](https://docs.digitalocean.com/platform/ddos-protection/) |

## Properties

| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| `adaptiveThresholds` | boolean | — | no | — | inherited |
| `alwaysOn` | boolean | — | no | — | **true** |
| `blackholeOnCapacity` | boolean | — | no | true | inherited |
| `layer7Protection` | boolean | — | no | false | inherited |
| `managed` | boolean | — | no | false | **true** |
| `protectedResourceCount` | integer | — | no | — | inherited |
| `scope` | enum | `network`, `application`, `both` | no | — | **"network"** |
| `telemetry` | boolean | — | no | — | inherited |

Bold values are the ones this component pins.

## Rules that apply · 0

No rule selects this kind or its category.

## Other products of the same kind · 10

- [Anti-DDoS Origin](https://localhost:3000/catalogue/components/alibaba-anti-ddos-origin.md) `alibaba-anti-ddos-origin` — alibabacloud
- [Anti-DDoS Pro](https://localhost:3000/catalogue/components/alibaba-anti-ddos-pro.md) `alibaba-anti-ddos-pro` — alibabacloud
- [Game Shield](https://localhost:3000/catalogue/components/alibaba-game-shield.md) `alibaba-game-shield` — alibabacloud
- [AWS Shield](https://localhost:3000/catalogue/components/aws-shield.md) `aws-shield` — aws
- [Azure DDoS Protection](https://localhost:3000/catalogue/components/azure-ddos-protection.md) `azure-ddos-protection` — azure
- [Cloudflare DDoS Protection](https://localhost:3000/catalogue/components/cloudflare-ddos-protection.md) `cloudflare-ddos-protection` — cloudflare
- [Cloudflare Magic Transit](https://localhost:3000/catalogue/components/cloudflare-magic-transit.md) `cloudflare-magic-transit` — cloudflare
- [Generic DDoS protection plan](https://localhost:3000/catalogue/components/ddos-protection.md) `ddos-protection` — default
- [NETSCOUT Arbor DDoS](https://localhost:3000/catalogue/components/netscout-arbor.md) `netscout-arbor` — default
- [Radware DefensePro](https://localhost:3000/catalogue/components/radware-defensepro.md) `radware-defensepro` — default

## Use it in a design

```yaml
nodes:
  - { id: "digitalocean-ddos-protection", component: "digitalocean-ddos-protection" }
```

## Source (`component` YAML, verbatim)

```yaml
# yaml-language-server: $schema=../../schema/component.schema.json
# DigitalOcean DDoS protection: "free, always-on protection from distributed denial-of-service
# (DDoS) attacks" that "requires no configuration" ("DDoS Protection"). It covers the network
# (layer 3) and transport (layer 4) layers only, not layer 7, and applies automatically to
# Droplets, Kubernetes clusters, managed databases, load balancers and reserved IPs from the
# moment they are provisioned. Past mitigation capacity the target address is blackholed.
schemaVersion: "1"
type: "component"
id: "digitalocean-ddos-protection"
kind: "ddos-protection"
provider: "digitalocean"
docs: "https://docs.digitalocean.com/platform/ddos-protection/"
defaults:
  managed: true
  scope: "network"
  alwaysOn: true
properties:
  layer7Protection:
    type: "boolean"
    default: false
  blackholeOnCapacity:
    type: "boolean"
    default: true
```

Human page: https://localhost:3000/catalogue/components/digitalocean-ddos-protection
