Load balancers on Availability set

Arbina Inamdar 86 Reputation points
2022-01-25T11:27:43.047+00:00

When Load balancers are created on Virtual Machine scale set, do load balancers consider the VMs which are added as part of scale up.

For example, if the load balancers are configured on VM scaleset, now the VMs are added in the scale set, do the load balancers distribute the traffic among the newly added VMs automatically? Or this has to be handled manually?

Also if the new VM is added on Availability set, does the load balancer consider this newly added VM or we have to add this VM in load balancer manually?

Azure Load Balancer
Azure Load Balancer
An Azure service that delivers high availability and network performance to applications.
397 questions
Azure Virtual Machine Scale Sets
Azure Virtual Machine Scale Sets
Azure compute resources that are used to create and manage groups of heterogeneous load-balanced virtual machines.
343 questions
0 comments No comments
{count} votes

Accepted answer
  1. Alan Kinane 16,781 Reputation points MVP
    2022-01-25T15:56:23.323+00:00

    For VM scale set - yes, as you associate the scale set resource as the backend pool so this will get updated automatically as you scale out.

    https://learn.microsoft.com/en-us/azure/load-balancer/update-load-balancer-with-vm-scale-set#set-up-a-load-balancer-for-scaling-out-virtual-machine-scale-sets

    For availability sets, no this is for VM resiliency and as you must associate each individual VM nic with the Azure load balancer it will not automatically add new VM nics to the backend pool so this is manual.

    0 comments No comments

0 additional answers

Sort by: Most helpful