[英]Azure Application Gateway not showing VM from other VNet in backend pool
When setting up the Backend pools of an Azure Application Gateway, I want to set a specific VM in the pool.在设置 Azure 应用程序网关的后端池时,我想在池中设置特定的 VM。
This VM is in another VNet, and I've set up peering between the App Gateway's VNet and the VM's VNet.此 VM 位于另一个 VNet 中,我已在应用程序网关的 VNet 和 VM 的 VNet 之间设置对等互连。
Still, when I choose Virtual Machine as the target type of the Backend pool, the list is empty and I don't see any VM.尽管如此,当我选择虚拟机作为后端池的目标类型时,列表是空的,我看不到任何虚拟机。
What's the problem?有什么问题? Am I missing something?
我错过了什么吗?
It seems that you only could see VMs in the same VNet as the application gateway located when you select the virtual machine as the target type of the backend pool.当您选择虚拟机作为后端池的目标类型时,您似乎只能在与应用程序网关相同的 VNet 中看到 VM。
If you have VNet peering, you can just add the internal IP of the VM to target the backend pool.如果您有 VNet 对等互连,则只需添加 VM 的内部 IP以定位后端池。
A backend pool routes request to backend servers, which serve the request.后端池将请求路由到为请求提供服务的后端服务器。 Backend pools can contain:
后端池可以包含:
- NICs
网卡
- Virtual machine scale sets
虚拟机规模集
- Public IP addresses
公共 IP 地址
- Internal IP addresses
内部 IP 地址
- FQDN
FQDN
- Multitenant backends (such as App Service)
多租户后端(例如应用服务)
If you use internal IPs as backend pool members, you must use virtual network peering or a VPN gateway.
如果使用内部 IP 作为后端池成员,则必须使用虚拟网络对等互连或 VPN 网关。 Virtual network peering is supported and beneficial for load-balancing traffic in other virtual networks.
支持虚拟网络对等互连并有益于其他虚拟网络中的负载平衡流量。
Reference: https://docs.microsoft.com/en-us/azure/application-gateway/application-gateway-components#backend-pools参考: https : //docs.microsoft.com/en-us/azure/application-gateway/application-gateway-components#backend-pools
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.