Load Balancing
Easily scale your applications and improve infrastructure availability, security, and performance.
Easily Scale Your Applications
DigitalOcean's load balancers ensure traffic is evenly distributed across your infrastructure, improving application availability and helping you deliver excellent experiences to your customers
Higher Availability and Better Performance
Load balancers continuously monitor availability and anomalies, automatically correcting any issues to ensure your applications always run smoothly
Let's Encrypt and HTTP/3
Automatically provision and renew SSL certificates for free through Let's Encrypt, providing better performance for users with HTTP/3
Simple Setup
Provision resources in seconds and easily manage through control panel or API
Proxy Protocol Support
Automatically pass client IP addresses and ports to your Droplets
Kubernetes Compatible
Seamlessly add load balancers to your DigitalOcean Kubernetes clusters
Adjust On Demand
Get more flexibility — adjust load balancers when needed and easily scale your applications
Simple Deployment and Management
Load Balancers are a highly available, fully managed service that can be used immediately and deployed as quickly as Droplets. Load Balancers distribute incoming traffic evenly across your infrastructure to improve your application's availability, performance, and reliability at scale, ensuring your Droplets run smoothly at all times
Deploy Load Balancers for Only $12/Month
Load Balancers can be adjusted to your needs, with each node costing only $12/month. Equipped with integrated Let's Encrypt SSL, provisioning, renewal, and HTTP/3 support, Load Balancers are easy to use and provide excellent performance for your users.
每月 12 美元/节点
从一个节点开始,最多可添加 100 个节点,根据需要增加或删除节点。
每个负载均衡节点的容量
10,000
每秒请求数
10,000
并发数
250
SSL 每秒连接数
以编程方式控制您的负载均衡器
通过 API 以简单、程序化的方式管理负载均衡器
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"使用负载均衡器创建高可用设置 可以执行多种操作,包括通过 API 创建新的负载均衡器,并向其添加 Droplets(Go 和 Ruby 封装器即将推出)。支持 OAuth。
Get Started Quickly
Migration assistance, pricing consultation, solution design. We have certified product experts ready to help.
