Azure Container Apps environments
A Container Apps environment is a secure boundary around one or more container apps and jobs. The Container Apps runtime manages each environment by handling OS upgrades, scale operations, failover procedures, and resource balancing.
Environments include the following features:
|There are two different types of Container Apps environments: Workload profiles environments and Consumption only environments. Workload profiles environments support both the Consumption and Dedicated plans whereas Consumption only environments support only the Consumption plan.
|A virtual network supports each environment, which enforces the environment's secure boundaries. As you create an environment, a virtual network that has limited network capabilities is created for you, or you can provide your own. Adding an existing virtual network gives you fine-grained control over your network.
|Multiple container apps
|When multiple container apps are in the same environment, they share the same virtual network and write logs to the same logging destination.
|You can add Azure Functions and Azure Spring Apps to your Azure Container Apps environment.
Depending on your needs, you may want to use one or more Container Apps environments. Use the following criteria to help you decide if you should use a single or multiple environments.
Use a single environment when you want to:
- Manage related services
- Deploy different applications to the same virtual network
- Instrument Dapr applications that communicate via the Dapr service invocation API
- Have applications share the same Dapr configuration
- Have applications share the same log destination
Use more than one environment when you want two or more applications to:
- Never share the same compute resources
- Not communicate via the Dapr service invocation API
- Be isolated due to team or environment usage (for example, test vs. production)
|Run serverless apps with support for scale-to-zero and pay only for resources your apps use with the consumption profile. You can also run apps with customized hardware and increased cost predictability using dedicated workload profiles.
|Consumption and Dedicated
|You can choose to run apps under either or both plans using separate workload profiles. The Dedicated plan has a fixed cost for the entire environment regardless of how many workload profiles you're using.
|Run serverless apps with support for scale-to-zero and pay only for resources your apps use.
|Billed only for individual container apps and their resource usage. There's no cost associated with the Container Apps environment.
Settings relevant to the Azure Container Apps environment API resource.
|Used for configuring the Log Analytics workspace where logs for all apps in the environment are published.
|App Insights instrumentation key provided to Dapr for tracing
Azure Container Apps environments are automatically deleted if one of the following conditions is detected for longer than 90 days:
- In an idle state
- In a failed state due to VNet or Azure Policy configuration
- Blocks infrastructure updates due to VNet or Azure Policy configuration