Search code examples
azureazure-virtual-networkazure-container-apps

How to connect Container App to custom VNet using Azure Portal?


I'm trying to follow the instructions here: https://learn.microsoft.com/en-us/azure/container-apps/vnet-custom?tabs=bash%2Cazure-cli&pivots=azure-portal

The above step-by-step page says that to connect with a manually created Virtual Network I need to got to Networking tab in the form of creating Container App. However there's no such tab there. Is it out-of-date documentation or am I missing something?


Solution

  • To view the networking option, you have to select Environment type as Consumption only like below:

    In your container apps -> create a new container Apps environment

    enter image description here

    Once you select consumption only you can see the networking option like below:

    enter image description here

    Choose your existing VNet and create a new infrastructure subnet with an external virtual IP and Review the settings and proceed to create.

    enter image description here

    Created container app successfully like below:

    enter image description here