Sub topic 1
The shared responsibility model at a glance
Prerequisites
This chapter assumes you have:
- Basic familiarity with core AWS services such as EC2, S3, and IAM.
- An understanding of AWS Regions and Availability Zones.
- General knowledge of security concepts such as encryption, authentication, and least privilege.
- The ability to read a short AWS CLI command.
The core idea
AWS and its customers split the security work. AWS describes the split in two phrases:
- Security of the cloud is AWS's job. It covers the facilities, hardware, global network, and virtualization layer that run every service.
- Security in the cloud is your job. It covers your data, your configuration choices, and who can access what.
The line between the two is not fixed. It moves depending on which service you use. Later chapters cover that shift in detail. This chapter gives you the basic split and one habit: for any control, ask who owns it.
Where the line falls
The diagram shows the two layers and what sits in each.
A quick comparison
| Question | AWS answers | You answer |
|---|---|---|
| Who guards the data center doors? | Yes | No |
| Who patches the hypervisor? | Yes | No |
| Who decides which IAM users can read a bucket? | No | Yes |
| Who decides whether data is encrypted? | Provides the feature | Chooses to use it |
| Who decides whether a bucket is public? | Provides the setting | Yes |
The last two rows matter most in practice. AWS builds the capability, but the setting that turns it on usually belongs to you.
A concrete example
S3 is operated entirely by AWS, yet whether a bucket is public is your decision. This command turns on all four Block Public Access settings for one bucket:
aws s3api put-public-access-block \
--bucket amzn-s3-demo-bucket \
--public-access-block-configuration \
BlockPublicAcls=true,IgnorePublicAcls=true,BlockPublicPolicy=true,RestrictPublicBuckets=trueAWS built and runs the storage system, and the setting exists because AWS provides it. If you leave it off and the bucket exposes data, the exposure comes from your configuration, not from a failure in AWS's infrastructure.
Why the model matters
- It focuses your effort. You do not need to audit AWS's data centers. You do need to audit your IAM policies, security groups, and encryption settings.
- It prevents gaps. Teams often assume AWS covers a control that it does not. Teams also sometimes duplicate work AWS already does.
- It supports audits. Auditors ask who owns each control. A clear answer for every control is the foundation of a responsibility matrix, which you will build in the last chapter.
What comes next
The following chapters take the two halves in turn, then show how responsibility shifts across infrastructure, container, and abstracted services. After that come worked examples with EC2, RDS, and S3. Later chapters cover identity, data protection, network configuration, compliance evidence, and verification with AWS Config. The final chapter combines everything into a responsibility matrix.
Check your understanding
Exercise
A teammate says, "S3 is a fully managed AWS service, so AWS is responsible if our bucket leaks customer files." Using the shared responsibility model, how do you respond?
Show answer
AWS is responsible for security of the cloud, meaning the storage infrastructure, hardware, and facilities behind S3. Whether a bucket is public is a configuration decision, so it falls under security in the cloud, which is the customer's responsibility. AWS provides controls such as Block Public Access, but you must turn them on and set bucket policies and permissions correctly. A leak caused by a public bucket is a customer-side misconfiguration.
Exercise
Name two controls AWS owns and two that you own.
Show answer
AWS owns physical security of data centers and patching of the virtualization layer, among others. You own IAM permissions and the decision to encrypt your data, among others. Security group rules are also yours.