- Created 2 Ubuntu VMs in same availability Set, region, virtual network with apache2 installed.
- Renamed the index.html of both the VMs to: "This is VM1", "This is VM2".
- Created Internal Load Balancer with the below Configuration:
- Front End IP Configuration: Same VNet, Dynamic Assignment, Zone-Redundant as Availability Zone
- Back End Pool: Selected 2 VMs on the bepool
- Health Probe: TCP Protocol, Port 80
- Load Balancing Rule: TCP - 443 Port, Selected the created bepool and health probe, TCP Reset - Enabled, Idle Time out - 4 minutes
- Inbound NAT Rules - Same as LB Rule but the port is 80.
The Problem is: When I copy the Front End IP of the Load Balancer and pasting in the browser, it is not showing any output like:
On VM Side, I have enabled the ports 80, 443, and 22 in the NSG for both of the VMs.
If that output comes, then I can hit the refresh page many times to see the load is distributing between the two VMs that shows "This is VM1" from VM2.