I’m going to start by saying that I totally missed that the setting of distribution mode on Azure’s Internal Load Balancer (ILB) service is possible. This is mostly because you don’t set the distribution mode at the ILB level – you set it at the Endpoint level (which in hindsight makes sense because that’s how you do it for the public load balancing too).
There is an excellent blog on the Azure site that covers distribution modes for public load balancing and the good news is that they also apply to internal load balancing as well. Let’s take a look.
In the example below we’ll use the following parameters:
- Cloud Service: apptier
- Two VMS: apptier01, apptier02
- VNet subnet with name of ‘appsubnet’
- load balancer with static IP address of 192.168.1.25
- balances HTTP traffic based on Source and Destination IP.
Here’s the PowerShell to achieve this…
View original post 2 more words