我有一个带有子网的VNET,子网中有3个虚拟机,VNET通过VPN连接连接到本地服务器。 本地服务器将向子网的内部IP发送请求。
我想要做的是托管一个没有公共IP的负载均衡器,但在子网范围内有一个IP。 然后,本地应用程序将与单个负载平衡器进行通信,然后将该请求转发到托管子网中应用程序的任何服务器。
任何人都可以告诉我,如果这是可能的,或者如果可能的话替代。
I have a VNET with a subnet, there are 3 VMs in the subnet, the VNET is connected via a VPN connection to an on-premises server. The on-premises server will send requests to an internal IP of the subnet.
What I'd like to do is host a load balancer with no public IP, but has an IP in the subnet range. The on-premises app would then talk to the single load balancer, which would in turn forward the request on to any of the servers hosting my app in the subnet.
Can anyone tell me if this is possible, or an alternative if possible.
最满意答案
我相信你正在寻找一个内部负载平衡器。 你可以在这里找到相关的文档: https : //docs.microsoft.com/en-us/azure/load-balancer/load-balancer-get-started-ilb-arm-portal 。
Azure内部负载平衡器(ILB)提供驻留在云服务内的虚拟机或具有区域范围的虚拟网络之间的网络负载平衡。
照常创建Load Balancer,但指定Type:Internal。 也许最好使它使用静态IP地址,所以它不会改变。 然后,您需要配置其后端池和运行状况探测器,以便知道路由流量的位置。
I believe you are looking for an internal load balancer. You can find documentation for that here: https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-get-started-ilb-arm-portal.
Azure Internal Load Balancer (ILB) provides network load balancing between virtual machines that reside inside a cloud service or a virtual network with a regional scope.
Create a Load Balancer as usual, but specify Type: Internal. Probably best to make it use a static IP address as well so it won't change. Then you'll need to configure its back-end pool and health probe so it knows where to route traffic.
更多推荐
发布评论