Interview Prep/DevOps Fundamentals/Infrastructure & cloud basics

What is cloud computing, and what are IaaS, PaaS and SaaS?

BeginnerConceptInfrastructure & cloud basics
Answer

In one line: Cloud computing means renting computing resources — servers, storage, databases, networking — over the internet on demand and paying for what you use; IaaS, PaaS and SaaS describe how much of the stack the provider manages for you.

Key characteristics: on-demand self-service, pay-as-you-go, elastic scaling, global reach, and managed services.

The three service models:

  1. IaaS (Infrastructure as a Service)
    • You rent virtual machines, networks and storage. You manage the OS, runtime and app.
    • Examples: AWS EC2, Azure Virtual Machines, Google Compute Engine.
  2. PaaS (Platform as a Service)
    • The provider manages servers, OS and runtime; you deploy your code.
    • Examples: Azure App Service, AWS Elastic Beanstalk, Google App Engine, Heroku. Managed Kubernetes (EKS, AKS, GKE) sits between IaaS and PaaS.
  3. SaaS (Software as a Service)
    • A complete application you just use.
    • Examples: Gmail, Microsoft 365, Slack, Jira Cloud, GitHub.

Who manages what:

Layer On-prem IaaS PaaS SaaS
Application You You You Provider
Runtime / OS You You Provider Provider
Servers / network You Provider Provider Provider

Also common: FaaS / serverless (AWS Lambda, Azure Functions) — just functions, triggered by events, billed per execution; and CaaS (containers as a service, like AWS Fargate).

Pizza analogy: make it at home (on-prem), buy a ready base and add toppings (IaaS), get it delivered (PaaS), eat at the restaurant (SaaS).

Tip for interviews: give one example of each from a cloud you've used, and mention the trade-off: more managed = less control but less operational work.

All DevOps Fundamentals questions

More on Infrastructure & cloud basics