Load Balancer Quickstart
To follow along, you will need a DigitalOcean account. If you don’t already have one, you can register on the sign up page.
Create a Load Balancer
- From the Control Panel, click Create in the top right, and then Load Balancers.
- Choose a name, datacenter region, and forwarding rules. Make sure you choose the same datacenter region as any existing Droplets you want use in the backend.
- Click Create Load Balancer. This will take you from the main page to the root of your new Load Balancer.
Add and Remove Droplets
All backend Droplets must be in the same region as the Load Balancer.
- From the root of your Load Balancer, click Choose Droplets.
- You can choose the Droplets for the backend in two ways: manually or by using a tag. In the modal, select the Droplets or tag you want to use, then click Add Droplet.
The same Choose Droplets modal also lets you remove Droplets from the backend pool and change or remove the tag, if you’re using one.
Use SSL Certificates
Existing certificates, both Let’s Encrypt and custom, appear in the Certificate dropdown list. You can assign any existing certificates in the HTTPS and HTTP/2 forwarding rules.
To delete an existing certificate:
- Open your User menu.
- Click Settings.
- Click Security.
- In the Certificates section, open the More menu.
- Click Delete.
Note that when a certificate is in use, it cannot be deleted. You can delete the forwarding rule or edit it so that it no longer uses the certificate, then return to the Certificates tab and delete it.
Delete a Load Balancer
- From the root of your Load Balancer, click the Settings tab.
- Click the red Destroy button in the bottom right, then the red Confirm button.
The Droplets associated with your Load Balancer will stop receiving distributed traffic, but the Droplets themselves will not be destroyed.