Explaining How Responsibility Shifts with the Type of Service
This lesson explains how the line between AWS's and the customer's responsibilities moves with the type of service: the more managed the service, the less the customer has to do.
Learning outcomes
After completing this lesson, you will be able to:
- Compare customer responsibilities for infrastructure, managed and serverless services.
- Identify the responsibilities that always remain with the customer, such as data and access.
Responsibilities by service type
The more a service is managed by AWS, the less the customer has to secure. With an infrastructure service such as Amazon EC2, AWS manages only the physical infrastructure and virtualisation, so the customer is responsible for the guest operating system and its patches, any software they install, firewall settings and their data.
With a managed service such as Amazon RDS, AWS also manages the operating system, installs and patches the database engine, and runs the backup and high availability features. The customer still manages the data, database users and permissions, network access and settings such as encryption, Multi-AZ and backup retention. With an abstracted or serverless service such as AWS Lambda, Amazon S3 or DynamoDB, AWS manages everything below the application, including servers, operating systems, runtimes and scaling, and the customer manages their code, data, access policies and encryption options. The following table summarises the three types.
| Service type | Example | AWS manages | Customer manages |
|---|---|---|---|
| Infrastructure | Amazon EC2 | Physical infrastructure and virtualisation | Guest OS and its patches, installed software, security groups and firewalls, data |
| Managed | Amazon RDS | Also the OS, database engine installation and patching, backup infrastructure, high availability options | Data, database users and permissions, network access, settings such as encryption, Multi-AZ and backup retention |
| Abstracted / serverless | AWS Lambda, Amazon S3, DynamoDB | Everything below the application: servers, OS, runtimes (including Lambda runtime patching), scaling | Code, data, access policies (IAM, bucket policies), encryption options |
The following diagram shows who does each task for three types of service.

Who patches it?
What never moves
Whatever the service, the customer is always responsible for their data, who can access it (IAM) and how it is configured, such as whether an S3 bucket is public. AWS never manages your IAM users or decides who can see your data.
Patching the same database three ways
A company runs a MySQL database and asks who applies database security patches in each case:
| How the database runs | OS patches | MySQL patches | Data and access |
|---|---|---|---|
| MySQL installed on EC2 | Customer | Customer | Customer |
| Amazon RDS for MySQL | AWS | AWS (in the maintenance window the customer chooses) | Customer |
| Amazon DynamoDB instead of MySQL | AWS | AWS (no engine to patch) | Customer |
The more managed the service, the less the customer does, but one column never changes: the customer always controls its data and who can access it.
Which responsibilities stay with the customer whatever service is used?
Show answer
Their data, how it is classified and protected, and who can access it.
Exam Tips
Remember for the exam
- Patching the EC2 guest operating system is the customer's job; patching the RDS operating system and database engine is AWS's.
- Patching the Lambda runtime is AWS's job; the Lambda function code is the customer's.
- The more managed the service, the less the customer is responsible for.
- S3 bucket permissions and public access settings are the customer's responsibility.
- Customer data and IAM are always the customer's responsibility.