Sub topic 11
Shared responsibility across the models
This chapter assumes you know the layers of the stack (hardware, virtualization, operating system, runtime, application, data) and the basic definitions of IaaS, PaaS, and SaaS. Here you will map who is responsible for what in each model, and learn which mistakes this mapping prevents.
The core idea
Cloud security and operations are split between the provider and the customer. A common summary is that the provider is responsible for the security of the cloud, and you are responsible for security in the cloud.
The provider always owns the physical data centers, the hardware, the network, and the virtualization layer. You always own your data, your users, and your decisions about who can access what. The layers in between move from your side to the provider's side as you go from IaaS to PaaS to SaaS.
Who manages which layer
| Layer | IaaS | PaaS | SaaS |
|---|---|---|---|
| Data and its classification | You | You | You |
| Users, roles, and access settings | You | You | You |
| Application code | You | You | Provider |
| Runtime and middleware | You | Provider | Provider |
| Operating system and patching | You | Provider | Provider |
| Virtualization | Provider | Provider | Provider |
| Physical hardware and facilities | Provider | Provider | Provider |
The first two rows never move. No service model transfers responsibility for your data or your access decisions to the provider.
Common errors
Most cloud incidents come from the customer's side of the line, not from a failure of the provider's infrastructure.
- Unpatched operating systems on IaaS. The provider will not patch your virtual machine. If you skip updates, the exposure is yours.
- Assuming a managed service is secured by default. On PaaS and SaaS the provider patches the platform, but your configuration choices still matter. A storage bucket left open to the public is a customer misconfiguration, even though the storage service itself is managed.
- Over-broad access. Giving every user administrator rights is a customer decision in every model, including SaaS.
- Forgetting backups and retention. Providers keep their service available. They do not necessarily keep a copy of the data you deleted by mistake.
A customer-side control in practice
Even on a fully managed service, you still configure your side. This command blocks public access on an Amazon S3 bucket. The bucket name is a placeholder.
aws s3api put-public-access-block \
--bucket my-example-bucket \
--public-access-block-configuration \
BlockPublicAcls=true,IgnorePublicAcls=true,BlockPublicPolicy=true,RestrictPublicBuckets=trueThe provider runs the storage system. You decide whether the data in it can be reached from the internet.
Using the split when you choose
More responsibility on your side means more control and more work. IaaS lets you harden the operating system your own way, but you must do the patching, monitoring, and configuration. SaaS removes most of that work, but you give up control over the layers you cannot reach, and you rely on the provider's own security.
Exercise
A team runs a web application on virtual machines rented from a provider. A vulnerability is announced in the operating system on those machines. Which service model is this, and who is responsible for applying the fix?
Show answer
This is IaaS. The customer is responsible for patching the guest operating system. The provider is responsible only for the layers below it, such as the physical hardware and the virtualization layer.