Need help with understanding the limits with respect to vnet and Azure container apps

Dhruv.Parekh 85 Reputation points
2024-07-17T19:00:09.5133333+00:00

I am new to Azure container apps and currently doing some evaluations.

I am looking to have a setup where in several azure container apps can be created in a single container apps environment. Having multi availability zone is a requirement as well.
I understand that we can create:
1 virtual network -> 1 Container apps environment -> Multiple container apps

While reading through
https://learn.microsoft.com/en-us/azure/container-apps/networking?tabs=consumption-only-env%2Cazure-cli#subnet
I noticed

"The Container Apps runtime reserves a minimum of 60 IPs for infrastructure in your VNet. The reserved amount may increase up to 256 addresses as apps in your environment scale"

"As your apps scale, a new IP address is allocated for each new replica."

Does this mean that in a single container app environment in the vnet subnet, 256 is the maximum number of replicas that can be running?
If yes, is there a way to have more than 256 running replicas(basically we need more than 250 container apps) in a single Azure Container App Environment?

Azure Container Apps
Azure Container Apps
An Azure service that provides a general-purpose, serverless container platform.
444 questions
0 comments No comments
{count} votes

Accepted answer
  1. JananiRamesh-MSFT 27,921 Reputation points
    2024-07-18T07:42:51.2233333+00:00

    @Dhruv.Parekh Thanks for reaching out. The Azure Container Apps environment reserves a certain number of IP addresses (up to 256) for its infrastructure within your VNet. This does not limit the number of replicas of your apps.

    Each new replica of an app gets a new IP address. The total number of replicas you can have is not directly limited to 256. It depends on the size of your subnet and the number of IP addresses available for your apps. The maximum number of replicas per revision in a container app is configurable up to 1,000 please refer:https://learn.microsoft.com/en-us/azure/container-apps/scale-app?pivots=azure-cli

    Therefore, it is possible to have more than 250 container apps running in a single Azure Container App Environment, provided there are enough IP addresses available in your subnet and other resources to support them.

    do let me know incase of further queries, I would be happy to assist you.


0 additional answers

Sort by: Most helpful

Your answer

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