Cloud service · Azure · Updated

Azure Container Apps - Azure Container Apps is a managed platform for running containerized applications and jobs with built-in ingress, revision management, and event-driven scaling.

In short

Azure Container Apps hosts APIs, microservices, background workers, and run-to-completion jobs without requiring engineers to operate a Kubernetes cluster. It provides managed networking, autoscaling, deployment revisions, and optional Dapr integration, with Consumption and Dedicated compute options.

Cloud Services Hub →

10 key features of Azure Container Apps

01
Managed container hosting

Run supported Linux container images without administering Kubernetes nodes or a control plane. Sidecar and init containers support auxiliary processes and startup tasks, but the underlying Kubernetes API is not exposed.

02
HTTP and event-driven autoscaling

Scale replicas using HTTP concurrency, resource utilization, or supported KEDA triggers such as queue depth. Configure replica limits to protect dependencies; scale-to-zero requires a trigger that can detect work without a running replica.

03
Managed ingress and service discovery

Expose HTTP services with managed TLS termination or configure TCP ingress for supported scenarios. Internal ingress and environment-scoped service discovery allow application components to communicate without exposing every service publicly.

04
Revisions and controlled rollouts

Create immutable revisions when revision-scoped settings change. Use multiple-revision mode to split HTTP traffic during canary or blue-green releases, and route traffic back to a known-good revision when necessary.

05
Run-to-completion jobs

Execute containers manually, on a cron schedule, or in response to events. Configure execution timeouts, retry limits, replica completion requirements, and parallelism for batch processing.

06
Managed identities and secret references

Assign system-managed or user-managed Azure identities to access supported services without embedding credentials in images. Reference Azure Key Vault secrets when credentials are unavoidable, and grant access through narrowly scoped permissions.

07
Dapr integration

Enable managed Dapr sidecars for service invocation, publish/subscribe messaging, and state access. Configure Dapr components against external backing services and scope components to the applications that require them.

08
Consumption and Dedicated workload profiles

Use Consumption compute for usage-based workloads or Dedicated workload profiles for allocated compute capacity shared by applications. Specialized compute options depend on workload profile, region, and quota availability.

09
Operational monitoring

Inspect system and console logs, view resource metrics, and configure Azure Monitor alerts. Instrument application code for distributed traces and dependency telemetry; hosting a container does not automatically provide application-level tracing.

10
Virtual network connectivity

Deploy environments with virtual network integration to reach private dependencies and apply supported network controls. Plan subnet sizing, DNS resolution, and outbound routing before deployment because networking capabilities vary by environment configuration.

Where Azure Container Apps is used

  1. 01
    Containerized APIs and web backends

    Host REST APIs or backend services behind managed HTTPS ingress and scale replicas with request concurrency. Maintain a nonzero minimum replica count when latency requirements cannot tolerate cold starts.

  2. 02
    Independently deployed microservices

    Deploy each service as a separate container app with its own scaling rules and release lifecycle. Use internal ingress or Dapr service invocation for communication, while keeping persistent state outside replicas.

  3. 03
    Queue-driven background processing

    Run workers that consume Azure Service Bus or Azure Storage Queue messages and scale against backlog. Make processing idempotent and align concurrency, message lock handling, and maximum replicas with downstream throughput.

  4. 04
    Scheduled and event-triggered batch work

    Use jobs for periodic exports, data transformations, maintenance tasks, or event-triggered file processing. Configure execution timeouts and retries, and store outputs externally so they survive container termination.

  5. 05
    Containerized Azure Functions

    Host Azure Functions containers alongside APIs and workers when function triggers and bindings are useful but custom dependencies or shared Container Apps networking are required. Use the native Functions hosting model and validate trigger scaling and dependency access.

  6. 06
    Variable-demand internal services

    Host development APIs, administrative backends, or intermittently used business services with restricted ingress. Scale eligible services to zero between requests when startup delay is acceptable.

How Azure Container Apps is priced

Consumption usage-based billing

Consumption compute is billed using allocated vCPU-seconds and GiB-seconds, with request charges where applicable. Active and eligible idle usage have different rates; replicas scaled to zero incur no replica compute charge, although associated services and other billable resources can still generate costs. Monthly free grants apply to eligible usage under the current pricing terms.

Dedicated workload profile billing

Dedicated profiles are billed for provisioned compute instances rather than individual application replica usage, with an applicable Dedicated plan management charge. Multiple applications can share profile capacity, but unused provisioned capacity still costs money; configure profile instance limits and application resource requests together.

Job execution billing

Jobs running on Consumption compute are charged for resources consumed during execution at applicable active usage rates, without the application request meter. Jobs on Dedicated profiles consume already provisioned profile capacity, so costs depend on the profile instances allocated rather than execution count alone.

Services Azure Container Apps works with

A common architecture places an HTTP API in one container app and asynchronous workers in separate apps or jobs. The API writes transactional data to Azure SQL Database, stores large payloads in Blob Storage, and sends processing requests to Service Bus. Workers scale against queue backlog and persist their results outside the container filesystem. Message handlers should tolerate duplicate delivery, and operations spanning a database and message broker need an explicit consistency strategy, such as an outbox.

Azure Container Registry supplies versioned images for repeatable releases. Managed identities provide registry pulls and application access to supported dependencies, while Key Vault supplies credentials for systems that cannot use identity-based authentication. Network access and authorization are separate requirements: private endpoints need reachable routes and correct DNS, and identities still require service-specific permissions.

Send operational telemetry through Azure Monitor and instrument application code for request and dependency tracing. Correlate telemetry with revision names and job execution identifiers during rollout investigations. Set maximum replicas, queue-processing concurrency, database connection limits, log retention, and alerts together so increased application scale does not overload dependencies or create unexpected monitoring costs.

Azure Container Registry

Store application images in Azure Container Registry and configure Container Apps to pull them using a managed identity with appropriate registry permissions. For example, a deployment pipeline can publish an image tagged with a commit identifier and create a revision referencing that immutable release. Private registry access also requires working network connectivity and DNS resolution.

Service Bus

Use Service Bus queues or subscriptions to decouple request handling from background processing. For example, an API can enqueue document-processing requests while a worker app scales using a Service Bus KEDA rule. Configure scaler authentication and application access separately as required, and design handlers for redelivery, lock expiry, and dead-letter processing.

Azure Key Vault

Reference Key Vault secrets from Container Apps secret configuration and authorize retrieval through a managed identity. For example, expose an external vendor API credential to a container as an environment variable without storing the value in its image or deployment repository. Validate secret refresh behavior and application reload requirements when rotating credentials.

Azure Monitor

Use Azure Monitor metrics, logging destinations, diagnostic settings, and alerts to operate applications and jobs. For example, alert on repeated replica restarts and correlate system logs with application exceptions during a failed deployment. Prefer the Azure Monitor logging destination over the legacy direct Log Analytics destination, and instrument application code when distributed tracing is required.

Azure Blob Storage

Use Blob Storage for durable input files, generated artifacts, and checkpoints instead of relying on a replica's local filesystem. For example, a job can download an uploaded image, generate several resolutions, and write the results to a separate container. Use the Azure SDK with managed identity and an appropriate data-plane role where supported.

Azure SQL Database

Connect containerized services to Azure SQL Database for durable relational state. For example, an order API can use Microsoft Entra authentication through its managed identity after a corresponding database user and permissions are configured. For private connectivity, configure environment network access and private DNS, and cap connection pools so replica scale-out does not exhaust database connections.

API Management

Azure Container Apps can expose an HTTP API through Azure API Management. Import the container app as an API backend to apply gateway policies such as token validation and rate limiting before requests reach the app.

Azure Advisor

Azure Container Apps environments can receive Azure Advisor recommendations about their configuration. For example, Advisor can flag an environment without zone redundancy so you can plan to move its apps to a zone-redundant environment.

Azure App Configuration

Azure Container Apps can use Service Connector to set up access to Azure App Configuration. For example, an app can use its managed identity to read centrally managed settings without storing an access key in its container image.

Azure App Testing

Azure Container Apps can be load-tested through the Azure Load Testing capability of Azure App Testing. Add the container app as an app component to compare server-side metrics, such as replica count and CPU usage, with request latency during the test.

Alternatives to Azure Container Apps in other clouds

AWS

AWS Elastic BeanstalkAWS Elastic Beanstalk

AWS Elastic Beanstalk and Azure Container Apps both deploy and run web applications and microservices with managed infrastructure, autoscaling, and health monitoring. Elastic Beanstalk accepts application code uploads and bills for the AWS resources used, while Container Apps deploys Linux container images and offers usage-based Consumption or provisioned Dedicated compute.

Compare fact by fact
Azure Container AppsAWS Elastic Beanstalk
Deployment inputLinux container images from a registryApplication code or Docker containers
Compute billingUsage or provisioned capacityUnderlying AWS resources
Autoscaling unitApplication replicasEC2 instances in Standard mode
Amazon Elastic Container Service (Amazon ECS)Amazon Elastic Container Service (Amazon ECS)

Amazon ECS and Azure Container Apps both run and scale containerized applications and batch jobs. ECS can run on self-managed EC2 instances or on AWS-managed Fargate compute, while Azure Container Apps manages the nodes in both its Consumption and Dedicated profiles.

Compare fact by fact
Azure Container AppsAmazon Elastic Container Service (Amazon ECS)
Compute managementManaged nodes in both profilesSelf-managed EC2 or managed compute
Provisioned compute billingInstances plus plan management feeEC2 resources; no ECS fee
Fargate vs. Consumption billingvCPU, memory, requests where applicableRequested vCPU and memory
Application ingressBuilt-in HTTP and TCP ingressElastic Load Balancing integration
AWS FargateAWS Fargate

AWS Fargate and Azure Container Apps both run containerized applications and batch jobs without requiring teams to manage servers or clusters. Fargate runs Amazon ECS tasks or Amazon EKS pods and supports Windows containers on ECS, while Azure Container Apps runs Linux containers as managed apps or jobs without exposing the Kubernetes API.

Compare fact by fact
Azure Container AppsAWS Fargate
Deployment modelApps and jobs; no Kubernetes APIAmazon ECS tasks or Amazon EKS pods
Container operating systemsLinuxLinux; Windows on ECS
Compared Nov 2026

What is Azure Container Apps

2 min read

Azure Container Apps runs containerized applications on managed infrastructure built on Kubernetes and related open-source technologies. You deploy container images and configure resources, networking, identity, and scaling rather than managing nodes or a Kubernetes control plane. The service does not expose the underlying Kubernetes API; workloads that require Kubernetes operators, custom resources, or direct cluster administration are better suited to Azure Kubernetes Service.

The primary deployment boundary is a Container Apps environment, which groups applications and jobs with shared networking and operational configuration. An app is appropriate for an HTTP service or a continuously running queue consumer, even when its replica count can fall to zero. A job is appropriate for a process that performs work and exits. Jobs support manual, scheduled, and event-driven execution, with configurable execution timeouts, retries, and parallelism.

Package application code and dependencies into supported Linux container images and publish them to a public or private registry. A replica can contain an application container together with sidecars, while init containers perform setup before the application starts. Configure startup, readiness, and liveness probes to distinguish slow initialization from unhealthy execution. Treat replica-local storage as temporary and place durable state in an external database, object store, or supported persistent volume.

For request-serving applications, managed ingress provides HTTP endpoints with TLS termination and supports TCP ingress for other protocols. Choose external ingress for publicly reachable applications or internal ingress to restrict application-level access to the environment. Environment networking determines broader reachability, including virtual network connectivity and access to private dependencies. Internal routing does not replace application authentication or authorization.

Scaling rules control replica counts using HTTP concurrency, CPU or memory utilization, or supported KEDA event sources. Configure minimum and maximum replicas explicitly and test behavior against downstream capacity limits. HTTP and suitable event-driven workloads can scale to zero, but CPU- or memory-only scaling cannot wake an application from zero. Keep minimum replicas above zero when startup latency is unacceptable, and design message handlers for retries and duplicate delivery.

Revision-scoped configuration changes create immutable application revisions. In multiple-revision mode, HTTP traffic can be divided between active revisions for gradual releases and rollback. Use immutable image tags or digests, validate readiness before routing traffic, and make database changes compatible with overlapping application versions. Configure secrets and managed identities separately from application images, and grant each identity only the permissions it needs.

Operate applications with platform metrics, system logs, console logs, and instrumented application telemetry. Prefer the Azure Monitor logging destination for environment logging; the direct Log Analytics destination is a legacy option. Set alerts for failed executions, unhealthy replicas, resource pressure, and application errors. Capacity planning should include regional availability, subscription quotas, workload profile capacity, cold starts, and the cost of dependent services.

Azure architecture icons are the property of Microsoft. BlowStack is not affiliated with or endorsed by Microsoft.

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.