简体   繁体   English

具有单个VM的Azure负载平衡器

[英]Azure load balancer with single VM

I've couple of VMs under same subnet in Azure without any availability set attached to any of the vm. 我在Azure的同一子网下有几台VM,但未将任何可用性集附加到任何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? 是否有必要使用可用性集在VM之间实现负载均衡器,并且它们应处于同一可用性集下?

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? 另外,如果在上面设置为true,则单个vm选项的目的是什么,在可见的情况下将vm添加到负载均衡器中而不设置任何可用性?

  1. Yes, it is. 是的。 you cannot load balance 2 or more vm's that are not in the same availability set. 您不能负载均衡2个或更多不在同一可用性集中的虚拟机。
  2. if you want NAT rules, for example, but makes very little sense anyway 例如,如果您想要NAT规则,但是却毫无意义

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM