The shared responsibility model is the way AWS splits the security work between AWS and its customers. Security, in this case, is everything that keeps someone without permission from seeing, changing or deleting your data. AWS protects the infrastructure its services run on, which is its buildings, its machines and its networks, and you protect what you put on top of it, such as the permissions that say who gets into your account, which in AWS are set up with the IAM service, and the encryption of your data.
For example, if you have an online store on AWS, AWS makes sure nobody walks into its buildings and takes the machines your store runs on. You, on the other hand, make sure only your employees can see the list of orders and your customers' data.
What does AWS protect and what do you protect?
AWS sums up the model with two prepositions. AWS is responsible for security "of" the cloud, which includes the hardware, software, networking and facilities that run all of its services, as well as virtualization and the physical security of its global infrastructure. You are responsible for security "in" the cloud, which is everything you put on top: your data, who gets into your account and how you configure each service.

The infrastructure is operated by AWS and you can't touch it. What you put on top, on the other hand, stays the way you configure it, so a mistake in that part is your responsibility. For example, if an AWS machine breaks down, repairing it is AWS's job, but if you give access to your account to someone who shouldn't have it, that mistake is yours.
Amazon S3, the AWS service for storing files, shows how this split works. In S3 files are stored inside a bucket, which is a space with its own name where you decide who can read what you store. AWS takes care of the servers and buildings where S3 runs, but you choose the bucket's permissions. For example, if your store leaves a bucket with its customers' data open to the internet, the responsibility is yours even though the service belongs to AWS, because AWS gives you the tools to close it and someone on your side chose the configuration that left it open.
AWS's part is reviewed by third-party auditors on a regular basis. You can't walk into an AWS data center to check it, but you can download the reports from those audits from AWS Artifact, an AWS service that keeps those documents. For example, if a large customer of your store asks how you know AWS buildings are well protected, you can send them one of those reports.
Your part, on the other hand, depends on conditions that AWS doesn't know. According to the AWS Lambda documentation, what you are responsible for is determined by the service you use, how sensitive your data is, what your company requires and which laws apply. For example, a store that keeps its customers' card numbers has to protect more things than a recipe blog, even if both use the same AWS service.
How does the split change by service?
The line between AWS and you moves from one service to another. A managed service is one where AWS does part of the maintenance for you, such as installing updates, and the more managed a service is, the more work AWS does and the less is left to you. Three services show that difference well:
- Amazon EC2, which rents you virtual servers where you install and manage everything.
- Amazon RDS, which gives you a database ready to use, that is, the place where an application keeps its information in order.
- AWS Lambda, which runs your code without you having to manage any server.
For example, your online store could use all three: EC2 for the website, RDS to store the orders and Lambda to send the confirmation email for each purchase. In each one you have a different job.

The hardware belongs to AWS in all three services. The operating system and the database engine or the runtime are yours in EC2 and AWS's in RDS and Lambda. The database engine is the program that stores and finds the data, and the runtime plays that role for Lambda code. Your data, your permissions and your code, on the other hand, are yours in all three. For example, the orders your store keeps are your responsibility in any of the three services, because the data is always yours.
Amazon EC2
In Amazon EC2 you rent a virtual machine, which in EC2 is called an instance, so almost everything that runs inside it is yours. The EC2 security guide lists what you are responsible for:
- The network traffic, which you control with the VPC, which is your private network inside AWS, and with security groups.
- The credentials, which are the key or password you use to connect to the instance.
- The guest operating system, which is called that because it runs inside the virtual machine and which you have to keep up to date with its updates and security patches.
- The IAM roles, which you assign to the instance to give it permissions, for example to read a bucket.
For example, if your store's website runs on an EC2 instance with Linux and a patch comes out that fixes a Linux security gap, installing it is up to you. If you don't install it, the instance stays exposed even though AWS takes very good care of its hardware.
Amazon RDS
In Amazon RDS, AWS takes care of the hardware, the operating system of the DB instance and the maintenance of the database engine. It also schedules the security and reliability patches on its own, which according to the RDS documentation usually come out once every few months. The decisions about your database are left to you:
- The maintenance window, which is the time slot when those patches are applied.
- The network, which you configure with the VPC and security groups.
- The IAM permissions, which say who can create or delete databases.
- The database users, which are the ones who sign in to it.
- The encryption of the data, which you turn on if you decide to encrypt it.
For example, if your store keeps its orders in RDS, AWS installs the operating system patches and you choose to have them applied early Sunday morning, when almost nobody is shopping.
AWS Lambda
In AWS Lambda you don't see any operating system, because AWS keeps the managed runtimes up to date with patches. You provide the code, the libraries you upload with it, which are pieces of code made by other people that your code uses, and the function's permissions. When AWS deprecates a runtime version, that version can stop receiving security patches, and moving your function to a new version is up to you.
For example, if your store's function that sends the confirmation emails uses a Python version that AWS deprecates, changing it to a new version and checking that it still works is your job.
What are inherited, shared and customer-specific controls?
An IT control, short for information technology, is any measure that protects a system, from a lock on a building's door to a patch in a program. AWS classifies these controls into three types, based on who meets them.

Each type splits the work in a different way:
- Inherited controls, which AWS meets and you receive as they are, such as the physical and environmental controls of a data center. For example, your store doesn't have to watch who walks into AWS buildings, because AWS already meets that control.
- Shared controls, which each party meets in its own layer: AWS patches its infrastructure and you patch your operating system and your applications, AWS configures its equipment and you configure your systems, and AWS trains its people and you train yours. For example, AWS teaches security to its employees, and your store has to teach its own not to share passwords.
- Customer-specific controls, which depend on how your application is built, such as separating data into security zones so the most sensitive data is kept apart. For example, your store can keep payment data in a different place from the product catalog, and only you can make that decision.
cloud path tip: if a question talks about training employees in security, the answer is that training is up to both parties, because AWS trains its people and you train yours.
Accounts with the new experience
If you opened your account with the new AWS experience, which lets you sign up with Google, GitHub, Apple, Amazon or email, the split of responsibilities is the same as in a full account. AWS applies this split even to the coding agents you connect to that account, so you answer for what they do and for the security of what they create. For example, if you ask an agent to build your store's page and it leaves a bucket open to the internet, closing it is your responsibility.
On the exam
Questions on this topic describe a task and ask who is responsible for it. To answer them, first find the service in the question and then the layer the task belongs to, because the same task can be AWS's in one service and yours in another. For example, patching the operating system is up to you if the database runs on an EC2 instance, and it is AWS's job if the database is in Amazon RDS.
These words in the question tell you who is responsible for the task:
| Words in the question |
Who is responsible |
| Guest operating system patches, security groups, encrypting data, IAM permissions |
The customer |
| Physical security, hardware, global infrastructure, virtualization |
AWS |
| Operating system patches with Amazon RDS or AWS Lambda |
AWS |
| Patches, configuration or training, with no further context |
Both, because it is a shared control |