Use it to choose the right level for a workload and to understand who patches, scales and secures each layer.
Cloud Service Models
Cloud service models describe how much of the stack the provider runs: IaaS gives you virtual infrastructure, PaaS a managed platform for your code or data, SaaS a finished application, and serverless runs code or containers on demand without managing servers.
1. Which layers do we manage in this model?
2. Does the workload fit the platform's limits (runtime, timeouts, state)?
3. What would migration away from this service cost?
workload requirements → model (IaaS, PaaS, SaaS, serverless) → responsibility split → operational tasks (patching, scaling, backup) → cost model
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Read-only Verification Verify boundary
# Azure: what kind of resources does a subscription/resource group contain?
az resource list --resource-group rg-web-prod --query "[].{name:name, type:type}" --output table
# Count by type across a subscription
az resource list --query "[].type" --output tsv | sort | uniq -c | sort -rn | head -20
The resource types (Microsoft.Compute/virtualMachines, Microsoft.Web/sites, Microsoft.Sql/servers/databases …) show which service models a workload actually uses and therefore who patches what.
Step 2 Common mistakes Narrow the fault
- Lifting VMs to the cloud and never revisiting PaaS options.
- Assuming PaaS removes responsibility for data, identity and configuration.
- Using serverless for constant high-throughput work where it costs more than reserved capacity.
- Ignoring exit cost and lock-in for critical systems.
Step 3 Troubleshooting Narrow the fault
Function times out or is throttled. The workload exceeds the plan's execution time or concurrency limits; move long tasks to queues/durable patterns or a different plan.
First request slow after idle. Cold start of a scaled-to-zero service; use a plan with pre-warmed instances or accept the latency.
Patch gap on VMs nobody owns. IaaS left without an OS patching process — assign owners or move to PaaS.
Moving up the stack trades control for less operational work. IaaS = you patch the OS. PaaS = you own code, data and configuration. Serverless = pay per execution, scale to zero, but limits on runtime, cold starts and vendor lock-in.
- Inventory by service type (VMs vs App Service/Functions vs SaaS) and who owns patching.
- For serverless: execution limits, timeouts, concurrency and cold-start behaviour in the service docs.
ReferenceWhat it is2 sections · depth on demand
Direct Answer
IaaS gives you virtual machines, disks and networks — you run and patch the operating system and everything above it. PaaS gives you a managed runtime or data service (web apps, managed databases, Kubernetes control planes) — you bring code, data and configuration. SaaS is a finished application you configure and use. Serverless runs functions or containers only when requests arrive, scales automatically (often to zero) and bills per execution. The higher you go, the less you operate and the less you control.
Scope and canonical references
- Overview and shared responsibility: Cloud Fundamentals.
- Azure services by model: Azure Compute, Azure Storage.
- Equivalent services elsewhere: AWS and Google Cloud.
- Containers and Kubernetes: Containers Domain.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
What you manage
| IaaS | PaaS | Serverless | SaaS | |
|---|---|---|---|---|
| Hardware, virtualization | Provider | Provider | Provider | Provider |
| OS patching | You | Provider | Provider | Provider |
| Runtime, scaling | You | Shared (you set rules) | Provider | Provider |
| Code / configuration | You | You | You | Configuration only |
| Data and access | You | You | You | You |
Examples
| Model | Azure | AWS | Google Cloud |
|---|---|---|---|
| IaaS | Virtual Machines, VM Scale Sets | EC2, Auto Scaling groups | Compute Engine, managed instance groups |
| PaaS (web/app) | App Service | Elastic Beanstalk | App Engine |
| PaaS (database) | Azure SQL Database, Azure Database for PostgreSQL/MySQL | RDS, Aurora | Cloud SQL |
| Managed Kubernetes | AKS | EKS | GKE |
| Functions (FaaS) | Azure Functions | Lambda | Cloud Run functions |
| Serverless containers | Azure Container Apps | Fargate / App Runner | Cloud Run |
| SaaS | Microsoft 365, Dynamics 365 | — | Google Workspace |
Choosing
- Prefer PaaS or serverless when the workload fits: no OS patching, built-in scaling and high availability.
- Use IaaS for software that needs OS access, specific kernels or licences, lift-and-shift migrations, or appliances.
- Serverless fits event-driven and spiky work; watch execution time limits, cold starts, outbound connection limits and per-request cost at high constant load.
- Every step up adds provider-specific APIs; estimate the cost of leaving (data export, re-platforming) for critical systems.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Deep reference
Healthy vs suspicious evidence
Output interpretation
Resource type counts reveal the real service mix: many Microsoft.Compute/virtualMachines and disks mean IaaS — you patch the OS; Microsoft.Web/sites and Microsoft.Sql/servers/databases mean PaaS — the provider patches the platform; Microsoft.Web/sites with kind functionapp is serverless compute.
Compare the list with the operating model: a team that believes it is "all PaaS" but owns dozens of VMs has hidden patching, backup and hardening work.
Design & tradeoffs
Design decisions
Move up the stack when the workload allows: PaaS and serverless remove OS and runtime work and usually improve availability, at the cost of less control and some lock-in.
Stay on IaaS when you need OS-level control, unsupported software, specific licensing, or a lift-and-shift first step.
Containers sit in between: managed Kubernetes removes the control plane but keeps cluster operations.
Decide per component, not per application — a web front end on PaaS with a legacy component on a VM is common and fine if ownership is clear.