Does Azure Container Apps support VNET integration or VNET peering?

Pitawat 341 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.
2,256 questions
Azure Container Apps
Azure Container Apps
An Azure service that provides a general-purpose, serverless container platform.
324 questions
{count} votes

Accepted answer
  1. Andriy Bilous 11,176 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://video2.skills-academy.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

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. 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 ?


  2. Daniel Krzyczkowski 466 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

    0 comments No comments