Sub topic 4
IaaS, PaaS, and SaaS
This chapter assumes you know what cloud computing is and how public, private, hybrid, and community clouds differ. The three service models describe how much of the technology stack the provider manages and how much you manage. On the A+ Core 1 exam, you will usually be given a scenario and asked which model fits it.
The working model
A computing stack has layers: networking, storage, servers, virtualization, operating system, runtime, application, and data. In every cloud service model, the provider runs the lower layers. The models differ in where the provider's responsibility stops.
| Model | Provider manages | Customer manages | Typical example |
|---|---|---|---|
| IaaS (Infrastructure as a Service) | Physical servers, storage, network, virtualization | Operating system, runtime, applications, data | Renting a virtual machine from Amazon EC2 or Azure Virtual Machines |
| PaaS (Platform as a Service) | Everything in IaaS, plus the operating system and runtime | Applications and data | Deploying a web app to Azure App Service or Google App Engine |
| SaaS (Software as a Service) | The whole stack, including the application | Your data, user accounts, and settings | Microsoft 365, Google Workspace, Salesforce |
Infrastructure as a Service
IaaS gives you virtual hardware on demand. You choose the CPU count, memory, disk size, and operating system. You are then responsible for patching that operating system, configuring its firewall, and installing software. The provider keeps the physical hosts running.
Choose IaaS when you need full control, such as running a legacy application that needs a specific OS version, or building a test lab that you can create and delete quickly.
Platform as a Service
PaaS gives developers a ready environment for building and running applications. You upload your code. The provider handles OS updates, the web server, and scaling. You do not log in to a server to patch it.
Choose PaaS when a team wants to focus on writing code and not on server maintenance.
Software as a Service
SaaS delivers a finished application, usually through a web browser or a thin client. The provider handles installation, updates, and availability. You sign in and use it. Webmail, online office suites, and customer-management tools are common examples.
Choose SaaS when you need a standard business tool and have no reason to run or customize the software yourself.
Matching a scenario to a model
Ask one question: what does the customer still have to manage?
- If the customer installs and patches an operating system, the answer is IaaS.
- If the customer supplies only code or an app, the answer is PaaS.
- If the customer only signs in and uses software, the answer is SaaS.
Common errors
- Confusing the model with the deployment model. IaaS, PaaS, and SaaS describe what is delivered. Public, private, hybrid, and community describe who can use the cloud and where it runs. A SaaS product can run on a public cloud.
- Assuming SaaS means no responsibility. You still manage your data, user access, and passwords.
- Calling any hosted virtual machine PaaS. If you manage the operating system, it is IaaS.
- Forgetting that the provider is responsible for the physical hardware in all three models.
Exercise
A small company needs a web-based accounting program. The staff will only log in through a browser, and the company does not want to install or update anything. Which service model fits, and why?
Show answer
SaaS. The provider manages the entire stack, including the application, so the company only manages its data and user accounts.
Exercise
A systems administrator rents a cloud virtual machine, installs Windows Server, and is responsible for applying its updates. Which service model is this, and what does the provider still manage?
Show answer
IaaS. The provider still manages the physical servers, storage, networking, and virtualization layer. The administrator manages the operating system and everything above it.