The Shared Responsibility Model

Learn exactly which security and operations tasks AWS owns and which ones stay with you, and how that line moves between IaaS, PaaS and serverless.

Beginner · about 2 hours · difficulty 1/5

Learn first: Cloud Computing Concepts: IaaS, PaaS and SaaS

AWS describes security as a split: AWS is responsible for security of the cloud, and you are responsible for security in the cloud. Azure and Google Cloud use the same idea with slightly different wording.

What AWS owns

  • Physical data centres, guards, power and cooling.
  • Hardware, the global network and the hypervisor.
  • The internals of managed services (for example, patching the host that runs your Lambda function).

What you always own

  • Identity and access: who can log in, which keys exist, MFA on the root user.
  • Data: classification, encryption settings, backups.
  • Network exposure: security groups, public IPs, public S3 buckets.
  • Your application code and its dependencies.

How the line moves

  • On EC2 (IaaS) you also patch the operating system, configure the firewall and install agents.
  • On RDS (managed) AWS patches the database engine, but you choose who can connect and whether storage is encrypted.
  • On Lambda (serverless) AWS manages the OS and runtime; you own the code, its permissions and its environment variables.

Why this matters

Almost every well-known cloud breach was a customer-side mistake: a public bucket, an access key committed to GitHub, an overly broad IAM policy or an open database port. The provider was not hacked; the configuration was wrong.

Pitfalls

  • Assuming "AWS is secure, so my app is secure".
  • Forgetting that backups are your job. AWS keeps the service running, not your deleted data.

You are ready to move on when you can take EC2, RDS, S3 and Lambda and list, for each, three things you must configure yourself.

Key concepts

  • Security of the cloud vs in the cloud
  • Responsibilities on IaaS
  • Responsibilities on managed services
  • Responsibilities on serverless
  • Customer-side misconfiguration breaches
  • Compliance programs (ISO, SOC, PCI): AWS Artifact gives you the reports

Mini project

Draw a three-column diagram (EC2, RDS, Lambda) with a horizontal line showing where AWS responsibility ends and yours starts. Add one real breach headline per column that happened on the customer side.

Check yourself

Your S3 bucket with student resumes becomes publicly readable. Under the shared responsibility model, whose fault is it and why?

Free resources