Does Azure Container Apps support VNET integration or VNET peering?

Pitawat 351 Reputation points
2021-11-09T04:31:07.32+00:00

I am testing the new Azure Container Apps. I see this documentation that each app in the same environment is deployed in the same virtual network but I don't see any networking configurations on Azure Portal.

Normally I deploy my apps on App Service with VNET integration which uses my own private IP address space and peer App Service VNET with Azure SQL Managed Instance VNET so my apps can access the database. Is this possible with Azure Container Apps? If no, how can apps access the database that does not allow public endpoints?

Thanks.

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.

Azure Container Apps
Azure Container Apps

An Azure service that provides a general-purpose, serverless container platform.


Answer accepted by question author
Andriy Bilous 12,596 Reputation points MVP
2021-11-10T05:24:55.4+00:00

****Update 2nd of February 2022****
Azure Container Apps now supports Virtual Network Integration

To host your containerized applications using Azure Container Apps, you must first deploy an Azure Container Apps environment. The environment can host one or more applications and establishes the network boundary, meaning all applications within the shared environment are deployed to the same Azure virtual network.
https://techcommunity.microsoft.com/t5/apps-on-azure-blog/azure-container-apps-virtual-network-integration/ba-p/3096932

Hello @Pitawat

Azure Container Apps has been announced on the 2nd of November 2021 and currently in Preview state.
Azure Container Apps does not currently support VNET integration or PrivateEndpoint.

The use cases of Azure Container Apps:

  • Deploying API endpoints
  • Hosting background processing applications
  • Handling event-driven processing
  • Running microservices

147950-image.png

You may allow communications from all resources inside the Azure boundary to SQL via the firewall pane
148061-image.png
https://learn.microsoft.com/en-us/azure/azure-sql/database/network-access-controls-overview#allow-azure-services

https://techcommunity.microsoft.com/t5/apps-on-azure/introducing-azure-container-apps-a-serverless-container-service/ba-p/2867265

Was this answer helpful?

0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Daniel Krzyczkowski 501 Reputation points MVP
    2022-02-06T08:35:46.87+00:00

    It is now possible to integrate Azure Container Apps with VNET, here is the announcement:
    https://techcommunity.microsoft.com/t5/apps-on-azure-blog/azure-container-apps-virtual-network-integration/ba-p/3096932

    Was this answer helpful?

    0 comments No comments

  2. Bohdan Chornii 1 Reputation point
    2021-11-25T08:03:36.11+00:00

    Are there plans to support integration with on-prem resources via VPN or Azure Express Route ?

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.