Skip to content
tezvyn:

The Cloud's Shared Responsibility Model

Source: learn.microsoft.comMediumHow cards are made

The Cloud's Shared Responsibility Model

Using the cloud means you share security duties with the provider. The split depends on the service: in IaaS, you manage the OS and up; in PaaS, just your app and data; in SaaS, mostly your data and users.

Why it exists

When moving from an on-premises datacenter where you control everything to the cloud, it's easy to get confused about who is responsible for what. The Shared Responsibility Model was created to eliminate this ambiguity. It provides a clear framework that defines which security and management tasks are handled by the cloud provider and which are handled by you, the customer, preventing critical gaps in security.

The mental model

Think of cloud services like real estate. Using IaaS is like leasing an empty plot of land: the provider secures the land, but you have to build the house, install plumbing, and lock the doors. Using PaaS is like renting an unfurnished apartment: the building, power, and plumbing are managed, but you must furnish it and are responsible for who you let inside. SaaS is like a hotel room: nearly everything is managed for you, but you are still responsible for your luggage (data) and your room key (identity).

How it works

The division of responsibility shifts depending on the service model. In an on-premises world, you are responsible for everything. As you move to the cloud, the provider takes on more.

For IaaS (Infrastructure as a Service), the provider manages the physical datacenter, network, and servers. You manage the operating system, middleware, application, and data.

For PaaS (Platform as a Service), the provider adds management of the OS and middleware. You are only responsible for your application and your data.

For SaaS (Software as a Service), the provider manages almost everything. You are primarily responsible for your data within the service and managing user access.

Regardless of the model, you ALWAYS retain responsibility for your data, endpoints (like user laptops), accounts, and access management.

When to use it

This model is not a tool to choose, but a fundamental concept you must understand before deploying anything to the cloud. It's the basis for all cloud security architecture, compliance discussions, and incident response planning. Every cloud engineer must know where the provider's responsibility ends and theirs begins.

When not to use it

The model is always in effect when using a public cloud service. The only scenario where it doesn't apply is in a fully on-premises, self-hosted datacenter, where you are explicitly responsible for the entire stack, from the physical security of the building to the data in your applications.

One canonical example

A team deploys a web app on an Azure Virtual Machine (IaaS). Azure is responsible for securing the physical server and ensuring the hypervisor is patched. The team, however, is responsible for patching the guest operating system (e.g., Windows Server), securing their application code against SQL injection, configuring the virtual network firewall rules, and managing who has administrative access to the VM. If the team fails to patch a known vulnerability in the OS, any resulting breach is their responsibility, not Azure's.

Interview question

Under the Shared Responsibility Model, which security task is always the customer's responsibility, regardless of the cloud service model (IaaS, PaaS, or SaaS)?

  • a.Patching the guest operating system
  • b.Managing user access and data within the serviceCorrect
  • c.Securing the physical hardware of the servers
  • d.Maintaining the virtualization layer
Why?

The card explicitly states that customers always retain responsibility for their data, accounts, and access management, which includes managing user access and data within the service. Patching the guest operating system (option A) is only the customer's responsibility in IaaS, with the provider handling it in PaaS and SaaS.

Just read this? Test yourself on what you have been reading.

Read the original → learn.microsoft.com

You just looked this up. Could you explain it out loud?

That is the part interviews actually test. Tezvyn takes questions like this one and gives you what the interviewer is really checking, the answer that lands, and the mistake that ends the conversation, in the four minutes before your next meeting.

The iPhone app is on the way

We are building it. Until it lands, nothing here is held back from you: every interview card, your saved cards, streaks and the job board all work in Safari, plus hundreds of free practice quizzes of thirty questions each. Sign in and it all carries over to the app the day it arrives.

Want it as an icon? Tap Share at the bottom of Safari, then Add to Home Screen. It opens full screen and the cards you have read stay available offline.

Get it on Google PlayiPhone app coming soon

We are hiring for this. Open roles that interview on cloud — each one lists the topics its interview covers.

See open roles