No history yet

Shared Responsibility Dynamics

Crossing the Responsibility Line

When you use a cloud service, you enter into a partnership. The cloud service provider (CSP) handles certain security tasks, and you handle others. This division of labor is known as the shared responsibility model. In short, the provider is responsible for the security of the cloud—the physical data centers, the servers, the networking cables. You, the customer, are responsible for security in the cloud—your data, your applications, and who you allow to access them.

Think of it like a bank. The bank provides a secure vault (security of the cloud), but you're responsible for not leaving your safe deposit box key on the counter (security in the cloud).

This line of responsibility isn't fixed. It shifts depending on the service model you choose. For Infrastructure as a Service (IaaS), you manage more. For Software as a Service (SaaS), you manage less. Understanding where that line is drawn is critical, because the most common data breaches happen when someone assumes the provider is handling a task that is actually their responsibility.

The Grey Areas of PaaS

Platform as a Service (PaaS) is where the lines begin to blur. With PaaS, the provider manages the underlying infrastructure, operating system, and runtime environment. This is a huge benefit, as it frees developers from patch management and server maintenance. But it can also create a false sense of security.

Consider a service like or AWS Elastic Beanstalk. The CSP will patch the underlying Windows or Linux operating system that your application runs on. However, you are still entirely responsible for the security of your own code, managing application dependencies (like third-party libraries), and correctly configuring network access rules. If a vulnerability exists in a library your code uses, that's your problem to fix, not the provider's.

A provider secures the platform, but you secure what you build on the platform.

Serverless and Shifting Sands

Serverless computing, with services like AWS Lambda and Google Cloud Run, pushes even more responsibility to the provider. You just provide the code, and the CSP handles everything else needed to run it. There's no guest OS to harden or runtime to patch. So, what's left for you to secure?

Plenty. With serverless, security shifts almost entirely to two areas: the code itself and the Identity and Access Management (IAM) permissions you grant to your functions. A common mistake is granting a function overly broad permissions—for example, giving it read/write access to an entire data store when it only needs to read a single table. This violates the principle of least privilege and turns a small, simple function into a major security risk if compromised.

ServiceProvider ManagesYou Manage
Azure App Service (PaaS)OS patching, hardware, network infrastructure, runtime environmentApplication code, third-party libraries, network access rules, data encryption
AWS Lambda (Serverless)Everything below your code: OS, runtime, scaling, serversFunction code, IAM execution role, data access policies, event source configuration
GCP Cloud Run (Serverless)Container orchestration, OS, scaling, infrastructureContainer image contents, application code, service account permissions, ingress settings

Another key area is the inheritance of compliance controls. When you use a service that is, for example, HIPAA compliant, it means the provider has done their part. But it doesn't automatically make your application compliant. You inherit their compliance for the infrastructure, but you must still build and configure your application to meet the necessary standards for data handling and access control.

Ultimately, the shared responsibility model is not about offloading security; it's about focusing your efforts where they matter most. By understanding exactly where the provider's responsibility ends and yours begins, you can build more secure and resilient applications in the cloud.

Quiz Questions 1/5

According to the shared responsibility model, which of the following is typically the customer's responsibility, regardless of the cloud service model (IaaS, PaaS, or SaaS)?

Quiz Questions 2/5

A company deploys an application using a Platform as a Service (PaaS) offering. A new vulnerability is discovered in the underlying operating system that the application runs on. Who is responsible for applying the OS patch?