Topic 174 / Core
Cloud computing fundamentals: IaaS, PaaS, SaaS
Chapter 11.1 · Cloud Fundamentals
What and why
Before cloud computing, running a service meant buying, racking, and operating physical machines — capital cost up front, slow to add capacity, and someone's job to keep the lights on. Cloud computing rents that infrastructure, metered by usage, from a provider who operates the physical layer. Three service models trade control for convenience: IaaS (raw virtual machines, storage, network — you manage the OS up), PaaS (a managed runtime — you manage code and config, the provider manages the OS and runtime), and SaaS (a finished application — you manage only your data and configuration inside it). Builds on: → 10 (client–server architecture).
Diagram
| Layer | On-prem | IaaS | PaaS | SaaS |
|---|---|---|---|---|
| Application & data | you | you | you | provider |
| Runtime & middleware | you | you | provider | provider |
| OS | you | you | provider | provider |
| Virtualization, servers, network, datacenter | you | provider | provider | provider |
How it works
- The provider operates physical datacenters, networking, and virtualization — this layer is never yours to manage, in any model.
- IaaS exposes raw compute, storage, and network as rentable building blocks (→ 179 VMs, → 178 storage) — you install and patch the OS, runtime, and application yourself.
- PaaS adds a managed runtime: you push code or a container image; the provider handles the OS, patching, and scaling of the runtime underneath it.
- SaaS removes infrastructure concerns entirely: you consume a finished application through an API or UI and manage only your own data and configuration inside it.
- The shared responsibility model formalizes the boundary at every layer: the provider secures what it manages; you secure everything above that line — a misconfigured IaaS security group is your incident, not the provider's.
- Moving up the stack trades control and flexibility for less operational burden; the right layer depends on what differentiates your product versus what is merely infrastructure plumbing.
Practical example
(numbers illustrative). A three-person team builds an order-processing API. On IaaS — provisioning VMs, patching the OS monthly, building their own autoscaling — infrastructure upkeep runs roughly 1 person-day/month. The same API on a PaaS (push a container, the platform handles OS patching and scaling) cuts that to near zero, at the cost of control over the exact OS version and low-level tuning. For a three-person team that trade is usually worth it; for a platform team running 200 services, the control IaaS gives back can be worth the overhead.
When to use it
- Use IaaS when you need low-level control (custom kernels, licensing, a specific compliance posture) or you're building the platform other teams will stand on.
- Use PaaS/FaaS (→ 184) when the application is the differentiator and infrastructure is not — the fastest path to running code.
- Use SaaS when the capability itself (email, CRM, payments) is not your product.
- Avoid IaaS by default for a small team with no dedicated infra function — the operational cost compounds silently.
- Failure scenarios: treating a PaaS as if you own the OS (assuming local disk persists, assuming a fixed IP) and being surprised when the platform recycles the instance; misreading the shared-responsibility line and leaving a resource publicly exposed because "the provider handles security."
- Simpler alternative: for a single small service, one managed PaaS deployment (or even one well-monitored VM) beats building a custom platform on raw IaaS — add control only when a specific requirement demands it.
Practice
(decision kind — judge scenarios, 15–20 min, paper exercise). For four scenarios (a regulated bank's core ledger, a two-person startup's MVP, an internal admin tool, a video-transcoding pipeline), classify which service model fits best and justify in one sentence each, naming the specific control traded away by moving up a layer. Done when every choice names that trade-off explicitly.
Key takeaway
IaaS, PaaS and SaaS are the same stack with the management boundary drawn at different layers; the right layer depends on what you actually need to control. Done when you can: point to the shared-responsibility line for a given workload and defend it. Used next in → 175 (the physical topology underneath every model), → 178 (the concrete compute and storage blocks), → 184 (serverless, the far PaaS/FaaS end of the spectrum).
References
None — this topic makes no external claims.
Source directory