The AWS shared responsibility model divides security duties between AWS and you. AWS is responsible for security of the cloud: the physical data centers, hardware, and the core software that runs the services. You are responsible for security in the cloud: your data, who can access it, how you configure services, and the operating systems and applications you run. The exact split changes with the service you use.
Misunderstanding this line is behind many real cloud incidents, so it is one of the most important beginner ideas.
Think of renting an apartment. The landlord secures the building, the main doors and the plumbing. You lock your own door and decide who gets a key. AWS plays the landlord and you are the tenant.
| Side | Who | Examples |
|---|---|---|
| Security of the cloud | AWS | Data center buildings, power, physical access, hosts, hypervisor, global network, managed service software |
| Security in the cloud | You | Data, IAM users and policies, encryption choices, firewall rules, guest operating systems, application code |
AWS regularly has its infrastructure checked by independent auditors, and you can download the resulting compliance reports from AWS Artifact. That covers its half; it does not make your configuration safe.
The more AWS manages, the less you have to secure. The model shifts depending on the kind of service.
With Amazon EC2 you get a virtual server. AWS secures the host and the virtualization layer. You must patch the guest operating system, install security updates, configure the firewall and protect the applications and data.
With Amazon RDS, AWS also patches the database engine and the operating system underneath, and handles backups if you enable them. You still manage database users, network access, encryption settings and the data itself.
For S3 and Lambda AWS runs nearly all of the platform. Your duties are mainly access control, data classification, encryption choices and, for Lambda, the security of your function code and its permissions.
| Service | AWS patches the OS | You patch the OS | You control access and data |
|---|---|---|---|
| EC2 | Host only | Yes, the guest OS | Yes |
| RDS | Yes | No | Yes |
| S3 | Yes | No | Yes |
| Lambda | Yes | No | Yes, plus your code |
Whatever service you choose, some tasks stay with you:
A frequent real-world failure is an S3 bucket made public by mistake. AWS built the bucket securely, but the owner changed the settings. That is the model in action: the platform worked as designed, the configuration was the customer's job.
You can check and enforce protection on a bucket from the CLI:
New buckets block public access by default today, but older buckets and account settings can differ, so verify them.
AWS provides services that make your half easier: IAM for permissions, AWS CloudTrail to log API activity, AWS Config to track configuration changes, Amazon GuardDuty to detect threats, and AWS Key Management Service (KMS) for encryption keys. They are tools, not guarantees. You still decide to turn them on and act on their findings.
Some areas are shared. Patch management is shared: AWS patches the infrastructure, you patch your guest systems. Configuration management is shared: AWS configures its devices, you configure your resources. Awareness and training are shared too, each side trains its own staff.
Not automatically. AWS compliance covers the infrastructure. You must still configure and operate your workload to meet the standard.
AWS runs the hardware, but you design for failure by using multiple Availability Zones and backups.
You choose whether to enable encryption. AWS provides the options and the key management, but the decision and the configuration are yours.
Yes. With serverless services AWS handles more of the platform, so your duties shrink to code, permissions and data.
AWS secures the cloud itself; you secure what you put in it. The more managed the service, the more AWS handles, but your data, access control and configuration always remain your job. Use least privilege, enable logging and encryption, and review your settings regularly.