flowchart LR
VM["🖥️ VMs & VMSS\n(IaaS)\nFull OS control\nYou manage everything"]
AKS["🐳 AKS\n(Container orchestration)\nFull Kubernetes\nManaged control plane"]
ASP["🌐 App Service\n(PaaS)\nManaged runtime\nNo OS / infra"]
ACA["☁️ Container Apps\n(Serverless containers)\nNo Kubernetes mgmt\nScale to zero"]
ACI["📦 ACI\n(Serverless containers)\nInstant, ephemeral\nNo orchestration"]
FN["⚡ Functions\n(Serverless code)\nEvent-driven\nPay per execution"]
LA["🔗 Logic Apps\n(Serverless workflow)\nNo-code connectors\nPay per action"]
VM --> AKS --> ASP --> ACA --> ACI --> FN --> LA
style VM fill:#7f1d1d
style AKS fill:#7c2d12
style ASP fill:#713f12
style ACA fill:#365314
style ACI fill:#14532d
style FN fill:#164e63
style LA fill:#1e1b4b
More control ← → Less management overhead
Master Compute Comparison Table
Feature
VMs / VMSS
App Service
AKS
ACI
Container Apps
Functions
Logic Apps
Abstraction
IaaS
PaaS
Container orchestration
Serverless container
Serverless container
Serverless code
Serverless workflow
OS access
✅ Full
❌
Node only
❌
❌
❌
❌
Scale to zero
❌
❌
❌
✅ (ACI is ephemeral)
✅
✅ (Flex Consumption, Consumption)
✅ (Consumption)
Auto-scale
✅ VMSS
✅ (Standard+)
✅ HPA + Cluster
❌
✅ KEDA
✅
✅
VNet integration
✅ Native
✅ (Basic+)
✅ Native
✅ (subnet delegation)
✅ (Dedicated plan)
✅ (Flex Consumption, Premium, Dedicated)
✅ (Standard)
Private Endpoint
✅
✅ (Basic+)
✅ (private cluster)
❌
✅ (Dedicated)
✅ (Flex Consumption, Premium, Dedicated)
✅ (Standard)
Deployment slots
❌
✅ (Standard+)
❌
❌
✅ (revision split)
✅ (Consumption: 1 staging; ❌ Flex Consumption)
❌
Max execution time
Unlimited
Unlimited
Unlimited
Unlimited
Unlimited
10 min (Consumption) / Unlimited (Flex Consumption, Premium, Dedicated)
Unlimited
Containers
✅ (run on VM)
✅ (custom container)
✅ Native
✅ Native
✅ Native
✅ (custom handler)
❌
SLA
99.9–99.99%
99.95–99.99%
99.95–99.99%
99.9%
99.95%
99.95%
99.9–99.95%
Cold start
❌ (always-on)
❌ (always-on)
❌
Brief (seconds)
Brief (if min=0)
Yes (Consumption) / Reduced (Flex Consumption)
Yes (Consumption)
Managed Identity
✅
✅
✅
✅
✅
✅
✅
Relative cost
Medium–High
Low–Medium
Medium
Lowest (per-sec)
Very Low
Lowest (per-exec)
Low (per-action)
Container Compute
Use this table when the scenario involves containers:
Decision Factor
ACI
Container Apps
AKS
No orchestration needed
✅ Best
✅
Overkill
Scale to zero
✅ (ephemeral)
✅ (KEDA)
❌ (cluster always on)
Event-driven auto-scale (queues, Event Hubs)
❌
✅ (KEDA built-in)
✅ (KEDA add-on)
Dapr microservice patterns
❌
✅ (built-in)
✅ (manual install)
Custom Kubernetes controllers / CRDs
❌
❌
✅
GPU workloads
Limited
❌
✅
Stateful sets / PersistentVolumes
❌
❌
✅
Max vCPU per workload
4 vCPU
4 vCPU (Consumption)
Node size × replicas
UDR / Azure Firewall egress
❌
✅ (Dedicated plan)
✅
B/G deploy / canary
❌
✅ (revision traffic split)
✅ (via ingress)
Burst from AKS cluster
✅ (Virtual Nodes)
❌
✅
Kubernetes expertise required
❌
❌
✅
Serverless Functions vs Logic Apps vs Container Apps
Decision Factor
Azure Functions
Logic Apps
Container Apps
Unit of work
Code function
Visual workflow action
Container replica
Best for
Event-driven code, APIs
Connector-heavy integration, B2B
Containerised microservices
Code required
✅
❌ (low-code)
✅ (Dockerfile)
Pre-built integrations
Bindings (limited)
500+ managed connectors
❌ (you build)
B2B / EDI support
❌
✅
❌
Long-running (days)
✅ Durable Functions
✅
✅
Scale to zero
✅ Flex Consumption / Consumption
✅ Consumption
✅
VNet (private resources)
✅ Flex Consumption / Premium
✅ Standard
✅ Dedicated
Max execution timeout
10 min (Consumption) / Unlimited (Flex Consumption, Premium, Dedicated)
Unlimited
Unlimited
Custom container runtime
Limited
❌
✅
Language
C#, Python, JS, Java, PowerShell
Visual (JSON DSL)
Any (container)
Batch Processing — Choosing a Compute Service
The AZ-305 study guide lists “Recommend a compute solution for batch processing” as its own skill. For large-scale parallel and HPC jobs, Microsoft’s answer is Azure Batch. Smaller or event-driven jobs often fit a serverless option better.
Azure Batch is a managed job scheduler for pools of VMs:
Creates and manages a pool of compute nodes (VMs), installs your application, and schedules jobs and tasks across the nodes — no cluster or scheduler software to install or manage
No charge for Batch itself — you pay for the VMs, storage, and networking that jobs use
Fits intrinsically parallel work (3D rendering, Monte Carlo risk simulation, media transcoding, image processing, genetic sequence analysis, OCR, ETL, test execution) and tightly coupled MPI jobs (fluid dynamics, finite element analysis, multi-node AI training)
Input data and applications are staged from Azure Storage; task output is written back to Storage
Pools support autoscale, HPC and GPU VM sizes, and a mix of dedicated and Spot nodes; tasks interrupted by Spot preemption are requeued automatically
A pool can scale down to zero nodes after the job completes
Requirement
Recommended service
Thousands of parallel tasks or MPI jobs on a managed VM pool, HPC/GPU sizes
Azure Batch
An existing HPC scheduler (for example Slurm), job scripts, or queues must stay as they are
Azure CycleCloud (or CycleCloud Workspace for Slurm)
Containerised job on a schedule, on demand, or per queue message — serverless
Container Apps Jobs
Single container that runs to completion, no orchestration
⚠️ Exam Caveat — Azure Batch vs Self-Managed VMs: When a scenario describes large-scale parallel or HPC jobs (render farm, Monte Carlo simulation, transcoding thousands of files) and asks for the least management overhead, the answer is Azure Batch, not a VM Scale Set with a scheduler you install yourself. If the scenario says an existing HPC scheduler must be kept, the answer is Azure CycleCloud: Microsoft advises against moving scheduler-specific workflows to Batch just to avoid managing VMs.
⚠️ Exam Caveat — Spot Nodes in Azure Batch: Spot nodes are the cheapest Batch capacity, but they have no SLA and can be preempted at any time. Batch requeues interrupted tasks automatically. Keep a dedicated-node baseline for jobs with deadlines, and avoid Spot for long-running multi-node MPI jobs: one preemption can force the whole job to rerun. The portal and APIs still call Spot nodes “low-priority”.
Functions Hosting Plans Comparison
Feature
Flex Consumption
Consumption (legacy)
Premium
Dedicated (App Service)
Scale to zero
✅
✅
❌
❌
Cold start
Reduced (always-ready optional)
✅ (yes, present)
❌ (pre-warmed)
❌
Max timeout
Unlimited
10 minutes
Unlimited
Unlimited
VNet Integration
✅
❌
✅
✅
Private Endpoint (inbound)
✅
❌
✅
✅
Deployment slots
❌ (rolling updates)
✅ 2 (incl. production)
✅ 3
✅ 1–20 (by tier)
Min instances
0
0
≥ 1 (billed)
Fixed
OS
Linux only
Windows (Linux retiring 2028)
Windows, Linux
Windows, Linux
Billing
Per execution + always-ready baseline
Per execution
Per pre-warmed instance
Per App Service Plan
Best for
New serverless apps, incl. VNet
Windows-dependent serverless apps
No cold start + VNet
Existing ASP sharing
Logic Apps Hosting Models Comparison
Feature
Consumption
Standard
VNet Integration
❌
✅
Private Endpoints
❌
✅
On-premises (no gateway)
❌
✅ (via VNet)
Workflows per instance
1
Multiple
Stateless workflows
❌
✅
Deployment slots
❌
✅
SLA
99.9%
99.95%
ISE replacement
❌
✅
Billing
Per action
Per App Service Plan
Best for
Simple, public integrations
Private, enterprise workflows
SLA Summary
Service / Configuration
SLA
Single VM (Premium SSD)
99.9%
VMs in Availability Set
99.95%
VMs across Availability Zones
99.99%
App Service (Basic through Premium)
99.95%
App Service Environment (Isolated)
99.99%
AKS Standard tier
99.95%
AKS Standard + Availability Zones
99.99%
Azure Container Instances
99.9%
Azure Container Apps
99.95%
Azure Functions (all plans)
99.95%
Logic Apps Consumption
99.9%
Logic Apps Standard
99.95%
⚠️ Exam Caveat: The highest SLAs (99.99%) in compute require either Availability Zones (VMs, AKS) or App Service Environment (App Service). All serverless services top out at 99.95%.