Route traffic from an Azure Container Apps Env (Dedicated) through vnet gateway?

awf09j 35 Reputation points
2023-12-04T04:55:15.92+00:00

Hi, I have a vnet with two subnets - Subnet A and Subnet B. I've also got a vnet gateway that enables communication between my on-prem data center and a particular address space, within which Subnet A resides. Subnet B is not directly routable from on-prem and is dedicated to my container apps environment. When I make a request from a VM within Subnet A, I am correctly able to resolve the traffic against my on-prem service. However, when I make a request from a container within Subnet B, it is not resolved and eventually times out.

How do I guarantee that traffic from Subnet B is correctly routed through the vnet gateway? I've set up a user defined route/route table that's associated with the subnet and added a rule which should route all requests in the destination CIDR block to the gateway, but it just...doesn't?

Any advice?

Azure VPN Gateway
Azure VPN Gateway
An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
1,454 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,294 questions
Azure Container Apps
Azure Container Apps
An Azure service that provides a general-purpose, serverless container platform.
338 questions
{count} votes