๐ฆ Cloud Service Models (IaaS, PaaS, SaaS)
๐ Overview
Cloud services are categorized into three main models, often visualized as a pyramid. They mandate how much control you have versus how much convenience Microsoft provides.
1. IaaS (Infrastructure as a Service) ๐๏ธ
The most flexible category of cloud services. It aims to provide you with complete control over the hardware that runs your application (Virtual Machines, Storage, Networks).
- Definition: You rent IT infrastructureโservers and virtual machines (VMs), storage, networks, operating systemsโfrom a cloud provider on a pay-as-you-go basis.
- Azure Examples:
- Azure Virtual Machines (VMs)
- Azure Virtual Networks (VNETs)
- Azure Disk Storage
- Your Responsibility: OS patching, Middleware, Runtime, Data, Applications.
- Microsoft Responsibility: Virtualization, Servers, Networking, Storage (Security OF the cloud).
- Use Case: Lifting and shifting legacy applications; Dev/Test environments; High Performance Computing (HPC).
2. PaaS (Platform as a Service) ๐ ๏ธ
Provides an environment for building, testing, and deploying software applications. PaaS is designed to make it easier for developers to create web or mobile apps, without worrying about setting up or managing the underlying infrastructure of servers, storage, network, and databases.
- Definition: Focus on the Application and Data. Microsoft manages the OS, patching, backups, and capacity.
- Azure Examples:
- Azure App Service (Web Apps)
- Azure SQL Database
- Azure Functions (Serverless)
- Azure Kubernetes Service (AKS) (Managed Cluster)
- Your Responsibility: Data, Applications.
- Microsoft Responsibility: OS, Runtime, Middleware, Virtualization, Hardware.
- Use Case: Web application hosting; API development; Analytics.
3. SaaS (Software as a Service) ๐ผ
Software that is centrally hosted and managed for the end-user. It is usually based on a monthly or annual subscription.
- Definition: A complete software solution that you purchase on a pay-as-you-go basis from a cloud service provider. You simply "use" the software.
- Azure/Microsoft Examples:
- Microsoft 365 (Outlook, Teams, SharePoint)
- Dynamics 365 (CRM/ERP)
- GitHub (Code hosting)
- Your Responsibility: Configuration (Access, Users), Data.
- Microsoft Responsibility: Everything else (Application code, Runtime, OS, Hardware).
- Use Case: Email, Calendaring, Office tools, CRM.
4. Visual Comparison (Control vs Convenience)
On-Premises IaaS PaaS SaaS
(You Do All) (Infrastructure) (Platform) (Software)
+--------------+ +--------------+ +--------------+ +--------------+
| Applications | | Applications | | Applications | | |
+--------------+ +--------------+ +--------------+ | |
| Data | | Data | | Data | | |
+--------------+ +--------------+ +--------------+ | |
| Runtime | | Runtime | | | | |
+--------------+ +--------------+ | | | |
| Middleware | | Middleware | | Managed | | Managed |
+--------------+ +--------------+ | by | | by |
| OS | | OS | | Microsoft | | Microsoft |
+--------------+ +--------------+ | | | |
|Virtualization| | | | | | |
+--------------+ | Managed | | | | |
| Servers | | by | | | | |
+--------------+ | Microsoft | | | | |
| Storage | | | | | | |
+--------------+ | | | | | |
| Networking | | | | | | |
+--------------+ +--------------+ +--------------+ +--------------+๐ก Hinglish Explanation (Service Models)
1. IaaS (Kiraye ka Ghar)
- Concept: Infrastructure as a Service.
- Hinglish: Aapne ek khali flat kiraye pe liya. Deewar aur chat (Servers/Network) landlord ki hai, par furniture, bijli, paani, aur rhne ka samaan (OS + Apps) aapko khud lana padega. Full control, par mehnat zyada.
- Example: Azure VM.
2. PaaS (Hotel Room)
- Concept: Platform as a Service.
- Hinglish: Aap hotel mein gaye. Bed, bijli, AC sab set hai. Aap bas apna laptop lekar gaye aur kaam shuru kiya. Aapko room saaf karne ki tension nahi, woh hotel manage karega.
- Example: Azure App Service (Web sites).
3. SaaS (Pizza Order)
- Concept: Software as a Service.
- Hinglish: Domino's se pizza order kiya. Na kitchen chahiye, na oven, na chef. Bas box kholo aur khaao. Software ready-made milta hai, bas login karo aur use karo.
- Example: Gmail, Outlook, Netflix.
๐ The "Pizza as a Service" Analogy
| Layer | Traditional (On-Prem) | IaaS (Take & Bake) | PaaS (Pizza Delivery) | SaaS (Dining Out) |
|---|---|---|---|---|
| Dining Table | ๐ฆ You | ๐ฆ You | ๐ฆ You | โ๏ธ Vendor |
| Soda | ๐ฆ You | ๐ฆ You | ๐ฆ You | โ๏ธ Vendor |
| Electric/Gas | ๐ฆ You | ๐ฆ You | โ๏ธ Vendor | โ๏ธ Vendor |
| Oven | ๐ฆ You | ๐ฆ You | โ๏ธ Vendor | โ๏ธ Vendor |
| Fire | ๐ฆ You | ๐ฆ You | โ๏ธ Vendor | โ๏ธ Vendor |
| Pizza Dough | ๐ฆ You | โ๏ธ Vendor | โ๏ธ Vendor | โ๏ธ Vendor |
| Toppings | ๐ฆ You | โ๏ธ Vendor | โ๏ธ Vendor | โ๏ธ Vendor |
| Tomato Sauce | ๐ฆ You | โ๏ธ Vendor | โ๏ธ Vendor | โ๏ธ Vendor |
| Cheese | ๐ฆ You | โ๏ธ Vendor | โ๏ธ Vendor | โ๏ธ Vendor |
๐ก Exam Tips for AZ-900
- Cost:
- IaaS: Pay for allocated VM size (e.g., per hour).
- PaaS: Pay for "Service Plan" or consumption (e.g., DTUs in SQL).
- SaaS: Pay per user/month (Subscription).
- Flexibility: IaaS > PaaS > SaaS.
- Management Overhead: On-Prem > IaaS > PaaS > SaaS.