Your profile

One profile for every MSDEVBUILD site. Only you can see it, and the site owner if you write in.

Azure Container Apps in 60 seconds

ContainersServerless containersAWS: AWS App Runner / ECS on Fargate

What it is

Serverless containers built on Kubernetes, KEDA and Envoy, without managing a cluster. Apps live in an environment, every change makes a revision, traffic can be split, and KEDA rules scale to zero.

Simulate it »

✅ Use it when

  • Microservices and APIs for AI apps
  • Queue-driven workers that scale to zero
  • Blue-green and canary releases with revisions

🚫 Not the best fit when

  • Workloads that need direct Kubernetes API access (use AKS)

💰 Price feel: ●●○○ Low

Consumption: free monthly grant, then per vCPU-second and GiB-second (≈ $0.000024 per vCPU-second)

Illustrative pay-as-you-go list prices at approximate exchange rates. Use the Azure pricing calculator for real quotes.

Simulate it

3D Containers on Azure: from image to running AI service Split traffic between two revisions.

🖱️ Drag to rotate · scroll or pinch to zoom

Loading the 3D scene…
</> Embed

Embed this simulation

Free for trainers, teachers and bloggers. Paste this into your page:

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.

Read this tour as text
  1. 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.
  2. ACR Tasks build in the cloud. ACR Tasks build the image inside Azure, so you don’t need Docker on your laptop. az acr build is a quick task. A task can also run on every git commit or when the base image (say python:3.12-slim) gets a security patch.
  3. 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.
  4. 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).
  5. 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.
  6. 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.
  7. 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 -f sends them. Kubernetes keeps the real state equal to what you declared.
  8. 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.
📘 Full lesson: Azure Container Apps: Environments and Revisions ❯ ⚖️ App Service vs Container Apps vs AKS ❯

Similar services

Install MSDEVBUILD Azure

Free · no account · works offline

Save the whole course for offline ›

Hi, I’m your Nimbus

Your study buddy. Pick what we do next.

MSDEVBUILD · Multi-Stack Dev Build

Sign in to MSDEVBUILD

One account for Azure certifications and the blog: sign in here and you are signed in on both. Your XP, streak, practice deck and certificate stay in sync on every device. Optional: everything works without an account.