What is Azure Container Apps? Choose apps, jobs, scaling, and revisions
Azure Container Apps is Azure’s managed platform for running containerized web apps, APIs, microservices, and background work without operating servers or a Kubernetes cluster directly. Apps can adjust replica counts in response to HTTP, event, CPU, or memory signals, and many can scale to zero while idle. You still design the container image, service communication, revision rollout, network exposure, job retries, and compute profile.
What is Azure Container Apps? Choose apps, jobs, scaling, and revisions
Azure Container Apps is Azure’s managed platform for running containerized web apps, APIs, microservices, and background work without operating servers or a Kubernetes cluster directly. Apps can adjust replica counts in response to HTTP, event, CPU, or memory signals, and many can scale to zero while idle. You still design the container image, service communication, revision rollout, network exposure, job retries, and compute profile.
What does Container Apps manage?
Container Apps provides the runtime infrastructure, ingress, service discovery, revision lifecycle, autoscaling, and log integration for containers. You configure images, runtime settings, scale rules, and access boundaries instead of provisioning servers or managing the Kubernetes control plane. The managed platform reduces infrastructure work, but you remain responsible for image vulnerabilities, process failures, state, observability, data protection, and cost.
Common workloads include web APIs, microservices, continuously running event workers, and finite manual, scheduled, or event-triggered tasks. Compare Azure Functions when you have short event functions and do not need a general container-app model. Compare App Service when you want to host a web app on a familiar runtime without managing its container lifecycle. Consider AKS when you need Kubernetes APIs, cluster add-ons, or node-level control.
How do environments, apps, revisions, and jobs differ?
An environment is a boundary for Container Apps applications, networking, and observability. Apps in the same environment can discover one another through internal DNS and share environment-level network configuration. They are not automatically isolated from one another; configure ingress and permissions for each app.
A container app is typically a continuously running service such as an API, website, or worker. A deployment change can create a revision, an immutable snapshot of that app version’s image and template settings. A Container Apps job, by contrast, starts, processes finite work, and stops. Use a scheduled job for a nightly report or an event-driven job for a queue message that should be processed and then finish.
For example, a consumer that continuously polls a queue and handles many messages fits an app with event-based scaling. A message or small batch that should run in its own container execution and then stop may fit a job. Decide based on whether the process runs continuously, needs a dedicated container per execution, and what retry, parallelism, and timeout behavior it needs.
Should you use a Consumption or Dedicated workload profile?
A workload profile defines the compute type and capacity available in an environment. Consumption profiles scale replicas in response to demand and can scale to zero depending on the app’s rules and configuration. They suit irregular workloads where reducing compute use during idle periods matters. Dedicated profiles use instances in a dedicated compute pool; several apps can share a profile, and billing is based on its instances. Consider them for steady, predictable workloads or when dedicated compute isolation matters.
When a Consumption app scales to zero, it incurs no resource-consumption charge for that revision, but the next request can have startup delay. Keeping one or more minimum replicas running can incur ongoing charges. Apps that use CPU- or memory-based scale rules cannot scale to zero. Container Apps scales replicas horizontally and does not support vertical scaling, so choose container size and profile deliberately and validate with representative load.
How do autoscaling rules work?
Container Apps uses KEDA-based rules to add or remove revision replicas based on HTTP requests, TCP connections, queue messages or supported event sources, and CPU or memory signals. Rules work with minimum and maximum replica limits to determine scaling behavior. A replica is an instance of the container app; actual parallel throughput also depends on the app working safely across replicas and storing shared state externally.
For example, a worker can add replicas when an order queue grows and scale down after the queue drains. If the maximum replica count exceeds the database connection capacity, scaling can overload the database even when the app itself is healthy. Set trigger thresholds, concurrency, replica bounds, stabilization time, and downstream capacity together. Then check logs and metrics to confirm the rules behave as expected. Replica quantities are targets, not guaranteed instantaneous capacity.
How do you deploy with revisions and traffic splitting?
In the default single revision mode, the existing version continues receiving traffic until the new revision is provisioned, starts its replicas, and passes startup and readiness probes. Traffic then moves to the new version. If provisioning fails, the old revision keeps receiving traffic. Poorly designed probes or incorrect connection settings can prevent a new revision from becoming ready, so validate them before release.
In multiple revision mode, you can keep the previous version active and divide traffic between revisions. For example, send a small share of traffic to a new version, monitor errors, latency, and business outcomes, then increase the share gradually. If problems appear, route traffic back to the previous revision. This rolls back app traffic, not database schema changes or external side effects. Deploy data changes in a compatible order and maintain a separate recovery plan.
How should you configure ingress and network boundaries?
An app’s external or internal ingress and its environment’s public or internal accessibility are separate settings. External app ingress means the app is published at the environment boundary; it does not always mean that the public internet can reach it. In an environment with a public endpoint, reachability also depends on public network access. In an internal environment, even an app with external ingress is reachable through the virtual network’s internal load balancer, not the internet. Internal app ingress is a narrower route intended for calls from other apps in the same environment.
If the internet must not reach an app while virtual-network clients still need it, create an internal environment and configure the app to be reachable from that connected network. Review environment IP and accessibility, public network access, app ingress, DNS, and environment-level routing together. Do not decide public exposure based on the app ingress setting alone. Check workload-profile and environment requirements if you need fixed outbound IPs or firewall routing.
How do you manage secrets and access?
Do not hard-code keys or connection strings in application code. In production, consider Key Vault references with a managed identity. Enable an identity for the app, grant it permission to read the required Key Vault secrets, and configure the secret reference. The Azure RBAC Key Vault Secrets User role is a common option. Keep role scope narrow and prevent secret values from appearing in logs.
Container Apps secrets are defined at app scope, and changing a secret does not automatically create a new revision. Active revisions that use a secret as an environment variable might need to restart before the container reads the rotated value, so include that behavior in the rotation plan. For a public HTTP API, ingress controls alone do not authenticate users; configure Microsoft Entra or application-level authentication and authorization as needed.
When is Container Apps a good choice?
Consider Container Apps when you can package the workload as a container and want horizontal scaling for HTTP or event demand without directly operating Kubernetes nodes and control planes. An environment can host a continuously running API, event worker, and scheduled report job with internal discovery and revision-based releases.
Check the tradeoffs: minimum replicas for always-on latency, tolerance for cold starts, Kubernetes-specific requirements, network routing, state, and profile costs. Even with Container Apps, teams must manage image builds and vulnerabilities, scaling limits, ingress exposure, Key Vault permissions, cost monitoring, and recovery from data changes. Compare App Service for straightforward web hosting, Functions for small event-driven functions, and AKS when cluster control is central.
References
[Microsoft Learn: Azure Container Apps overview](https://learn.microsoft.com/en-us/azure/container-apps/overview)
[Microsoft Learn: Compute and billing structures](https://learn.microsoft.com/en-us/azure/container-apps/structure)
[Microsoft Learn: Workload profiles](https://learn.microsoft.com/en-us/azure/container-apps/workload-profiles-overview)
[Microsoft Learn: Scaling rules](https://learn.microsoft.com/en-us/azure/container-apps/scale-app)
[Microsoft Learn: Revisions and deployments](https://learn.microsoft.com/en-us/azure/container-apps/revisions)
[Microsoft Learn: Container Apps jobs](https://learn.microsoft.com/en-us/azure/container-apps/jobs)
[Microsoft Learn: Ingress overview](https://learn.microsoft.com/en-us/azure/container-apps/ingress-overview)
[Microsoft Learn: Networking](https://learn.microsoft.com/en-us/azure/container-apps/networking)
[Microsoft Learn: Billing](https://learn.microsoft.com/en-us/azure/container-apps/billing)
[Microsoft Learn: Manage secrets](https://learn.microsoft.com/en-us/azure/container-apps/manage-secrets)
[Microsoft Learn: Security overview](https://learn.microsoft.com/en-us/azure/container-apps/security)
Microsoft Learn documentation was checked on 2026-11-20. Profile features, regional availability, preview status, and billing rules can change; verify current documentation for the target environment before deployment.