The idea: renting computing, at different heights of the stack
Running a web shop needs a whole stack: hardware, a virtualisation layer, an operating system, a language runtime, the shop application and its data. Cloud computing lets you rent part of that stack from a provider instead of owning it. The question is always the same: which layers do you still manage, and who else shares the machines?
The page follows the NIST definition (SP 800-145). The top panel draws one shop stack four times and colours each layer by who manages it. The bottom panel runs a Black Friday evening on three kinds of cloud and keeps the bill.
Five essential characteristics
NIST calls something a cloud only if it has all five. The chips in the bottom panel light up when a step uses one.
- On-demand self-service: you get a server by calling an API or clicking a button. No person at the provider has to approve it.
- Broad network access: everything is reached over the network with standard protocols, from phones, laptops and other servers.
- Resource pooling: the provider's machines are shared by many customers (tenants). You do not know or choose the exact machine.
- Rapid elasticity: capacity grows and shrinks quickly, often automatically, so it seems unlimited.
- Measured service: use is metered (instance-hours, gigabytes, requests), and you pay for what was measured.
Three service models: IaaS, PaaS, SaaS
The service models differ in how far up the stack the provider goes.
- IaaS (Infrastructure as a Service): you rent virtual machines, storage and networks. The provider runs the hardware and the hypervisor; you install and patch the operating system and everything above it. Example: a rented VM.
- PaaS (Platform as a Service): you hand over your code; the provider runs the OS and the runtime for it. Example: an app platform where you push code and it runs.
- SaaS (Software as a Service): you use a finished application over the network. Example: a hosted shop service, webmail.
| Layer | On-premises | IaaS | PaaS | SaaS |
|---|---|---|---|---|
| data & users | you | you | you | you |
| application | you | you | you | provider |
| runtime | you | you | provider | provider |
| operating system | you | you | provider | provider |
| virtualisation | you | provider | provider | provider |
| hardware | you | provider | provider | provider |
| layers you manage | 6 | 4 | 2 | 1 |
A task makes the table concrete. Demo: who patches the OS? sends an "OS patch" ticket into all four stacks: you patch it on-premises and on IaaS, the provider does it on PaaS and SaaS (2 of 4 each). In Demo: a disk fails you replace the disk only on-premises; in the three cloud models it is the provider's job (you 1 of 4). A bug in the shop code is yours in three models and the provider's only in SaaS.
Shared responsibility
Moving up the stack hands over work, not all of the responsibility. The top layer, your data and who can reach it (user accounts, passwords, access rights), stays yours in every model. Demo: a leaked account is always yours shows it: the ticket lands on "data & users" and you handle it 4 times out of 4. A SaaS provider keeps its servers patched, but it cannot know that one of your staff should no longer log in. Many cloud data leaks start in this top layer: storage left open to everyone, or a weak password, not from the provider's hardware.
Four deployment models
- Private cloud: the cloud runs for one organisation only, in its own data centre or hosted for it. You buy the servers, so their cost is fixed.
- Community cloud: shared by a group of organisations with the same needs, for example several hospitals or government agencies. The page does not draw it.
- Public cloud: open to anyone who pays, run by a provider in its own regions and shared by many tenants.
- Hybrid cloud: two or more of these joined by a network link (here a VPN), so that work can move between them.
Cloud bursting on Black Friday
The shop's normal load is 300 requests per second. On Black Friday it climbs to 1,000 req/s for two hours. One server serves up to 100 req/s. The page uses toy prices to keep the arithmetic easy (they are not real prices): an owned server costs 10 units per hour whether it is busy or idle, and a rented instance costs 15 units per hour while it runs.
Demo: hybrid: burst to public and back keeps the 4 owned servers busy with the normal load and bursts the overflow into a public region: 2 instances at 20:00, 6 at 21:00 and 22:00, 2 at 23:00, none after. Each launch is one API call (on-demand self-service), each termination stops the meter at once (rapid elasticity, measured service).
| Deployment | Owned | Rented instance-hours | Refused | Bill |
|---|---|---|---|---|
| private, 4 servers | 4 | 0 | 5,760,000 requests ā | 320 |
| private, 10 servers (sized for the peak) | 10 | 0 | 0 | 800 |
| public only | 0 | 44 | 0 | 660 |
| hybrid: 4 owned + burst | 4 | 16 | 0 | 560 |
Demo: Black Friday, private cloud only is the cheapest, but it turns away 1,600 req/s over four hours: 36% of the evening's requests. Demo: own enough servers for the peak serves everyone, but the 10 servers are only 55% busy on average and cost the most. Demo: compare the four bills draws all four bill lines.
Owned vs pay-per-use
Renting costs more per hour, owning costs money every hour. So the answer depends on how many hours a server is really needed.
That rule explains the table. Servers 1 to 3 are needed every hour, so owning them is right. Server 4 is needed only from 20:00 to 23:00 (4 of 8 hours), so even it would be cheaper to rent: 3 owned servers plus a burst of 20 instance-hours costs 240 + 300 = 540, less than the 560 of the hybrid on the page. Real teams keep some headroom on owned servers anyway, because a full server is a slow server.
Where the other pages fit
The rented virtual machines of IaaS are the VMs of containers vs VMs, and the hypervisor below them is shown in hypervisor VM exits. A provider can move a running VM to another host for maintenance without you noticing: see VM live migration. Bursting is horizontal scaling across two clouds; scale up vs scale out compares it with buying a bigger machine, and Kubernetes autoscaling shows how the number of pods and nodes follows the load. Serverless functions go one step past PaaS: you pay per request and nothing runs between calls, at the price of cold starts. Cloud IoT services keep a device shadow for each device: a SaaS-style service where the device state is still your data.
See also Data-Parallel Training, the kind of multi-GPU job that rented GPU instances run.
What the page leaves out
Real providers draw the service-model lines with more layers (networking, identity, middleware) and some managed services sit between the classic three. Serverless functions, containers as a service and other "X as a service" offers are not drawn. The community cloud is described but not animated. Real bursting takes minutes to launch instances and needs the application and its data to be reachable from both clouds (data transfer costs, latency over the VPN, licensing, data residency rules); the page launches instances at the start of each hour because the sale was known in advance. Real prices vary by provider, region, size and discounts for long commitments (reserved or spot capacity), and owned servers also cost power, cooling, space and staff; the page uses two flat toy prices.