Motivation and requirements for this lab can be found @ https://hsekowski.blogspot.com/2020/03/via-haproxy-to-two-nginx-on-docker.html
Lab description:
You need to have following requirements fulfilled to be able to run this lab:
- Azure subscription that allows to create virtual machine (https://docs.microsoft.com/en-us/azure/virtual-machines/linux/quick-create-portal)
- Vagrant and VirtualBox installed on your PC.
This lab was prepared and tested with use of:
- Azure free account (https://azure.microsoft.com/free/)
- Vagrant 2.2.6 and VirtualBox 6.0.14 on macOS 10.15.3
Instruction:
- Find and execute run.sh script
- Open https://microsoft.com/devicelogin in web browser and enter code when you are asked ; you will need to provide your Azure account credentials as well
- During first attempt to connect Azure VM from vagrant VM, you'll be asked to confirm the connection. Type 'yes' and press Enter for each Azure VM
- Once script is completed, you get list of public addresses where static pages are hosted and for load balancer that proxyfies traffic using round robin rule