Load balancing, simplified
Scale your applications and improve availability, security, and performance across your infrastructure in a few clicks.
Load Balancers are constantly monitored for availability and anomalies—any issues discovered are corrected automatically so your app always runs smoothly.
Automatically provision and renew SSL certificates free of charge through Let's Encrypt, and provide better performance for your users with HTTP/3.
Provisions in seconds and is easily managed through the Control Panel or API.
Automatically pass a client's IP address and port through to your Droplets.
Seamlessly add Load Balancers to your DigitalOcean Kubernetes cluster.
Get more flexibility—resize your Load Balancer when you need to and scale your apps with ease.
Now Generally Available: Network Load Balancer
With DigitalOcean's Network Load Balancer, you can efficiently route connections to Droplets and Containers within a Virtual Private Cloud (VPC) by leveraging IP-layer information, with lower latency and higher throughput.
The price DigitalOcean came back with was literally 20 to 30% cheaper than what we had been paying at AWS. That gave us a lot of motivation to explore who DigitalOcean is and what services they could provide for us
The prerequisite for any cloud provider is availability. If your platform isn't reliable and functioning at peak performance, it doesn't matter if your support is great or your prices are low. I'm confident in DigitalOcean's infrastructure, service level, and scale, and I'm willing to vouch for that
DevOps Manager
Origin
Load Balancers are a highly available, fully-managed service that work right out of the box and can be deployed as fast as a Droplet. Load Balancers distribute incoming traffic across your infrastructure to increase your application's availability, performance, and reliability at scale so you can be sure your Droplet runs smoothly at all times.
Load Balancers can be sized to suit your needs, and each node only costs $12 per month. Equipped with integrated Let's Encrypt SSL, provisioning, renewal, and support for HTTP/3, Load Balancers are incredibly easy to use and give your users exceptional performance.
## Create Load Balancer
curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" -d '{ "name": "lb-name", "region": "nyc3", "droplet_ids": [<DROPLET_ID1>], "forwarding_rules": [{ "entry_protocol": "http", "entry_port": 80, "target_protocol": "http", "target_port": 80 }] }' "https://api.digitalocean.com/v2/load_balancers"
## Add another droplet
curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer $TOKEN" -d '{ "droplet_ids": [<DROPLET_ID2>] }' "https://api.digitalocean.com/v2/load_balancers/<LB_UUID>/droplets"Create highly available setups with Load Balancers
Take any number of actions—including creating a new Load Balancer and adding Droplets to them through the API (Go and Ruby wrappers coming soon). Includes OAuth support.
An Introduction to DigitalOcean Load Balancers
How To Create Your First DigitalOcean Load Balancer
Get started for free
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.