具有单个VM的Azure负载平衡器 [英] Azure load balancer with single VM

查看:72
本文介绍了具有单个VM的Azure负载平衡器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Azure的同一子网下有几台VM,但没有附加到任何vm的可用性集.当我尝试使用负载均衡器(公共)时,它显示了两个选项来负载均衡虚拟机

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. 可用性集
  2. 单个VM

是否有必要使用可用性集在VM之间实现负载均衡器,并且它们应该处于相同的可用性集下?

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

此外,如果在上面设置为true,那么单个vm选项的目的是什么,在可见的情况下在没有任何可用性设置的情况下将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?

推荐答案

  1. 是的,是的.您不能负载均衡2个或更多不具有相同可用性集的虚拟机.
  2. 例如,如果您要使用NAT规则,但还是没有多大意义

这篇关于具有单个VM的Azure负载平衡器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆