0

Can I use VMs (backend pools) on different virtual networks to the application gateway?

When I try, the VM list is empty.

Thanks

Beakie
  • 137
  • 1
  • 8

1 Answers1

1

You can, but the virtual networks must be connected.

https://docs.microsoft.com/en-us/azure/application-gateway/application-gateway-components#backend-pools

An application gateway can communicate with instances outside of the virtual network that it's in. As a result, the members of the backend pools can be across clusters, across datacenters, or outside Azure, as long as there's IP connectivity.

Massimo
  • 70,200
  • 57
  • 200
  • 323
  • Thanks for this. I have peerings configured both ways... But nothing in vm list. Will it take private IPs? – Beakie Oct 16 '20 at 16:31
  • 1
    Yes, it will not let you directly select VMs if they are not connected to the same VNet, but you can just type in their IP addresses. – Massimo Oct 16 '20 at 16:39