Cloud FoundationsAWS SAA-C03AZ-104Security+

Cloud Service Models (IaaS, PaaS, SaaS) Explained for AWS, Azure, and CompTIA

Before you can architect a cloud solution or answer a security question about cloud responsibility, you need to understand what cloud service models are and what they actually change about who manages what. IaaS, PaaS, and SaaS are not just marketing categories. They define how much of the technology stack you control, how much flexibility you have, and who is responsible when something goes wrong. Every cloud certification — from AWS SAA-C03 to AZ-104 to Security+ — tests these concepts because they set the context for every other cloud decision.

12 min
6 sections · 7 exam key points
6 practice questions

What are cloud service models?

A cloud service model defines the division of responsibility between the cloud provider and the customer. At one end of the spectrum, on-premises computing puts every layer — hardware, OS, platform, application, and data — entirely under your control. At the other end, SaaS hands almost everything to the provider. IaaS and PaaS sit between those extremes.

The three service models exist because different use cases need different trade-offs. A startup building a new web app doesn't want to manage servers. An enterprise migrating a legacy application might need to control every detail of the OS. A company using payroll software just wants the functionality without any infrastructure concern. IaaS, PaaS, and SaaS map directly to these scenarios.

Understanding service models is foundational for cloud certifications because every other topic — shared responsibility, AWS IAM, Azure resource management — assumes you know where provider responsibility ends and customer responsibility begins.

Infrastructure as a Service (IaaS) explained with AWS and Azure examples

IaaS gives you raw compute, storage, and networking resources that you manage yourself. The cloud provider owns and operates the physical hardware, the data center, the virtualization layer, and the hypervisor. You get virtual machines, storage volumes, and network configurations — and you are responsible for everything above that layer: the operating system, middleware, runtime, applications, and data.

Amazon EC2 is the defining IaaS example on AWS. When you launch an EC2 instance, AWS provides the server hardware and hypervisor. You choose the operating system, configure it, patch it, install your software stack, and manage it on an ongoing basis. You have full root access and full operational responsibility. Other AWS IaaS services include Amazon VPC for networking, Amazon EBS for block storage, and Amazon EFS for file storage.

Azure Virtual Machines is the Azure equivalent. When you deploy a VM, Microsoft provides the physical host and virtualization layer. You select the OS image, configure the machine, manage updates, and install your workloads. Azure also places the VM inside a Virtual Network (VNet) that you configure, giving you control over subnets, NSGs, and routing.

IaaS is the right choice when you need full control over the environment, are lifting and shifting existing software that cannot be refactored for cloud-native services, or have specific OS or kernel requirements. The trade-off is operational overhead: your team must handle OS patching, security hardening, capacity planning, and performance tuning. The cloud does not manage your VMs for you.

Platform as a Service (PaaS) explained with AWS and Azure examples

PaaS removes the infrastructure and platform management burden so you can focus exclusively on your application code and data. The cloud provider manages the OS, the runtime environment, middleware, and all patching and scaling. You deploy code, configure the application, and manage data. You cannot SSH into the underlying server — and you don't need to.

AWS Elastic Beanstalk is a PaaS offering. You upload your application code, choose your runtime (Node.js, Python, Java, Ruby, etc.), and Beanstalk handles deployment, load balancing, auto-scaling, and health monitoring. Amazon RDS is another PaaS example: AWS manages the database engine, OS, storage, patching, and backups. You manage the database schema, queries, connections, and data.

Azure App Service is the primary Azure PaaS for web applications. You deploy code in your chosen language and runtime, and Microsoft manages everything underneath — the OS, the runtime version, patching, availability, and scaling. Azure SQL Database is PaaS for relational workloads: Microsoft patches the SQL Server engine and manages storage; you manage your database schema and data.

PaaS reduces time-to-market significantly because you skip infrastructure provisioning and ongoing maintenance. The trade-off is reduced flexibility. You work within the supported runtimes and configurations the platform offers. If your application has unusual dependencies or requires custom kernel modules, PaaS may not fit.

Software as a Service (SaaS) explained with AWS, Azure, and Microsoft 365 examples

SaaS is software you subscribe to and use without managing any infrastructure, platform, or application layer. The provider manages everything from physical hardware through the application itself. You manage your data and user access — nothing else. You interact with the software through a browser or API.

Microsoft 365 (formerly Office 365) is the most widely recognized SaaS product. Microsoft runs the Exchange mail servers, the SharePoint infrastructure, the Teams platform, and all application updates. You manage users, permissions, and the content your organization creates. You never patch Exchange or manage a database. Amazon WorkMail is an AWS SaaS email service that works the same way.

Salesforce, Zoom, Slack, and Dropbox are all SaaS. When your company signs up for Slack, no one provisions servers or installs software. You configure your workspace, add users, and use the product. The provider handles all availability, scaling, and security of the application layer.

SaaS is appropriate when you need business functionality without building or operating it, and when the application does not need deep customization of the underlying platform. The risk is vendor dependency — your operations rely on the provider's availability, pricing decisions, and data handling practices. Under the shared responsibility model, you still own your data and are responsible for who has access to it, even in SaaS.

Cloud service models and the shared responsibility model

Service models directly determine your security responsibilities. The shared responsibility model states that as you move from IaaS to PaaS to SaaS, the cloud provider takes on progressively more security responsibility. But certain responsibilities never transfer: your data, your users, and your access controls are always yours.

In IaaS, you are responsible for OS patching, firewall configuration, network access controls, application security, and data encryption. A misconfigured EC2 security group that exposes a database to the internet is your misconfiguration, not AWS's.

In PaaS, OS patching and runtime security move to the provider. You are responsible for secure application code, correct application configuration, and data handling. An application vulnerability in code you deployed to Azure App Service is still your responsibility.

In SaaS, the provider manages application security. You are responsible for identity and access management — which users have access, what permissions they hold, whether MFA is enforced. A SaaS breach caused by a compromised user account with excessive privileges is always a customer-side failure.

How to answer IaaS, PaaS, and SaaS exam questions

Exam questions on service models fall into three patterns: identify the model from a description, match a service to a model, or determine responsibility under the shared responsibility model.

For identification questions, look for the management boundary. The question mentions managing the OS, patching servers, or configuring the runtime yourself: that is IaaS. The provider manages the platform, you push application code: that is PaaS. The provider manages everything, users just log in and use software: that is SaaS.

For service matching: AWS EC2, Azure VM, Google Compute Engine = IaaS. AWS Elastic Beanstalk, AWS RDS, Azure App Service, Azure SQL Database, Google App Engine = PaaS. Microsoft 365, Gmail, Salesforce, Amazon WorkMail = SaaS. A common trap is placing RDS in IaaS because it involves databases and servers. RDS is PaaS — AWS manages the engine, OS, and patching.

For shared responsibility questions, the formula is: IaaS = customer manages OS and above. PaaS = customer manages application and data. SaaS = customer manages data and access. Encryption at rest is a shared control in all three models: the provider offers the capability, the customer decides to enable it and manages the keys.

IaaS vs PaaS vs SaaS — responsibility by layer

LayerOn-PremisesIaaSPaaSSaaS
ApplicationsYouYouYouProvider
DataYouYouYouYou
Runtime / MiddlewareYouYouProviderProvider
Operating SystemYouYouProviderProvider
VirtualizationYouProviderProviderProvider
Servers / Storage / NetworkingYouProviderProviderProvider
Physical data centerYouProviderProviderProvider

Key exam facts — AWS SAA-C03 / AZ-104 / Security+

  • IaaS: you manage OS and above. Provider manages hardware, network infrastructure, and virtualization.
  • PaaS: you manage application code and data. Provider manages OS, runtime, middleware, and platform patching.
  • SaaS: you manage data and user access only. Provider manages everything else including the application.
  • EC2 / Azure VM / Compute Engine = IaaS. Elastic Beanstalk / App Service / RDS / Azure SQL = PaaS. Microsoft 365 / Gmail / Salesforce = SaaS.
  • RDS is PaaS, not IaaS — AWS manages the database engine, OS, and backups. You manage schema and data.
  • Under the shared responsibility model, more provider control = fewer customer security responsibilities — but data and IAM are always yours.
  • Encryption at rest: provider offers the capability; customer decides to enable it and manages the keys (shared control).

Common exam traps

PaaS means you have no control over your application.

PaaS removes infrastructure and platform management, but you retain full control over your application code, configuration, and data. The platform handles the operational complexity underneath — OS, runtime, patching, and scaling. You decide what to deploy and how the application behaves.

SaaS is always less secure than IaaS because you have less control.

Security depends on implementation quality, not the level of control. A well-run SaaS application with dedicated security teams and automated patching may be far more secure than a poorly maintained, unpatched IaaS VM. The shared responsibility model defines who is responsible for what — not which model is inherently more secure.

Managed database services like RDS are IaaS because they run on servers.

RDS is PaaS. AWS manages the OS, database engine, patching, automated backups, and storage. You manage the database schema, queries, and data. The fact that it runs on physical servers underneath does not change the service model classification.

In SaaS, the customer has no security responsibilities.

Even in SaaS, the customer is responsible for managing user accounts and permissions, enforcing MFA, controlling what data is uploaded, and complying with regulations that apply to that data. A SaaS breach caused by a compromised over-privileged account is always a customer-side failure.

Practice questions — IaaS, PaaS, SaaS

These questions are representative of what you will see on AWS SAA-C03, AZ-104, Security+ exams. The correct answer and explanation are shown immediately below each question.

Q1.A company deploys a web application to Azure App Service. Microsoft manages the OS, runtime, patching, and platform availability. The company manages only the application code and data. Which cloud service model is this?

A.Infrastructure as a Service (IaaS)
B.Platform as a Service (PaaS)
C.Software as a Service (SaaS)
D.On-premises

Explanation: Azure App Service is PaaS. Microsoft manages the OS, runtime, and platform. The customer deploys and manages the application code and data only. This is the defining characteristic of PaaS.

Q2.A team launches an Amazon EC2 instance running Windows Server. They are responsible for installing the OS, applying patches, configuring the firewall, and managing the application. Which cloud service model best describes this?

A.Software as a Service (SaaS)
B.Platform as a Service (PaaS)
C.Infrastructure as a Service (IaaS)
D.Function as a Service (FaaS)

Explanation: EC2 is IaaS. AWS provides the physical server and hypervisor. The customer manages everything from the OS upward: installation, patching, firewall rules, and application management. Full control with full operational responsibility.

Q3.An organization uses Microsoft 365 for email and document collaboration. They do not manage any servers, operating systems, or application infrastructure. What is the service model?

A.IaaS
B.PaaS
C.SaaS
D.Hybrid cloud

Explanation: Microsoft 365 is SaaS. Microsoft manages all infrastructure, platform, and application layers. The customer manages only users, permissions, and the content they create. No infrastructure management is required.

Q4.A developer uses Amazon RDS for MySQL to store application data. AWS manages the database engine, OS patching, and automated backups. The developer manages the database schema and queries. Which service model is Amazon RDS?

A.IaaS, because it runs on servers
B.SaaS, because it is fully managed
C.PaaS, because AWS manages the platform and engine
D.On-premises, because the customer controls the schema

Explanation: RDS is PaaS. AWS manages the OS, MySQL engine, patching, and backups. The customer manages the database structure and data. A common exam trap is assuming RDS is IaaS because it involves servers — but the customer never touches the underlying OS.

Q5.Under the shared responsibility model, which responsibility does the customer retain in ALL three cloud service models?

A.Operating system patching
B.Application code security
C.Data classification and access controls
D.Database engine patching

Explanation: Data classification and access controls are always the customer's responsibility, regardless of service model. In IaaS, PaaS, and SaaS, the customer owns their data and is responsible for who can access it. OS patching moves to the provider in PaaS/SaaS. Application code is managed by the provider in SaaS. Database engine patching is managed by the provider in PaaS/SaaS.

Q6.A security architect needs to choose a cloud model where the provider takes the most responsibility for securing the application layer, while the customer retains responsibility only for data and user access management. Which model fits?

A.IaaS
B.PaaS
C.SaaS
D.Colocation

Explanation: In SaaS, the provider manages the full stack including the application. The customer's security responsibilities are limited to managing user accounts, permissions, MFA enforcement, and data classification. This is the service model with the smallest customer security footprint at the infrastructure and application level.

Frequently asked questions — IaaS, PaaS, SaaS

What is the difference between IaaS, PaaS, and SaaS?

IaaS (Infrastructure as a Service) gives you virtual machines and raw cloud resources — you manage the OS and everything above it. PaaS (Platform as a Service) removes OS and runtime management so you can focus on your application code and data. SaaS (Software as a Service) is a complete application you subscribe to and use without managing any infrastructure or platform. The core distinction is how much of the technology stack you manage versus the provider.

Is Amazon EC2 IaaS or PaaS?

EC2 is IaaS. When you launch an EC2 instance, AWS provides the physical server and hypervisor. You are responsible for the operating system — installation, configuration, patching, and security hardening — as well as the middleware, runtime, application, and data. Full control, full operational responsibility.

Is Amazon RDS IaaS or PaaS?

Amazon RDS is PaaS. AWS manages the database engine (MySQL, PostgreSQL, SQL Server, etc.), the underlying operating system, patching, and automated backups. You manage the database schema, application queries, and data. The fact that RDS runs on physical servers does not make it IaaS — the management boundary is what determines the model.

Is Azure App Service PaaS or SaaS?

Azure App Service is PaaS. Microsoft manages the OS, runtime environment, and platform patching. You deploy your application code and manage your application configuration and data. You cannot access the underlying OS — you interact only at the application level.

Is Microsoft 365 SaaS?

Yes. Microsoft 365 (Exchange, SharePoint, Teams, OneDrive) is SaaS. Microsoft manages the entire application stack. You manage your organization's users, permissions, and content. No server management, OS patching, or application maintenance is required from the customer.

Which cloud service model gives the customer the most control and responsibility?

IaaS gives the customer the most control and the most responsibility. You manage the OS and everything above the hypervisor. This includes security hardening, OS patching, firewall rules, application configuration, and data management. With maximum flexibility comes maximum operational burden.

How are IaaS, PaaS, and SaaS tested on AZ-900, SAA-C03, and Security+?

All three certifications test service model identification and shared responsibility application. AZ-900 expects you to identify Azure services by model (VM = IaaS, App Service = PaaS, Microsoft 365 = SaaS) and understand the responsibility shift. SAA-C03 tests the same for AWS (EC2 = IaaS, Elastic Beanstalk/RDS = PaaS) and applies models to architecture decisions. Security+ focuses on how the model determines your security obligations — especially data protection and access control responsibilities.

Practice this topic

Test yourself on IaaS, PaaS, SaaS

JT Exams routes you to questions in your exact weak areas — automatically, after every session.

No credit card · Cancel anytime

Related certification topics