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
| Layer | On-premises | IaaS (EC2) | PaaS (Elastic Beanstalk) | SaaS |
|---|---|---|---|---|
| Application | You | You | You | Provider |
| Data | You | You | You | You (configuration) |
| Runtime / middleware | You | You | Provider | Provider |
| Operating system | You | You | Provider | Provider |
| Virtualisation, servers, storage, network | You | AWS | AWS | AWS |
| Physical data center | You | AWS | AWS | AWS |
AWS examples by model
| Model | AWS examples | You still manage |
|---|---|---|
| IaaS | EC2, EBS, VPC | OS patching, runtime, apps, firewall rules |
| PaaS | Elastic Beanstalk, App Runner | Application code and configuration |
| Managed / serverless | Lambda, RDS, DynamoDB, S3, Fargate | Your code, data, access policies |
| SaaS (consumer of) | Amazon Connect, third-party SaaS from AWS Marketplace | Users 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
{
"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.
| Service | What AWS manages | What you still manage |
|---|---|---|
| Amazon RDS | Hardware, OS and engine patching, backups, failover | Schema, queries, users, network access |
| Amazon ECS | Container orchestration control plane | Task definitions, images, IAM roles (and instances unless you use Fargate) |
| Amazon EKS | Kubernetes control plane | Worker nodes (unless Fargate), workloads, access |
| Amazon DynamoDB | Everything below the table: servers, scaling, replication | Table 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
- 1With IaaS you rent virtual servers and manage everything above the hypervisor.
- 2With PaaS you bring code; the platform handles servers and scaling.
- 3With serverless you bring functions and pay per execution.
- 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

