Running Load Balancers
A load-balancer created via the CLI or dashboard must be run on a machine.
This is done the same way as with any other box.
The process described here is still very manual. Future versions of Dboxed will automate this process with the help of machine providers
Find the load-balancer boxes
First, use the dashboard or the CLI to find the boxes that were automatically created by the load balancer. These boxes are prefixed with the load-balancer name and suffixed with the replica index.
This means, if you create a load-balancer with the name my-lb with two replicas, you will see two boxes names
my-lb-1 and my-lb-2.
Choose a machine
You must use a machine that has inbound public connectivity. The ports used while creating the load-balancer (they default to 80/443) must be accessible and not be blocked by a firewall.
The machine should be (but doesn’t have to) located near the machines running the boxes that you want to expose, to avoid traffic going through unnecessary routes.
Run the boxes
To run these boxes, follow the instruction on normal boxes for instructions.