简体   繁体   English

Azure 应用程序网关未在后端池中显示来自其他 VNet 的 VM

[英]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.

相关问题 如何通过VNET网关从Mac RDP到Azure VM - How to rdp from mac to azure vm through vnet gateway Azure应用程序网关将“/ *”转发到后端池 - Azure Application Gateway forwarding “/*” to Backend Pool 允许应用程序网关后端池指向特定的 VM - Allow Application Gateway Backend pool pointing at a specific VM 将 VM 规模集附加到应用程序网关的后端池 - Attaching VM Scale Set to Application Gateway's backend pool Azure网络/ VNet,负载平衡器,应用程序网关,流量管理器是否始终需要VM? - Does Azure Networking/ VNet, Load Balancer, Application Gateway, Traffic Manager always need VM? Azure 应用程序网关 DNS 返回 307 到后端池 - Azure Application Gateway DNS returning 307 to backend pool 是否可以在没有Azure地址的情况下创建没有后端地址池的应用程序网关? - Is it possible to create a application gateway without backend address pool in azure? 应用网关后端池中的 Azure 内部负载均衡器 - Azure internal load balancer in backend pool of application gateway 是否可以与应用程序网关分开配置后端地址池 - Is it possible to provision backend address pool separately from application gateway 将Azure VM移动到VNET - Move an Azure VM to a VNET
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM