Load balancing with lxc containers
This configuration of software demonstrates the Round Robin principle of a load balancer
- Two webservers provided by Nginx
- Haproxy as the Load Balancer
- Ansible for configuration mangmnent
Dependencies
LXD & Ansible
1. Clone the repo
git clone https://github.com/micrometreuk/haproxy.git
2. Change to the directory
cd haproxy
3. Creating the containers and provisioning required software within them.
make containers
4. Destroy the demo enviroment Once you are finished with this demonstration.
make unmake
Installation Validation Test
You should see somthing displayed similar to the below: