A cloud provider can offer services at different levels. The models differ in how much the user manages and how much the provider manages.
Infrastructure as a Service (IaaS)
IaaS provides the basic computing resources: virtual machines, storage and networks. The user chooses the operating system, installs the software and manages the applications and data, while the provider looks after the physical hardware and the virtualization. IaaS gives the greatest control and is like renting an empty plot of land with services. Examples are Amazon EC2, Google Compute Engine and Microsoft Azure Virtual Machines. It suits a team that needs full control, testing, hosting and high-performance computing.
Platform as a Service (PaaS)
PaaS provides a ready platform on which developers can build and run applications, with the operating system, runtime, database and tools managed by the provider. The user manages only the application and its data. It is like renting a furnished workshop. Examples are Google App Engine, AWS Elastic Beanstalk, Heroku and Azure App Service. It saves the effort of managing servers and speeds up development, but gives less control and may tie the user to the platform.
Software as a Service (SaaS)
SaaS provides a complete application over the internet, usually in a web browser, with the provider managing everything. The user only uses the software. It is like staying in a hotel. Examples are Gmail, Google Workspace, Microsoft 365, Salesforce, Zoom and Dropbox. It needs no installation and is updated by the provider, but the user has little control over features and data handling.
Definition: Service model. A way of dividing the responsibility for the layers of a computing stack between the cloud provider and the customer, as in IaaS, PaaS and SaaS.
Other Models
Function as a Service (FaaS) runs single functions on demand, as in AWS Lambda. Database as a Service, Storage as a Service and Security as a Service offer one function, and the general term is XaaS, anything as a service.
Table 1.2: Responsibility in the service models
| Layer | IaaS | PaaS | SaaS |
|---|---|---|---|
| Application | User | User | Provider |
| Data | User | User | Provider |
| Runtime and middleware | User | Provider | Provider |
| Operating system | User | Provider | Provider |
| Virtualization, servers, storage, network | Provider | Provider | Provider |
Example 1.2: Choosing a service model
Problem: Choose IaaS, PaaS or SaaS for (a) a college that wants email without running servers, (b) a developer team that wants to deploy a web app without managing servers, (c) a research group that needs custom operating systems on its own virtual machines.
Solution:
- Email with no management at all is a finished application: SaaS.
- Deploying code on a managed platform is PaaS.
- Custom operating systems need control of the machines: IaaS.
Result: (a) SaaS, (b) PaaS, (c) IaaS.
Common mistakes
- Confusing PaaS and SaaS. PaaS gives a platform to build on, SaaS gives a finished application.
- Thinking that IaaS removes all management. The user still manages the operating system and software.
- Choosing SaaS when deep customisation is needed.
Key takeaways
- IaaS gives virtual machines, storage and networks.
- PaaS gives a platform for building and running applications.
- SaaS gives a finished application.
- Control falls and convenience rises from IaaS to PaaS to SaaS.
Practice questions
- Distinguish IaaS, PaaS and SaaS.
- Give an example of each model.
- What is FaaS?
Answers to the practice questions
- IaaS gives infrastructure, PaaS gives a development platform, and SaaS gives a finished application.
- IaaS: Amazon EC2; PaaS: Google App Engine; SaaS: Gmail.
- Function as a Service, which runs single functions on demand, as in AWS Lambda.
Sources
- Official BCA syllabus Cloud Computing, course code 25BCA405DS03, Unit I
