Why Containers?
Containers package applications with their dependencies, making them portable and consistent across environments.
They’re lighter than VMs, start quickly, and are ideal for microservices and cloud-native workloads.
Azure Container Instances (ACI)
-
Run containers directly in Azure without managing servers or clusters.
-
Great for simple, isolated, or burst workloads.
-
You only pay for the container runtime, not idle infrastructure.
-
Supports Windows and Linux containers.
Use Cases:
-
Running batch jobs or background tasks.
-
Quickly testing/deploying containerized apps without cluster overhead.
Azure Kubernetes Service (AKS)
-
Managed Kubernetes cluster in Azure.
-
Provides orchestration for large-scale containerized workloads.
-
Handles scaling, load balancing, rolling upgrades, and secret management.
-
Integration with Azure AD, Azure Monitor, and networking.
Use Cases:
-
Complex microservices apps.
-
Enterprise-scale container deployments.
-
Applications needing auto-scaling and orchestration.
ACI vs AKS
-
ACI = single container or simple workloads, serverless-style.
-
AKS = full orchestration, multiple containers, enterprise-grade.
Exam trick: If the requirement says “run a container without managing servers”, the answer is ACI. If it says “orchestrate containers at scale”, the answer is AKS.
Confusion Buster 🚨
-
VMs vs Containers
-
VM = complete OS + application.
-
Container = lightweight, only app + dependencies.
-
-
ACI vs App Service
-
ACI = container-focused workloads.
-
App Service = code-focused web apps/APIs.
-
Simple Example
A retail company:
-
Runs a quick ACI job each night to process sales data.
-
Uses AKS for their customer-facing shopping platform with dozens of microservices.
Exam Tip
-
ACI = short-lived or lightweight jobs.
-
AKS = long-running, complex containerized apps.
-
If a question mentions Kubernetes → Always AKS.
What to Expect in the Exam
-
Direct Q: “Which service allows you to run a container without managing servers?” → ACI.
-
Scenario: “Company wants to orchestrate multiple microservices at scale.” → AKS.
-
Trick Q: “AKS is a Platform as a Service with no cluster management.” (False — you still manage the cluster nodes, Azure just simplifies setup).