Lesson 1 of 2 Shared Responsibility Model

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 cloudCustomer: security in the cloud
Physical security of data centres (guards, access control, surveillance)Customer data
Hardware: servers, storage, networking and their disposalIdentity and access management: users, permissions, MFA
The global networkThe guest operating system on EC2, with its updates and patches
Host operating system and virtualisation layerApplications
Software that runs managed servicesSecurity groups and network ACLs
Encryption choices and network traffic protection

The following diagram divides the responsibilities into two layers.

The shared responsibility model. AWS is responsible for security of the cloud: the physical data centres, the hardware, 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: their data, identity and access management, the guest operating system on EC2, applications, security groups and network ACLs, and encryption choices.
AWS secures the cloud; the customer secures what they put in it.
Sort into groups

AWS or customer?

Exam skills 2.1.1 · 2.1.2 · 2.1.3

Decide who is responsible for each item under the shared responsibility model.

Log in to try this activity Interactive activities are free with an account.

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 typeExamplesHow it works
SharedPatch management, configuration management, awareness and trainingEach party handles its own layer: AWS the infrastructure, customers their OS, apps and staff
InheritedPhysical and environmental controlsCustomers inherit them entirely from AWS and use AWS's reports (from AWS Artifact) in audits
Sort into groups

Shared or inherited?

Exam skills 2.1.4

Decide whether each control is shared or inherited.

Log in to try this activity Interactive activities are free with an account.

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.

Worked example

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:

ProblemResponsibleWhy
A data centre's door lock is faultyAWSPhysical security of facilities
A hard drive in an AWS server failsAWSHardware
An employee's password was "password123"CustomerIAM users and password policies
A security group allows anyone to connect on every portCustomerNetwork configuration
The Linux operating system on an EC2 instance needs a security patchCustomerGuest operating system on EC2
Customer records were uploaded to S3 without encryptionCustomerData and encryption choices

AWS secures the cloud itself; the customer secures what it puts in the cloud and how it configures it.

Check yourself

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.