Sub topic 3
Shared Responsibility in Cloud Service Models
Assume you know what a server, operating system, application, IP address, and HTTP are. The key question in this chapter is: who manages each layer?
Shared responsibility across the models
Cloud security and operations are shared. The provider manages the physical data centers and the services it sells. You manage the parts exposed by your chosen service.
- IaaS: You manage the operating system, patches, runtime, applications, data, and configuration. The provider manages physical hardware and virtualization.
- PaaS: You manage application code, data, and application settings. The provider manages servers, operating systems, and much of the runtime.
- SaaS: You manage users, permissions, and the data you enter. The provider manages the application and its underlying platform.
How cloud services are billed
Cloud providers commonly use measured billing. You may pay for compute time, storage capacity, database requests, network transfer, or the number of users. Pay-as-you-go avoids buying hardware up front, but an unused resource can still create charges.
Reserved or committed-use pricing lowers the rate when you agree to use a service for a period. Free tiers and budgets help control experiments, but they do not replace cost monitoring.
Comparing the three models side by side
| Model | Control | Customer effort | Common use |
|---|---|---|---|
| IaaS | High | High | Custom servers and legacy workloads |
| PaaS | Medium | Medium | Web applications and APIs |
| SaaS | Low | Low | Email, collaboration, and business software |
Beyond the three classic models
Serverless runs code in response to events without requiring you to manage servers. It is usually closer to PaaS, but billing often follows requests and execution time.
Containers as a service runs packaged applications called containers. The provider may manage the container cluster while you manage the container image and application. Its responsibility split depends on the service.
Trade-offs and vendor lock-in
More control gives more flexibility but requires more patching, monitoring, and failure planning. Managed services reduce work but may limit configuration. Vendor lock-in occurs when moving away becomes costly because your code, data, or operations depend on provider-specific interfaces.
Choosing a model for a workload
Choose IaaS when you need operating-system control. Choose PaaS when you want to deploy code without managing servers. Choose SaaS when an existing product meets the requirement. Consider compliance, team skills, expected traffic, portability, and total cost.
Exercise
A team wants to deploy a web API and does not want to patch operating systems. Which model is the usual starting point, and what remains the team's responsibility?
Show answer
PaaS is the usual starting point. The team still manages application code, data, permissions, and secure configuration.