SkillSprout
Chapter 1 · Lesson 3
Beginner
5 min read

Service Models: IaaS, PaaS and SaaS

Overview

Cloud services come in different levels of "how much do I manage?". The three classic service models are Infrastructure as a Service (IaaS), Platform as a Service (PaaS) and Software as a Service (SaaS).

Use a pizza analogy. IaaS is buying the dough and toppings and baking at home: you control a lot but do the work. PaaS is takeaway pizza: you choose toppings, the kitchen handles the oven. SaaS is eating at a restaurant: the pizza arrives ready and you just enjoy it.

The more managed the model, the less control and less operational work you have. AWS offers all three, and the exam asks you to classify services and recognise which model fits a requirement.

Key Concepts

  • IaaS gives you basic building blocks - virtual servers, storage and networks - and you manage the OS and above. Example: Amazon EC2.
  • PaaS removes the need to manage the underlying infrastructure so you focus on code. Example: AWS Elastic Beanstalk.
  • SaaS is a finished application delivered over the internet. Example: Amazon Connect (contact center), or third-party software like email and CRM.
  • Managed services such as RDS and S3 are AWS-operated: AWS handles patching, backups and hardware.
  • Serverless (Lambda, Fargate, DynamoDB) goes further: no servers to provision or manage, and you pay per use.
  • More abstraction means less flexibility but less operational burden.
  • AWS manages the cloud itself in all models; the split of the rest changes by service.

Detailed Notes

Who manages what

LayerOn-premisesIaaS (EC2)PaaS (Elastic Beanstalk)SaaS
ApplicationYouYouYouProvider
DataYouYouYouYou (configuration)
Runtime / middlewareYouYouProviderProvider
Operating systemYouYouProviderProvider
Virtualisation, servers, storage, networkYouAWSAWSAWS
Physical data centerYouAWSAWSAWS

AWS examples by model

ModelAWS examplesYou still manage
IaaSEC2, EBS, VPCOS patching, runtime, apps, firewall rules
PaaSElastic Beanstalk, App RunnerApplication code and configuration
Managed / serverlessLambda, RDS, DynamoDB, S3, FargateYour code, data, access policies
SaaS (consumer of)Amazon Connect, third-party SaaS from AWS MarketplaceUsers and settings

Strictly, AWS does not draw hard lines. Many services sit between models; the exam focuses on the idea that managed services reduce your operational load.

EC2 versus Lambda versus Elastic Beanstalk

  • EC2: you pick the instance, install software and patch the OS. Maximum control.
  • Elastic Beanstalk: upload your application; Beanstalk provisions EC2, load balancing and Auto Scaling for you.
  • Lambda: upload a function; AWS runs it on demand with no servers to manage.

Choosing a model

json
{
  "needFullControlOfOS": "IaaS (EC2)",
  "justDeployCode": "PaaS (Elastic Beanstalk)",
  "runShortEventDrivenCode": "Serverless (Lambda)",
  "needReadyMadeApplication": "SaaS"
}

Managed AWS services in the service-model picture

"Managed" means AWS runs the undifferentiated work for you. The exam names four examples repeatedly.

ServiceWhat AWS managesWhat you still manage
Amazon RDSHardware, OS and engine patching, backups, failoverSchema, queries, users, network access
Amazon ECSContainer orchestration control planeTask definitions, images, IAM roles (and instances unless you use Fargate)
Amazon EKSKubernetes control planeWorker nodes (unless Fargate), workloads, access
Amazon DynamoDBEverything below the table: servers, scaling, replicationTable design, capacity mode, access policies

Managed services cost a little more per unit than doing it yourself on EC2, but they usually lower total cost because you save staff time on patching, backups and 3 a.m. failovers.

Trade-offs

IaaS suits migrations of existing software and special OS requirements. PaaS and serverless speed up delivery and reduce staffing needs. SaaS is quickest but offers the least customisation. A typical company uses all three side by side.

Real World Example

A small agency hosts a customer portal. At first they run it on EC2 and patch the OS themselves (IaaS), which consumes a developer's time. They move the app to Elastic Beanstalk (PaaS) so deployments and scaling are automatic, then replace the self-hosted MySQL with Amazon RDS (managed).

For internal email they use a hosted mail service (SaaS). The developer's time shifts from patching to building features.

Architecture Diagram

More managed means less to operate
Architecture
Service models
IaaSEC2 - you manage OS
PaaSElastic Beanstalk
ServerlessLambda
SaaSFinished app
  1. 1With IaaS you rent virtual servers and manage everything above the hypervisor.
  2. 2With PaaS you bring code; the platform handles servers and scaling.
  3. 3With serverless you bring functions and pay per execution.
  4. 4With SaaS you simply use the finished software.

Best Practices

  • ✓Choose the most managed option that meets your requirements to reduce operational work.
  • ✓Use IaaS only when you need OS-level control or lift-and-shift compatibility.
  • ✓Prefer serverless for spiky, event-driven workloads.
  • ✓Document who patches what, even in managed services, to avoid gaps.
  • ✓Revisit lift-and-shift workloads and modernise them to managed services over time.

Common Interview Questions

Exam Tips

CLF-C02 focus

  • EC2 = IaaS; Elastic Beanstalk = PaaS; know that in one second.
  • Questions about "least operational overhead" point to managed or serverless services.
  • With managed services AWS still does not manage your data or your IAM permissions.
  • SaaS means the customer manages the least.

Finished this lesson?

0 of 43 lessons done · 0% of the course