子网内的Azure负载平衡器(Azure load balancer inside a subnet)

编程入门 行业动态 更新时间:2024-10-22 13:46:12
子网内的Azure负载平衡器(Azure load balancer inside a subnet)

我有一个带有子网的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.

更多推荐

本文发布于:2023-08-07 13:14:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1464242.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:平衡器   负载   网内   Azure   subnet

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!