HA Proxy VM
Configure HAProxy VM
-
SSH to HAProxy VM using the VSCode > Terminal
-
Install HAProxy
-
Configure HAProxy
Edit configurations:
Replace or append:
-
Enable and Restart HAProxy
-
Verify status:
8. Firewall Rules (If Enabled)
Validation
-
Test Load Balancing
Open a browser to point to your HAProxy VM IP.
Refresh multiple times — requests should alternate between frontend servers.