The Internal Load Balancer is an Azure Load Balancer that has only an internal-facing Virtual IP. This essentially means users cannot apply an Internal Load Balancer to balance a traffic load coming from the Internet to internal input endpoints.
The Internal Load Balancer implements load balancing only for virtual machines connected to an internal Azure cloud service or a virtual network.
Internal load balancer directs traffic only to resources that are inside a virtual network or that use a vpn to access Azure infrastructure.
Create a Virtual network named (myvnet).Now Create new Load Balancer.
Now Go-to Health prob and add new health prob with it's required information.
Now go-to Load balancing rule and add new load balancing rule.
Now go to vm1 and vm2 server and create index.html file in wwwroot directory. you can write some content in index.html file. I have written server name (vm1 and vm2)
Now we need to test load balancer. So here we are testing internal load balancer. for this we will send request from any VM in same network.
First copy the private Ip of load balancer (10.0.0.7).
Take rdp of vm3 and open IE browser. now paste the ip of load balancer in IE browser and hit enter button.
0 comments:
Post a Comment