Cloud Computing Concepts: IaaS, PaaS and SaaS
Understand the cloud service models, deployment models and pay-as-you-go economics that every AWS, Azure and GCP service is built on.
Beginner · about 3 hours · difficulty 1/5
Cloud computing means renting computing resources (servers, storage, databases, networks) over the internet, on demand, and paying only for what you use. Instead of buying a server that sits idle at night, you start one in minutes and switch it off when you are done.
Service models
- IaaS (Infrastructure as a Service): you rent virtual machines, disks and networks and manage the operating system yourself. Examples: Amazon EC2, Azure Virtual Machines, Google Compute Engine.
- PaaS (Platform as a Service): the provider runs the platform and you bring code or data. Examples: AWS Elastic Beanstalk, Amazon RDS, Azure App Service, Google App Engine.
- SaaS (Software as a Service): finished software you configure, such as Gmail, Zoho or Salesforce.
- Serverless / FaaS: you upload functions or containers, pay per request or per millisecond, and capacity scales to zero (AWS Lambda, Azure Functions, Google Cloud Run).
Deployment models
- Public cloud: shared provider infrastructure (AWS, Azure, GCP).
- Private cloud: dedicated infrastructure, often on premises (VMware, OpenStack).
- Hybrid: a mix, common in Indian banks and government projects that keep some data on premises for regulatory reasons.
Why companies move to the cloud
- Elasticity: scale up for a Big Billion Days sale, scale down after.
- CapEx to OpEx: no large upfront hardware purchase.
- Speed: a new environment in minutes instead of weeks of procurement.
- Global reach: deploy close to users in many countries.
Pitfalls
- Assuming the cloud is always cheaper. A badly sized, always-on setup can cost more than a rented physical server.
- Thinking "serverless" means no servers. It means you do not manage them.
You are ready to move on when you can classify ten services you know (Gmail, EC2, RDS, Lambda, Google Drive) into IaaS, PaaS, SaaS or serverless and explain your reasoning.
Key concepts
- IaaS, PaaS, SaaS
- Serverless and FaaS
- Public, private and hybrid cloud
- Elasticity and scalability
- CapEx vs OpEx
- Pay-as-you-go pricing
- Multi-cloud: Using more than one provider on purpose
Mini project
Make a table of 12 products you use (UPI apps, Gmail, Netflix, college ERP) and guess which service model and which cloud each might run on. Then read the AWS 'What is cloud computing' page and correct your guesses. No account needed yet.
Check yourself
A startup runs its app on Amazon RDS for PostgreSQL. Who installs database patches, and who designs the tables and indexes?
Free resources
- What is cloud computing? (AWS)
- Types of cloud computing (AWS)
- AWS Skill Builder (free Cloud Practitioner Essentials) (AWS)
- AWS roadmap (roadmap.sh)