IaaS, PaaS, SaaS and the Shared Responsibility Model

First lesson of the Cloud Fundamentals course, free to read: about 15 minutes, 3 exercises and 3 quiz questions. This is the catalogue's base lesson; in the student space, it is rewritten for your profile.

Objectives

  • Define the cloud and its essential characteristics
  • Distinguish IaaS, PaaS, SaaS (and serverless) from examples
  • Split responsibilities between the provider and the customer depending on the model

Definition of the cloudIaaS, PaaS, SaaSPublic, private, hybrid cloudShared responsibility

What is the cloud?

Before the cloud, launching an application meant buying servers, installing them in an air-conditioned room, planning capacity for the year’s peak and replacing them all every five years. Cloud computing reverses the logic: you rent computing resources from a provider, over the Internet, when you need them.

The reference definition (published by NIST, the US standards institute) lists five characteristics:

  1. On-demand self-service: you create a server or a database in a few minutes, without human intervention from the provider.
  2. Broad network access: everything is controlled over the Internet (web console, command line, API).
  3. Resource pooling: physical resources are shared among many customers, isolated from one another.
  4. Elasticity: capacity increases or decreases quickly, sometimes automatically.
  5. Measured service: consumption is measured and billed by usage (hour, second, gigabyte, request).

Three service models

Imagine a stack of layers: building and electricity, physical servers, network, virtualization, operating system, runtime environment, application, data. The question is: who manages what?

Model You manage The provider manages Examples
IaaS (Infrastructure as a Service) operating system, patches, software, application, data hardware, physical network, virtualization virtual machines (Amazon EC2, Azure Virtual Machines, Google Compute Engine)
PaaS (Platform as a Service) application code, configuration, data everything else, including OS and runtime environment application hosting (AWS Elastic Beanstalk, Azure App Service, Google App Engine), managed databases
SaaS (Software as a Service) settings, users, data the entire application email, office suite, online CRM

Serverless (functions such as AWS Lambda, Azure Functions, Cloud Run functions) takes PaaS further: you deploy a function, it runs on each event, and you only pay for executions. No server to size, but with constraints (maximum duration, cold start).

The choice is a trade-off: IaaS gives control (any software, any configuration) but also the burden (security updates, backups). PaaS and SaaS free up time but impose their rules.

Shared responsibility

In the cloud, security is shared: the provider is responsible for the security of the cloud (data centers, hardware, hypervisor), the customer for security in the cloud. The boundary depends on the model:

  • in IaaS, applying the VM’s operating system patches is your job;
  • in PaaS, the provider updates the platform, but the application configuration and permissions remain yours;
  • in SaaS, the provider manages all the software, but who has access to what remains your decision.

Three elements are always the customer’s responsibility: its data (classification, backup, encryption as needed), its identities and access permissions, and the configuration of what it deploys. Most cloud data leaks, in fact, come from customer-side misconfiguration (storage made public, weak password), not from a provider flaw.

Public, private, hybrid

  • Public cloud: the provider’s infrastructure, pooled among customers (AWS, Microsoft Azure, Google Cloud, and other providers, including European ones).
  • Private cloud: infrastructure dedicated to a single organization, in-house or at a hosting provider.
  • Hybrid cloud: a combination of the two, for example sensitive data on-premises and elastic compute in the public cloud. We speak of multicloud when using several public providers.

Key takeaways

  • Cloud = on-demand, elastic resources, billed by usage.
  • IaaS, PaaS, SaaS: the higher you go, the less you manage, the less you control.
  • Data, identities and configuration always remain your responsibility.

Exercises

Solutions and tests stay on the server. In the student space, your code is run and checked, and the tutor gives hints before the solution.

  1. TaskDifficulty 12 hints

    Classify services

    Classify each of these solutions as IaaS, PaaS or SaaS, then indicate for each who applies the operating system security patches:

    No. Solution
    1 A Linux virtual machine rented to host an ERP
    2 A managed PostgreSQL database (automatic backups)
    3 A corporate email service used in a browser
    4 A platform where you deploy your API code with git push
    5 An online CRM with per-user subscription
    • Each solution has a model (IaaS, PaaS or SaaS)
    • For each solution, the party responsible for OS patches is indicated (customer or provider)
    • The classification is justified in one sentence per row
  2. Multiple choiceDifficulty 11 hint

    Shared responsibility

    A company stores customer files in an object storage service and accidentally makes them public. According to shared responsibility, who is responsible?

    • The cloud provider, because it hosts the files
    • The customer company, because access configuration is its job
    • Nobody, it is an inherent risk of the cloud
    • The browser vendor
  3. Multiple choiceDifficulty 21 hint

    Choose a model

    A team of two developers wants to deploy an API without managing servers or system updates, while keeping their own code. Which model fits best?

    • IaaS
    • PaaS or serverless
    • SaaS
    • On-premises private cloud

End-of-lesson quiz

  1. Which of these is NOT an essential characteristic of the cloud?

    • Elasticity
    • Pay-per-use billing
    • Permanent purchase of the hardware by the customer
  2. In IaaS, who installs the security updates of the VM’s operating system?

    • The provider
    • The customer
    • Nobody
  3. What is a hybrid cloud?

    • A cloud that mixes IaaS and SaaS
    • A combination of private infrastructure and public cloud
    • A cloud powered by renewable energy

The rest of the course

  1. Regions, Zones and Availability15 min
  2. Identities and Access Permissions15 min
  3. Understanding and Controlling Costs15 min
  4. Comparing AWS, Azure and Google Cloud15 min

Cloud Fundamentals · Beginner · 1 h 15 min