Azure load balancer with single VM

2019-08-24 14:08发布

问题:

I've couple of VMs under same subnet in Azure without any availability set attached to any of the vm. When I try to use load balancer (public),it shows two options to load balance VMs

  1. Availability set
  2. Single VM

Is it necessary to use availability set to implement load balancer between VMs and they should be under same availability set?

Also ,if above it true, what is the purpose of single vm option where vm is visible to add under load balancer without any availability set?

回答1:

  1. Yes, it is. you cannot load balance 2 or more vm's that are not in the same availability set.
  2. if you want NAT rules, for example, but makes very little sense anyway