Cloud computing (IaaS, PaaS, SaaS)
From owning a server room to renting one by the hour: the three cloud models, who looks after which layer in each, and how the bill is worked out.
In 30 seconds
Cloud computing means renting computers from a provider over the internet instead of buying and running your own.
The three models differ in how much the provider runs for you. IaaS rents you bare virtual machines. PaaS also runs the operating system and runtime, so you only bring code. SaaS is a finished application you just sign in to.
In all three you pay for what you use, and can add or hand back capacity in minutes.
Cloud computing (IaaS, PaaS, SaaS), step by step
Real products blur these lines, and the stack is drawn with six layers for simplicity. In every model you stay responsible for your own data and for who is allowed to sign in. The $0.10 rate is illustrative.
- Step 1: Owning the servers. Before the cloud, running an application meant buying machines and looking after every layer under it: the hardware, the operating system, the runtime your code needs, the data and the app itself. The machines had to be bought for the busiest day, long before it arrived.
- Step 2: Renting instead. A cloud provider runs huge data centres and rents out slices of them over the internet. You ask for two servers through a web page or an API, they are ready in minutes, and you hand them back when you no longer need them. Nothing is bought.
- Step 3: IaaS: rent the machines. Infrastructure as a Service rents you the bottom of the stack: virtual machines, disks and networks. The provider keeps the hardware and the virtualization running. You still install and patch the operating system and everything above it, so you keep the most control and the most work.
- Step 4: PaaS: rent the platform. Platform as a Service takes over two more layers: the operating system and the runtime. You hand over your code and your data, and the platform builds it, runs it and keeps the machines patched. Less to operate, in exchange for doing things the platform’s way.
- Step 5: SaaS: rent the software. Software as a Service is a finished application that you simply use, normally through a browser. The provider writes, runs and updates all of it. You choose settings and decide who in your team may sign in, but there is nothing for you to install or operate.
- Step 6: Who manages what. Side by side, the three models are the same stack with the dividing line drawn at a different height. Each move to the right hands more layers to the provider: less for you to operate, and less freedom to change how those layers work.
- Step 7: Pay as you go. Rented capacity is billed for the time it runs, like electricity. This shop needs 2 servers most of the day and 10 for a four-hour evening peak: 80 server-hours. A fleet owned for that peak offers 240 and sits two-thirds idle. For a steady load, owning or reserving can still cost less.
Try it yourself
Learn this first
Nothing. This concept starts from scratch.
Learn next
- Virtual machines and hypervisorsOne physical computer divided into several complete, separate ones by a hypervisor. Beginner
- AutoscalingA group of servers grows and shrinks with traffic, steered by a metric and two rules. Intermediate
- Multi-cloud vs hybrid cloudSeveral public clouds, or your own servers plus a cloud: what each buys and costs. Beginner
Spotted a mistake on this page?