notesonly.in

One notebook for every subject — open it anywhere.

Log in

Service Models: IaaS, PaaS and SaaS With easy examples.

Cloud services come in three main models: IaaS, PaaS, and SaaS. Each one is a different level of rented computing. With Infrastructure as a Service (IaaS), you rent raw building blocks — virtual machines, storage, and networks — and you install and manage the software yourself. With Platform as a Service (PaaS), the provider also manages the OS, database, and runtime — you only deploy your code. With Software as a Service (SaaS), the finished application is ready to use — you just sign in.

This matters because it decides who does which work. A startup picking SaaS can use email or accounting software in minutes with no technical team; a company building a custom product may pick IaaS or PaaS for control. Choosing wrong wastes money and time.

Key Concepts

  • IaaS (Infrastructure as a Service): rented virtual hardware — you manage the OS and apps. Examples: Amazon EC2, Google Compute Engine.
  • PaaS (Platform as a Service): rented platform plus hardware — the provider manages OS, runtime, and databases; you manage code and data. Examples: Heroku, Google App Engine.
  • SaaS (Software as a Service): finished software over the internet — the provider manages everything. Examples: Gmail, Google Docs, Salesforce.
  • Shared responsibility model: security is split: you secure the OS and apps in IaaS; the provider secures more in PaaS/SaaS, but your data and access control are always yours.
  • Scaling: all three let you add or remove resources on demand — the core advantage over buying servers.

How It Works

  1. The provider runs huge data centres full of virtualized servers.
  2. For IaaS, you create virtual machines, attach storage, and set up networks in a control panel, then log in and install everything else yourself.
  3. For PaaS, you connect your code repository; the platform builds it, provides a database, and serves it — patching and scaling are automatic.
  4. For SaaS, there is no infrastructure step: you open a browser, log in, and use the application.
  5. In every model you are billed for what you use, typically per hour, per user, or per gigabyte.

Worked Example

A company needs its website up for a month (730 hours). IaaS: two VMs at 5 cents/hour cost 2 × 0.05 × 730 = 73 dollars/month, plus server maintenance effort. PaaS: a managed app service at 60 dollars/month, no maintenance. SaaS: a hosted shop plan at 29 dollars/month, zero setup. Custom features → PaaS at 60 dollars wins; just a shop → SaaS at 29 dollars wins. Matching the model to the job saves the money.

Common Misconceptions

  • "The cloud handles all security." Even with SaaS, you control passwords, permissions, and data sharing — customer misconfiguration causes most cloud breaches, not the provider.
  • "SaaS is always cheapest." For standard needs it is, but heavy custom workloads can be cheaper on IaaS at scale, since SaaS charges per user or transaction.
  • "PaaS means you cannot control anything." PaaS hides servers, but you still control code, configuration, and data — it removes the plumbing, not the product decisions.

Real-World Applications

IaaS powers companies like Netflix, running thousands of VMs for global traffic. Startups and students love PaaS, deploying to Heroku or Render in minutes without touching a server. SaaS is what most people use daily — Gmail, Microsoft 365, Zoom, Canva. Colleges deploy lab projects on PaaS free tiers, and companies move office software to SaaS to stop maintaining servers.

To recap: IaaS rents the machines, PaaS adds the managed platform, SaaS gives the finished app. Higher up means less to manage and faster starts, but less control — pick the model matching how custom your needs are.