-
Log into your DigitalOcean Account.
-
Click on Create > Droplets.
-
Set up the droplets as follows:
- Image: Arch Linux
- Plan: Choose your desired CPU and Memory plan.
- Region: SFO3
- SSH Keys: Add your SSH key.
- Tag: Add the tag "web" to both droplets.
-
Set the quantity to 2 and assign unique names (e.g.,
web01andweb02). -
Click Create Droplet and make note of the Public IPs for both droplets.
A load balancer is a system that distributes traffic to two or more servers to improve availability and reliability.
-
Navigate to the Load Balancer Creation Page on DigitalOcean.
-
Configure the load balancer:
- Choose a Balancer Type: Regional.
- Choose a datacenter region: San Francisco 3:
- Network Visibility: External (Public)
- Connect Droplets: web
-
Click Create Load Balancer and note the Public IP Address of the load balancer.