I am very much new to Microsoft Azure. I am using using Azure Portal in web browser to set up my application.
I followed the following procedure to load balance my tomcat applications.
- I created two VMs with Ubuntu (16.0.X) in the same availability set.
- In both the VMs I changed the network security group to make sure both are externally accessible.
- I downloaded tomcat 7 on each of the VMs using wget and deployed my war file on each of them.
- Tested with browser and ensured that application is accessible externally from each of the VMs.
Now I tried to load balance the above two VMs :
- Created a new load balancer in microsoft azure portal.
- Attached both the VMs as backend pool to the load balancer.
- Created a probe to check for application on port 8080
- Set up a load balancing rule to allow all TCP traffic on port 8080 to the VMs 8080.
However, Now when I try to connect to the load balancer using the port 8080 and the public IP . I get connection timeout error.
Is there anything which I have missed in the setup?