---
id: "digitalocean-load-balancer"
type: "component"
kind: "load-balancer"
provider: "digitalocean"
category: "edge"
docs: "https://docs.digitalocean.com/products/networking/load-balancers/"
url: "https://localhost:3000/catalogue/components/digitalocean-load-balancer"
---

# DigitalOcean Load Balancers

Managed regional or global balancer that health-checks backends and terminates or passes through TLS.

| | |
|---|---|
| Provider | [digitalocean](https://localhost:3000/catalogue?provider=digitalocean) |
| Kind | [Load balancer](https://localhost:3000/catalogue/kinds/load-balancer) |
| Category | Edge |
| Official docs | [https://docs.digitalocean.com/products/networking/load-balancers/](https://docs.digitalocean.com/products/networking/load-balancers/) |

## Properties

| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| `connectionPreserving` (advanced) | boolean | — | no | false | inherited |
| `global` | boolean | — | no | false | **false** |
| `hashing` | enum | `round-robin`, `least-connections`, `ecmp`, `maglev`, `consistent`, `random` | no | "round-robin" | inherited |
| `healthChecks` | boolean | — | no | true | **true** |
| `instances` | integer | — | no | — | inherited |
| `layer` | enum | `l4`, `l7` | no | "l7" | **"l7"** |
| `managed` | boolean | — | no | false | **true** |
| `maxBackendDropletsByName` | integer | — | no | 10 | inherited |
| `maxForwardingRules` | integer | — | no | 40 | inherited |
| `requestsPerSecondPerNode` | integer | — | no | 10000 | inherited |
| `scope` | enum | `regional`, `global` | no | "regional" | inherited |
| `sslMode` | enum | `termination`, `passthrough` | 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 · 34

- [Server Load Balancer](https://localhost:3000/catalogue/components/alibaba-slb.md) `alibaba-slb` — alibabacloud
- [AWS Application Load Balancer](https://localhost:3000/catalogue/components/alb.md) `alb` — aws
- [AWS Classic Load Balancer](https://localhost:3000/catalogue/components/aws-classic-load-balancer.md) `aws-classic-load-balancer` — aws
- [AWS Global Accelerator](https://localhost:3000/catalogue/components/aws-global-accelerator.md) `aws-global-accelerator` — aws
- [AWS Gateway Load Balancer](https://localhost:3000/catalogue/components/aws-gwlb.md) `aws-gwlb` — aws
- [AWS Network Load Balancer](https://localhost:3000/catalogue/components/nlb.md) `nlb` — aws
- [Azure Application Gateway](https://localhost:3000/catalogue/components/azure-application-gateway.md) `azure-application-gateway` — azure
- [Application Gateway for Containers](https://localhost:3000/catalogue/components/azure-application-gateway-for-containers.md) `azure-application-gateway-for-containers` — azure
- [Azure Load Balancer](https://localhost:3000/catalogue/components/azure-load-balancer.md) `azure-load-balancer` — azure
- [Cloudflare Load Balancing](https://localhost:3000/catalogue/components/cloudflare-load-balancing.md) `cloudflare-load-balancing` — cloudflare
- [Cloudflare Spectrum](https://localhost:3000/catalogue/components/cloudflare-spectrum.md) `cloudflare-spectrum` — cloudflare
- [Apache HTTP Server](https://localhost:3000/catalogue/components/apache-httpd.md) `apache-httpd` — default
- [BFE](https://localhost:3000/catalogue/components/bfe.md) `bfe` — default
- [Caddy](https://localhost:3000/catalogue/components/caddy.md) `caddy` — default
- [Contour](https://localhost:3000/catalogue/components/contour.md) `contour` — default
- [Envoy](https://localhost:3000/catalogue/components/envoy.md) `envoy` — default
- [F5 BIG-IP](https://localhost:3000/catalogue/components/f5-big-ip.md) `f5-big-ip` — default
- [HAProxy](https://localhost:3000/catalogue/components/haproxy.md) `haproxy` — default
- [Keepalived](https://localhost:3000/catalogue/components/keepalived.md) `keepalived` — default
- [Generic load balancer](https://localhost:3000/catalogue/components/load-balancer.md) `load-balancer` — default
- [Load balancer](https://localhost:3000/catalogue/components/load-balancer-tier.md) `load-balancer-tier` — default
- [loxilb](https://localhost:3000/catalogue/components/loxilb.md) `loxilb` — default
- [MetalLB](https://localhost:3000/catalogue/components/metallb.md) `metallb` — default
- [NGINX](https://localhost:3000/catalogue/components/nginx.md) `nginx` — default
- [Traefik](https://localhost:3000/catalogue/components/traefik.md) `traefik` — default
- [Google Cloud Load Balancing](https://localhost:3000/catalogue/components/google-cloud-load-balancing.md) `google-cloud-load-balancing` — gcp
- [IBM Cloud Load Balancer for VPC](https://localhost:3000/catalogue/components/ibm-load-balancer.md) `ibm-load-balancer` — ibm
- [Kubernetes Gateway](https://localhost:3000/catalogue/components/k8s-gateway.md) `k8s-gateway` — k8s
- [Ingress](https://localhost:3000/catalogue/components/k8s-ingress.md) `k8s-ingress` — k8s
- [Service](https://localhost:3000/catalogue/components/k8s-service.md) `k8s-service` — k8s
- [OCI Load Balancer](https://localhost:3000/catalogue/components/oci-load-balancer.md) `oci-load-balancer` — oci
- [Network Load Balancer](https://localhost:3000/catalogue/components/oci-network-load-balancer.md) `oci-network-load-balancer` — oci
- [OpenStack Octavia](https://localhost:3000/catalogue/components/openstack-octavia.md) `openstack-octavia` — openstack
- [Load Balancer Unit (LBU)](https://localhost:3000/catalogue/components/outscale-lbu.md) `outscale-lbu` — outscale

## Use it in a design

```yaml
nodes:
  - { id: "digitalocean-load-balancer", component: "digitalocean-load-balancer" }
```

## Source (`component` YAML, verbatim)

```yaml
# yaml-language-server: $schema=../../schema/component.schema.json
# DigitalOcean Load Balancer: a "fully managed, highly available" balancer that spreads traffic
# over backend resources, regional or global ("Load Balancers"). "Load Balancer Features": HTTP,
# HTTPS, HTTP/2 and HTTP/3 with SSL termination or passthrough, TCP and UDP on network load
# balancers, cookie-based sticky sessions as an option, and automatic health monitoring that
# removes and restores backends; the distribution algorithm spreads connections "as equally as
# possible" rather than round robin or least connections. "Load Balancer Limits": 40 forwarding
# rules, 10 backend Droplets added by name, 10,000 requests per second per node.
schemaVersion: "1"
type: "component"
id: "digitalocean-load-balancer"
kind: "load-balancer"
provider: "digitalocean"
docs: "https://docs.digitalocean.com/products/networking/load-balancers/"
defaults:
  managed: true
  layer: "l7"
  healthChecks: true
  global: false
properties:
  scope:
    type: "enum"
    values: ["regional", "global"]
    default: "regional"
  sslMode:
    type: "enum"
    values: ["termination", "passthrough"]
  maxForwardingRules:
    type: "integer"
    default: 40
  maxBackendDropletsByName:
    type: "integer"
    default: 10
  requestsPerSecondPerNode:
    type: "integer"
    default: 10000
```

Human page: https://localhost:3000/catalogue/components/digitalocean-load-balancer
