# [1.2] Types of Cloud Services

Cloud computing has redefined how organisations deploy and manage digital infrastructure. By abstracting hardware and software layers, AWS offers three primary service models-**Infrastructure as a Service (IaaS)**, **Platform as a Service (PaaS)**, and **Software as a Service (SaaS)** each tailored to different operational needs. Below, we dissect these models with industry examples to illustrate their transformative impact.

## **1\. Infrastructure as a Service (IaaS)**

IaaS provides virtualised computing resources over the internet, allowing businesses to rent servers, storage, and networking components instead of owning physical hardware.

## **Key Features**

* **Hardware & virtualisation managed by AWS**: Users control the OS, runtime, and applications.
    
* **Flexibility**: Customise environments (e.g., Ubuntu, Windows Server) and scale resources on demand.
    
* **Cost efficiency**: Pay only for what you use, avoiding upfront hardware costs.
    

### **Example: Netflix on AWS EC2**

Netflix migrated its entire infrastructure to AWS in 2016, leveraging Amazon EC2 (IaaS) to deploy **100,000+ server instances** globally. This shift allowed Netflix to:

* Stream **125 million hours** of content daily to 190+ countries.
    
* Auto-scale during traffic spikes (e.g., new show releases) by provisioning thousands of servers in minutes
    
* Eliminate maintenance of physical data centers, focusing instead on content delivery and AI-driven recommendations
    

**Other IaaS Tools**:

* Amazon EC2 (virtual servers)
    
* Amazon S3 (scalable storage)
    
* AWS Virtual Private Cloud (networking)
    

## **2\. Platform as a Service (PaaS)**

PaaS abstracts infrastructure management, offering developers a ready-to-use platform for building, deploying, and scaling applications.

## **Key Features**

* **Managed OS, middleware, and runtime**: Developers focus solely on code and data.
    
* **Built-in tools**: Databases, analytics, and CI/CD pipelines.
    
* **Rapid deployment**: Eliminate manual server provisioning.
    

### **Example: Airbnb on Amazon RDS**

Airbnb uses Amazon RDS (PaaS) to manage its global rental platform:

* Migrated its MySQL database to RDS, enabling **automatic replication, backups, and scaling** via API calls
    
* Reduced downtime during migration to **15 minutes** while handling 50+ GB of daily data.
    
* Simplified operations with Multi-AZ deployment for high availability and disaster recovery
    

### **Example: Heroku’s PaaS Model**

Heroku, owned by Salesforce, offers a fully managed PaaS for developers:

* Supports Ruby, Java, Node.js, and Python with “buildpacks” for quick deployment
    
* Uses **Logplex** to consolidate logs from containers and services into a single stream
    
* Ideal for startups needing rapid prototyping without infrastructure hassles
    

**Other PaaS Tools**:

* AWS Elastic Beanstalk
    
* Google App Engine
    
* Salesforce Platform (for custom app development)
    

## **3\. Software as a Service (SaaS)**

SaaS delivers fully managed software applications over the internet, eliminating installation or maintenance.

## **Key Features**

* **End-to-end management**: Providers handle updates, security, and infrastructure.
    
* **Accessibility**: Use via web browsers or APIs.
    
* **Subscription pricing**: Pay per user/month.
    

### **Example: Dropbox’s Cloud Storage**

Dropbox revolutionized file-sharing by offering SaaS-based cloud storage:

* Users sync files across devices via a simple drag-and-drop folder
    
* Scaled to **300 million users** by 2014 using AWS for backend storage and scalability
    
* Eliminated reliance on USB drives, reducing data loss risks
    

### **Example: Salesforce’s SaaS & PaaaS Hybrid**

Salesforce provides both SaaS and PaaS solutions:

* **SaaS**: Sales Cloud streamlines CRM for mid-sized retailers, improving lead management
    
* **PaaS**: Financial firms build custom compliance apps using the Salesforce Platform
    

**Other SaaS Tools**:

* Gmail
    
* Slack
    
* Zoom
    

## **Choosing the Right AWS Service Model**

| **Factor** | **IaaS** | **PaaS** | **SaaS** |
| --- | --- | --- | --- |
| **Control** | Full OS/app control | Code/data focus | Zero infrastructure control |
| **Maintenance** | User-managed apps/OS | AWS-managed platform | Fully managed by provider |
| **Use Case** | Custom environments (Netflix) | App development (Airbnb) | Ready-to-use software (Dropbox) |

## **Decision Framework:**

1. **IaaS**: Choose for legacy app migrations or highly customized workloads (e.g., Netflix’s video transcoding).
    
2. **PaaS**: Opt for developer agility (e.g., Airbnb’s database scaling).
    
3. **SaaS**: Prioritize quick deployment and zero maintenance (e.g., Dropbox for file storage).
    

## **Real-World Implementation Strategies**

### **Case Study 1: Netflix’s Multi-Tier IaaS**

Netflix combines EC2 (compute), S3 (storage), and Lambda (serverless) to:

* Encode media files using **AWS Lambda**, reducing manual effort
    
* Monitor 100,000+ instances with **Amazon CloudWatch** for real-time analytics
    

### **Case Study 2: Salesforce’s PaaS for Healthcare**

Cleveland Clinic built a telemedicine platform on Salesforce PaaS, enabling:

* Secure patient data storage compliant with HIPAA
    
* AI-powered diagnostics via Amazon SageMaker integration
    

## **Conclusion**

AWS’s service models cater to diverse needs:

* **IaaS** offers control for complex systems (Netflix).
    
* **PaaS** accelerates development (Airbnb/Heroku).
    
* **SaaS** delivers turnkey solutions (Dropbox/Salesforce).
