An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
Hello Abdelrhman Goma
It looks like you're having difficulty accessing your Azure Container Apps Environment through the Application URL and Swagger when connected to a P2S VPN. Here are some key points and suggestions:
- To have a fully private Azure Container Apps environment, you need to configure DNS resolution correctly. By default, the *.azurecontainerapps.io hostname won't resolve privately unless you set it up as needed.
- It's usually necessary to create and link a Private DNS Zone so the Container App's domain can resolve within your private network.
- The internal load balancer that Azure automatically sets up for your environment should be adequate for managing incoming traffic, provided the networking settings are configured properly.
- If you need more advanced routing or plan to handle external traffic more effectively in the future, you might want to use Application Gateway or Azure Front Door, as these services offer extra features.
- Make sure your NSGs associated with both the Hub and Spoke VNets allow traffic on the necessary ports (e.g., 80 and 443). Not allowing certain required traffic can cause accessibility issues.
- Verify that your Container Apps environment is indeed integrated with the correct VNet and that there is no misconfiguration preventing proper routing of the VPN traffic.
- Since you mentioned that DNS resolution is via Azure DNS Private Resolver, ensure that it correctly forwards DNS requests to your Private DNS zones.
Hope the above answer helps! Please let us know do you have any further queries.
Please do consider to “up-vote” wherever the information provided helps you, this can be beneficial to other community members.