AZ-104 Part 3: Compute (VMs, Availability, VMSS, App Service, AKS)
Every way Azure lets you run code, from bare VMs to fully-managed containers, with the exam's key uptime numbers.
Series
Azure AZ-104 Notes
- 0Azure AZ-104 Study Guide: Roadmap & Summary
- 1AZ-104 Part 1: Identity & Governance (Azure AD, RBAC, Policy)
- 2AZ-104 Part 2: Storage, Redundancy & Access Tiers
- 3AZ-104 Part 3: Compute (VMs, Availability, VMSS, App Service, AKS)Reading
- 4AZ-104 Part 4: Networking (VNet, NSG, VPN, Load Balancer, DNS)
- 5AZ-104 Part 5: Monitor, Backup & Recovery
AZ-104 Part 3 — Compute
The spectrum from IaaS to PaaS
More control Virtual Machines → VM Scale Sets → ACI → AKS → App Service Less control
Less managed More managed
Virtual Machines (IaaS)
az vm create -g myrg -n webvm \
--image Ubuntu2204 --admin-username azureuser --generate-ssh-keys
- OS disk — required (28 GB min).
- Data disks — attach separately, live longer than the VM.
- Temp disk — fast, but wiped on stop.
Availability — the SLA cheat sheet
| Setup | Uptime SLA |
|---|---|
| Single VM with Premium SSD | 99.9% |
| Availability Set (spread across racks) | 99.95% |
| Availability Zone (spread across zones) | 99.99% |
Availability Sets protect from rack failure; Availability Zones protect from datacenter failure. Zones win when the exam mentions "datacenter outage".
VM Scale Sets (VMSS)
A group of identical VMs behind a Load Balancer that grows/shrinks based on load. Perfect for stateless web tiers.
az vmss create -g myrg -n webscale --image UbuntuLTS --instance-count 3
App Service (PaaS web hosting)
- App Service Plan = the machine you're renting (Free, B1, S1, P1v3…).
- Web App = the code that runs on it.
- Deployment Slots = staging → swap to production with zero downtime.
- Scale Up = bigger machine. Scale Out = more machines.
Containers on Azure
| Service | Use it when |
|---|---|
| ACI (Container Instances) | One-shot job / small container, no orchestration |
| AKS (Kubernetes) | Real production, many services, autoscale, DevOps |
| ACR (Container Registry) | Private Docker Hub for your images |
Real-world example
Your college project runs on a B1 App Service (₹1000/mo). Traffic spikes on results day → you scale up to P1v3 for 24 h then back to B1. No servers touched, no downtime, invoice barely moves.
Exam gotchas
- Availability Set = same region, different racks (99.95%).
- Availability Zones = different datacentres in the region (99.99%).
- Deployment slots exist on Standard, Premium, Isolated App Service plans — not on Free/Basic.
- ACI billed per second; AKS billed per node VM.
Keep reading
You may also like
azure
AZ-104 Part 2: Storage, Redundancy & Access Tiers
Storage Accounts, Blob vs File vs Disk, LRS/ZRS/GRS explained with a picture, plus SAS tokens and Soft Delete.
azure
Azure AZ-104 Study Guide: Roadmap & Summary
One-page map of the whole AZ-104 exam — the 5 domains, what each covers, and where to click next for the deep dive.
azure
Deploying a Static Web App on Azure
Zero to production Azure Static Web Apps with GitHub Actions in under 10 minutes.
Discussion (0)
No comments yet. Be the first to weigh in.