Compare
App Service vs Container Apps vs AKS
30-second answer
Use App Service for one containerised web app or API with steady traffic. Use Azure Container Apps for microservices and queue-driven workers that need revisions, traffic splitting and KEDA scale to zero without running a cluster. Use AKS when you need the full Kubernetes API, custom node pools or GPUs.
Simulate it »Side by side
↔ Swipe the table to see every column.
| App Service | Container Apps | AKS | |
|---|---|---|---|
| What you manage | The app and its settings | Apps, revisions and scale rules | Node pools, manifests, upgrades |
| Deploy with | Image + app settings | Image + template (az containerapp) | YAML manifests (kubectl, Helm) |
| Scaling | Autoscale rules on instances | KEDA rules (HTTP, queue, custom), down to zero | HPA, KEDA add-on, cluster autoscaler |
| Releases | Deployment slots | Revisions with traffic split | Rolling updates, your own canary tooling |
| Kubernetes API | No | No (built on Kubernetes) | Yes, full access |
| Price feel | From ≈ $13/month (B1) | Per second of use, free monthly grant | Pay for node VMs, from ≈ $70/month per node |
Prices are illustrative pay-as-you-go list prices converted at approximate rates, for "price feel" only. Check the Azure pricing calculator for real quotes.
Which one should I pick?
App Service
Pick it when you have one web API and want slots and custom domains with little effort
Container Apps
Pick it when you have several services or workers and want revisions and scale to zero
AKS
Pick it when you need kubectl, operators, GPU node pools or tight control of the cluster
Simulate it
🖱️ Drag to rotate · scroll or pinch to zoom
Build an image, push it to the registry
Your Python API and everything it needs are packed into a container image. You push it to Azure Container Registry (ACR) as ragapi:1.4.0. A tag names a version. A digest (sha256:…) names the exact bytes and never changes.
🤔 What happens if…
Read this tour as text
- Build an image, push it to the registry. Your Python API and everything it needs are packed into a container image. You push it to Azure Container Registry (ACR) as
ragapi:1.4.0. A tag names a version. A digest (sha256:…) names the exact bytes and never changes. - ACR Tasks build in the cloud. ACR Tasks build the image inside Azure, so you don’t need Docker on your laptop.
az acr buildis a quick task. A task can also run on every git commit or when the base image (saypython:3.12-slim) gets a security patch. - App Service runs one container. App Service pulls the image and runs it. App settings become environment variables inside the container. A setting can be a Key Vault reference, so the secret never sits in the image or in the portal in plain text.
- Container Apps environment. An Azure Container Apps environment is a secure boundary with its own virtual network and Log Analytics workspace. Several container apps share it. Ingress decides who can reach each app: external (internet) or internal (only the environment).
- Revisions and traffic splitting. Every change to the template (image, env vars, scale rules) creates a new revision, an immutable snapshot. In multiple revision mode you can send 80% of traffic to the old one and 20% to the new one, then roll forward or back.
- KEDA scales on events. Container Apps uses KEDA scale rules. A Service Bus rule adds replicas as the queue grows (for example one replica per 5 messages), up to max replicas. When the queue empties, it scales back to min replicas, which can be zero.
- AKS runs what the manifest says. On AKS you describe the app in YAML manifests: a Deployment (image, replicas, probes, resources) and a Service (a stable address).
kubectl apply -fsends them. Kubernetes keeps the real state equal to what you declared. - Troubleshoot: logs, events, connectivity. When it breaks, look in three places. Logs (
kubectl logs,az containerapp logs show) show what the app said. Events (kubectl describe,kubectl get events) show what the platform did. Connectivity checks (DNS, ports, ingress) show whether traffic can reach it.
Questions people ask
Can Container Apps run any container image?
Yes, any Linux image from a registry such as Azure Container Registry. It needs to listen on the target port if it uses ingress.
Do I pay for the AKS control plane?
The Free tier has no control plane charge; the Standard tier adds an uptime SLA for a per-cluster fee. Nodes are billed as VMs.