Dividing Security Responsibilities Between AWS and the Customer
This lesson explains how security and compliance on AWS are a shared responsibility. Knowing exactly who does what is one of the most heavily tested Cloud Practitioner subjects.
Learning outcomes
After completing this lesson, you will be able to:
- Distinguish security of the cloud from security in the cloud.
- Distinguish shared controls from inherited controls.
- Decide whether AWS or the customer is responsible for a described task.
Who is responsible for what
Under the shared responsibility model, AWS is responsible for security of the cloud: everything that runs the services. That includes the physical security of data centres, the hardware and its secure disposal, the global network, the host operating system and virtualisation layer, and the software that runs managed services.
The customer is responsible for security in the cloud: everything they put there and how they configure it. That includes their data, who can access it and with what permissions, the guest operating system on EC2 instances and its patches, their applications, firewall settings such as security groups and network ACLs, and choices such as whether data is encrypted. The following table summarises the division.
| AWS: security of the cloud | Customer: security in the cloud |
|---|---|
| Physical security of data centres (guards, access control, surveillance) | Customer data |
| Hardware: servers, storage, networking and their disposal | Identity and access management: users, permissions, MFA |
| The global network | The guest operating system on EC2, with its updates and patches |
| Host operating system and virtualisation layer | Applications |
| Software that runs managed services | Security groups and network ACLs |
| Encryption choices and network traffic protection |
The following diagram divides the responsibilities into two layers.

AWS or customer?
Shared and inherited controls
Some security controls do not belong to just one party. A shared control applies to both, with each handling its own layer. Patch management is an example: AWS patches the infrastructure, and the customer patches their guest operating systems and applications. Configuration management and security awareness training work the same way.
An inherited control is handled entirely by AWS, and the customer inherits it. Physical and environmental controls, such as data centre access and fire protection, are examples. In an audit, customers show these controls are in place using AWS's own compliance reports, downloaded from AWS Artifact. The following table summarises the two types.
| Control type | Examples | How it works |
|---|---|---|
| Shared | Patch management, configuration management, awareness and training | Each party handles its own layer: AWS the infrastructure, customers their OS, apps and staff |
| Inherited | Physical and environmental controls | Customers inherit them entirely from AWS and use AWS's reports (from AWS Artifact) in audits |
Shared or inherited?
A simple rule
If you can configure it or put it there, it is your responsibility. If it is physical or sits underneath the service, it belongs to AWS.
Who fixes it?
Several problems are reported at a company running on AWS. Applying the rule "if you can configure it, it is yours" decides who is responsible for each:
| Problem | Responsible | Why |
|---|---|---|
| A data centre's door lock is faulty | AWS | Physical security of facilities |
| A hard drive in an AWS server fails | AWS | Hardware |
| An employee's password was "password123" | Customer | IAM users and password policies |
| A security group allows anyone to connect on every port | Customer | Network configuration |
| The Linux operating system on an EC2 instance needs a security patch | Customer | Guest operating system on EC2 |
| Customer records were uploaded to S3 without encryption | Customer | Data and encryption choices |
AWS secures the cloud itself; the customer secures what it puts in the cloud and how it configures it.
Who is responsible for configuring security groups?
Show answer
The customer. AWS is responsible for security of the cloud, such as hardware and facilities; customers are responsible for security in the cloud, including their network settings.
Exam Tips
Remember for the exam
- Physical security, hardware and the global network are AWS's responsibility.
- Customer data, IAM, security groups and encryption settings are the customer's responsibility.
- Patching the guest operating system on EC2 is the customer's responsibility.
- Patch management and configuration management are shared controls.
- Physical and environmental controls are inherited from AWS.