AWS Shared Responsibility Model: Security OF the Cloud vs IN the Cloud
The AWS shared responsibility model is the framework that decides who is responsible for security in AWS: AWS secures the cloud itself — data centers, hardware, networking, and the software that runs managed services — while you secure everything you put in the cloud, such as your data, identities, and configurations. It is the foundation of the CLF-C02 Security and Compliance domain, and the hardest questions on it test how the split shifts between services like Amazon EC2, Amazon RDS, and AWS Lambda. In this lesson you will learn the model's components, classify any control as inherited, shared, or customer-specific, see why secure defaults and AWS tools never move your side of the line, and work out who owns a task no matter which service it involves.
What you’ll learn
- Explain the AWS shared responsibility model as "security of the cloud" versus "security in the cloud"
- Describe AWS's responsibilities, including physical infrastructure, the hardware lifecycle, networking, and the hypervisor on every tenancy option
- Describe the customer's responsibilities, including data and where it resides, identity and access management, encryption at rest and in transit, and configuration choices
- Classify controls as inherited, shared, or customer-specific, and explain how each side evidences its controls
- Predict how responsibility shifts across EC2, RDS, Lambda, and S3 for tasks like OS patching, runtime updates, and encryption
- Explain why secure defaults (such as S3 default encryption) and AWS tools (such as Systems Manager Patch Manager) do not move the customer's responsibilities to AWS
- Identify the responsibilities that never move: customer data is always yours, physical security is always AWS's
The 8 parts · about 16 min of reading
- What the AWS shared responsibility model isStart hereAWS secures the infrastructure, you secure what you build on it, some controls are shared, and the line moves with each service.1 min
- AWS's responsibilitiesAWS owns facilities, hardware, global network and hypervisor on every tenancy, plus the software of managed services like RDS.2 min
- The customer's responsibilitiesYou always own your data, IAM, guest OS on EC2, firewall rules and encryption choices, even where AWS sets a secure default.4 min
- Shared controls and the three classificationsControls are inherited from AWS, shared in two layers (patching, configuration, training) or customer-specific, decided by who acts.2 min
- How responsibility shiftsAWS takes on OS and engine patching moving from EC2 to RDS to Lambda and S3, while data, encryption and IAM stay yours.2 min
- Quick referenceA three-bucket checklist of always-AWS, always-customer and shared tasks, anchored on data being yours and hardware being AWS.2 min
- Scenario: one workload, three deployment choicesMoving a PostgreSQL database from EC2 to RDS to serverless hands patching to AWS while data, access and settings stay yours.1 min
- Exam traps and how questions are wordedFive classic traps (OF/IN swap, service shift, managed, defaults, misfiled controls) and a four-step routine to answer them.2 min
Mind map
How the exam tests this
CLF-C02 tests this topic mostly with short recognition items: "Who is responsible for X under the AWS shared responsibility model?" where X is a task like patching the guest OS, securing the data center, replacing failed hardware, configuring a security group, or encrypting data. Expect the vocabulary swap — "security of the cloud" is AWS, "security in the cloud" is the customer — and the service shift, where the same task (OS patching) has a different owner on EC2 (customer) than on RDS or Lambda (AWS). Harder items combine two facts and test reasoning rather than recall: telling a secure default or an AWS-provided tool apart from a transfer of responsibility, separating tenancy choices from who operates a layer, knowing whose controls each party's evidence covers, and deciding who controls where data lives and how long copies of it exist. Anchor every answer on two absolutes: customer data and IAM are always the customer's, and physical infrastructure and the hypervisor are always AWS's.
Key takeaways
- AWS is responsible for security OF the cloud (facilities, hardware, network, hypervisor); the customer is responsible for security IN the cloud (data, access, configuration).
- Customer data, IAM permissions (including execution roles), database user accounts, and encryption choices are ALWAYS the customer's responsibility, on every service.
- Physical data centers, the hardware lifecycle (including replacing a failed Dedicated Host), the global infrastructure, and the hypervisor are ALWAYS AWS's responsibility, on every tenancy option.
- The line shifts by service: on EC2 you patch the guest OS; on RDS, AWS patches the OS and database engine in the maintenance window you set; on Lambda, AWS manages the OS, scaling and managed runtimes — but a runtime or container image you package and the libraries you bundle stay yours.
- Secure defaults and AWS tools don't move responsibility: S3 default encryption, AWS AMIs and Patch Manager help, but the keys, baselines and schedules are still your choice.
- Security groups, network ACLs and other firewall settings are the customer's to configure, even though AWS provides the feature.
- Encryption at rest (S3, EBS) and encryption in transit (TLS) are separate customer decisions; one does not cover the other.
- AWS's durability protects data from failed hardware; protecting it from your own accidental deletion (versioning, backups, least privilege) is yours.
- The three shared controls: patch management, configuration management, and awareness and training.
- Controls classify as inherited (evidenced by AWS's audit reports), shared, or customer-specific; AWS's reports never evidence your own controls.
- Your content stays in the Region you choose (replicated across AZs inside it); any cross-Region copy is your configuration, and the snapshots and backups you create are yours to delete — AWS only disposes of its retired physical media.
Part 1: What the AWS shared responsibility model is
AWS secures the infrastructure, you secure what you build on it, some controls are shared, and the line moves with each service.
Frequently asked questions
What is the AWS shared responsibility model?
The AWS shared responsibility model defines how security and compliance duties are divided between AWS and its customers. AWS is responsible for "security of the cloud" — protecting the physical data centers, hardware, networking, and virtualization software that run all AWS services. The customer is responsible for "security in the cloud" — protecting their data, managing identities and permissions, configuring firewalls and service settings, and choosing encryption. Some controls, like patch management and awareness training, are shared: AWS handles its layer and the customer handles theirs. The exact split shifts depending on how managed the service is.
What is the difference between security of the cloud and security in the cloud?
"Security of the cloud" is everything AWS does to protect the infrastructure that runs its services: physical facility security, hardware maintenance and disposal, the global network of Regions and Availability Zones, the hypervisor, and the software behind managed services. "Security in the cloud" is everything the customer does with what they deploy: protecting data, managing IAM users and permissions, patching guest operating systems on EC2, configuring security groups, and enabling encryption. A simple test: if the task requires access to AWS hardware or host software, it is OF the cloud (AWS); if it depends on your decisions, it is IN the cloud (you).
Who is responsible for patching in AWS?
Patch management is a shared control, and the split depends on the service. AWS always patches the physical infrastructure, host operating systems, and hypervisor. On Amazon EC2, the customer patches the guest operating system and any software it installs — even when it automates the work with AWS Systems Manager Patch Manager, because the customer still sets the baselines and schedules. On Amazon RDS, AWS patches the underlying OS and the database engine during the weekly maintenance window the customer sets; the customer has no OS access. On AWS Lambda with a managed runtime, AWS applies OS and runtime security updates; with a container image, the customer maintains the runtime and the base-image OS layers it packages; with an OS-only runtime, it maintains the runtime it packages; and on any runtime it keeps its bundled libraries patched.
Sign up free to mark lessons complete, bookmark topics and track your exam readiness.