SkillSprout
Chapter 1 · Lesson 3
Beginner
7 min read

Shared Responsibility Model

Overview

The AWS Shared Responsibility Model defines who is responsible for which parts of security and compliance. AWS is responsible for security of the cloud — the physical data centres, hardware, networking and the virtualisation layer. You are responsible for security in the cloud — your data, identities, operating systems, network configuration and applications.

An easy analogy is renting an apartment. The landlord secures the building, the roof and the front door lock; you decide who gets a key to your flat, whether you lock it and what you store inside. The more managed the service you choose, the more of the building maintenance AWS handles — but you can never outsource accountability for your own data and access decisions.

This model is tested on almost every foundational AWS exam, usually in scenarios that ask "who patches this?" or "who configures that?".

Key Concepts

  • AWS = security OF the cloud: facilities, hardware, global network, hypervisor and the managed-service software layer.
  • Customer = security IN the cloud: data, IAM, encryption choices, OS patching (for EC2), firewall rules and application code.
  • Responsibility varies by service: EC2 (IaaS) leaves guest OS patching to you; RDS patches the OS and DB engine, but you manage users, parameters and schema.
  • Abstracted services (S3, DynamoDB, Lambda) shift even more to AWS, but you still own data classification, IAM and encryption configuration.
  • Inherited controls: physical and environmental controls you inherit from AWS.
  • Shared controls: apply to both, e.g. patch management (AWS patches infrastructure, you patch guest OS), configuration management, and awareness and training.
  • Customer-specific controls: e.g. service and communications protection based on your zone requirements.
  • Compliance reports (SOC, ISO, PCI) are obtained from AWS Artifact; AWS compliance does not automatically make your application compliant.

Detailed Notes

The model at a glance

text
CUSTOMER  - Security IN the cloud
  Customer data
  Platform, applications, identity and access management
  Operating system, network and firewall configuration
  Client-side data encryption, server-side encryption, network traffic protection
-----------------------------------------------------------------
AWS       - Security OF the cloud
  Compute, storage, database, networking (software)
  Hardware / AWS Global Infrastructure
  Regions, Availability Zones, Edge Locations

What AWS is responsible for

  • Physical security of data centres: guards, badges, biometrics, video surveillance, and secure media destruction.
  • Hardware and firmware: servers, storage, network devices, host patching.
  • Virtualisation layer (Nitro hypervisor) and isolation between tenants.
  • Global network and DDoS baseline protection (AWS Shield Standard is automatic and free).
  • Managed service software: patching and operating the underlying fleet behind RDS, DynamoDB, S3, Lambda and so on.

What the customer is responsible for

  • Data: classification, encryption, backups, retention and who can access it.
  • Identity and access management: users, roles, MFA, least-privilege policies, protecting root credentials.
  • Network configuration: VPC design, security groups, NACLs, route tables, public vs private exposure.
  • Operating system and application: guest OS patches, anti-malware, application code and dependencies (on EC2).
  • Service configuration: public S3 buckets, open security groups and unencrypted volumes are customer misconfigurations.

Responsibility by service type

ServiceAWS managesYou manage
Amazon EC2 (IaaS)Hardware, hypervisor, networkGuest OS and patches, software, security groups, IAM, data, encryption
Amazon RDS (managed)Hardware, OS and database engine patching, backups infrastructure, Multi-AZ failoverSecurity groups, DB users, parameter groups, data encryption choice, maintenance-window choices
AWS Lambda (serverless)Servers, OS, runtime patching, scalingFunction code, dependencies, IAM execution role, data
Amazon S3 (abstracted)Infrastructure, durability, platformBucket policies, public access settings, encryption, object ownership, data
Amazon VPCUnderlying network hardwareSubnets, route tables, NACLs, security groups, flow logs
AWS FargateHost OS, patching, cluster nodesContainer image, task role, network config

Shared controls

ControlAWS partCustomer part
Patch managementInfrastructure and managed servicesGuest OS, applications on EC2
Configuration managementConfigures infrastructure devicesConfigures guest OS, databases and applications
Awareness and trainingTrains AWS employeesTrains your own staff

Practical examples

Example 1 — locking down a bucket (customer duty)

json
{
  "Version": "2012-10-17",
  "Statement": [{
    "Sid": "DenyInsecureTransport",
    "Effect": "Deny",
    "Principal": "*",
    "Action": "s3:*",
    "Resource": ["arn:aws:s3:::my-data-bucket", "arn:aws:s3:::my-data-bucket/*"],
    "Condition": { "Bool": { "aws:SecureTransport": "false" } }
  }]
}

AWS provides the capability (bucket policy, Block Public Access, SSE); you must configure it.

Example 2 — patching an EC2 fleet (customer duty)

bash
# Use Systems Manager Patch Manager to patch instances tagged Patch=Yes
aws ssm send-command \
  --document-name "AWS-RunPatchBaseline" \
  --targets "Key=tag:Patch,Values=Yes" \
  --parameters "Operation=Install"

Tools that help you meet your side

  • IAM, IAM Access Analyzer and AWS Organizations SCPs — identity controls.
  • AWS KMS, ACM — encryption and certificates.
  • AWS Config, Security Hub, Trusted Advisor — detect misconfiguration.
  • Amazon GuardDuty, Inspector, Macie — threat, vulnerability and sensitive-data detection.
  • AWS CloudTrail — audit who did what.
  • AWS Artifact — on-demand access to AWS compliance reports and agreements (e.g. BAA).

Common misunderstandings

  • "AWS is HIPAA/PCI compliant, so my app is too." — No. AWS provides compliant infrastructure; you must configure and operate your workload to comply.
  • "A managed database means no security work." — You still control network access, credentials, encryption options and data.
  • "AWS backs up my EC2 instance automatically." — Backups of your data are your responsibility (EBS snapshots, AWS Backup).

Real World Example

Scenario — a healthcare SaaS vendor passes an audit.

A company stores patient records in S3 and runs its application on EC2 behind an ALB, with data in RDS PostgreSQL. During a compliance review the auditor asks who is responsible for what.

The vendor shows the AWS Artifact reports proving AWS meets its obligations for data-centre security and infrastructure (security of the cloud) and signs a Business Associate Addendum for HIPAA workloads.

The team then documents its controls: KMS-encrypted S3 buckets with Block Public Access enabled, IAM roles with least privilege and mandatory MFA, a patching schedule using Systems Manager Patch Manager for the EC2 guest OS, security groups that restrict RDS to the app tier, and CloudTrail + Config for audit evidence. RDS engine patches are handled by AWS in the maintenance window, so the vendor only schedules the window.

The audit passes because both halves of the shared responsibility model are demonstrably covered.

Architecture Diagram

Who is responsible for what
Architecture
AWS Cloud
Customer: security IN the cloud
IAM & MFA
Security groups
Encryption (KMS)
Guest OS & appspatching
Customer data
AWS: security OF the cloud
Hardware & hypervisor
Network & edge
Regions & AZs
Managed service software

AWS secures the cloud itself; the customer secures what they put in it.

  1. 1AWS secures physical facilities, hardware, the hypervisor and the global network.
  2. 2For managed services such as RDS, AWS also patches the OS and database engine.
  3. 3The customer configures identity, network rules, encryption and data protection.
  4. 4For EC2, the customer additionally patches the guest operating system and applications.

Best Practices

  • ✓Map every workload to the shared-responsibility table for its service type and assign owners to each customer-side control.
  • ✓Enforce MFA and least privilege in IAM; never use the root user for daily tasks.
  • ✓Encrypt data at rest and in transit by default using KMS, ACM and TLS.
  • ✓Automate patching of EC2 with Systems Manager Patch Manager or build immutable, regularly rebuilt AMIs.
  • ✓Block public access at the S3 account level and review security groups for 0.0.0.0/0 rules with AWS Config rules.
  • ✓Enable CloudTrail, GuardDuty and Security Hub in all Regions and accounts.
  • ✓Download AWS Artifact reports and keep them with your audit evidence.
  • ✓Prefer managed and serverless services to shift more operational security work to AWS.

Common Interview Questions

Exam Tips

SAA-C03 focus

  • OF the cloud = AWS; IN the cloud = customer. Memorise it verbatim.
  • EC2 -> customer patches guest OS and manages security groups. RDS / Lambda / S3 -> AWS handles the underlying OS and infrastructure.
  • Physical data-centre security, hardware disposal, hypervisor are always AWS responsibilities.
  • Data classification, IAM, encryption configuration, MFA are always customer responsibilities.
  • Patch management, configuration management and awareness/training are the classic shared controls.
  • "Where do I get AWS compliance documents (SOC, ISO, PCI)?" -> AWS Artifact.
  • Customer-side security group, NACL and bucket-policy configuration is never done by AWS on your behalf.

Finished this lesson?

0 of 64 lessons done · 0% of the course