Free lesson · Module 1, lesson 3 of 7

The cloud in one picture: computers rented by the minute

Say what a cloud provider rents (compute, storage, networks, identity), tell IaaS, PaaS and SaaS apart with a hostel mess picture, and say what regions and availability zones are for.

Lessons in this module

Lesson notes

For the student

A cloud provider rents computers and what goes around them, so you pay for the time you use instead of buying servers that sit idle. Nothing to install for this lesson; every required lab of the course runs on your own laptop for free, and a real cloud account is optional (module 5 says what it can cost).

What a provider rents

  • Compute: computers to run programs, usually virtual machines (slices of a big physical server)
  • Storage: disks, and buckets that hold files
  • Networks: private networks and firewalls that decide who can reach what
  • Identity: users, roles and permissions, who may do what
  • A region is a city with several data centres; the big providers have regions in India (AWS: Mumbai is ap-south-1, Hyderabad is ap-south-2)
  • An availability zone is a separate building in a region, with its own power and network
  • Pick a region close to your users, and one that meets the rules about where their data may be kept

Who manages what (the hostel mess)

  • IaaS, a rented kitchen: you manage the operating system and its fixes, the runtime, your code and data
  • PaaS, a mess that cooks your recipe: you bring only your code and data; the provider runs the rest
  • SaaS, the canteen thali: you only use a finished app, such as email in a browser
  • The provider always owns the buildings, servers, disks and network
  • Shortcut: count the layers you manage; more layers is more control and more work

Zones

  • One zone shares one building's power: two copies there fail together
  • Two zones in one region survive one building failing, at the lowest cost
  • Two regions on two continents also survive, but add distance and cost

Try it

  • Worksheet task 3 in labs/m01/README.md: mark each of the six college services IaaS, PaaS or SaaS, and say who installs the operating system's security fixes
  • One row reads "a rented disk for backups": take it as a disk attached to the results site's rented virtual machine, so it is IaaS and the college patches that machine
  • You should have a six row table: service, model, who patches

Lesson quiz

Checked in your browser. Nothing is sent or saved.

5 questions

Question 1 · easy

Which four building blocks does a cloud provider rent?

Question 2 · easy

What is an availability zone?

Question 3 · medium

Which layout does not survive one building losing power?

Question 4 · medium

Your app runs on a rented virtual machine (IaaS). A security fix comes out for its operating system. Who installs it?

Question 5 · medium

Which of these is platform as a service?

DevOps: a way of working, not a toolNext: Meet the Campus Notice Board: the service you will run