Sub topic 2
How Responsibility Shifts Across Infrastructure, Container, and Abstracted Services
Assume you know EC2, S3, IAM, Regions, Availability Zones, encryption, authentication, and least privilege. The shared responsibility model changes with the amount of infrastructure AWS manages for you.
Service categories
AWS always secures the underlying cloud. Your duties increase when you control more of the operating environment.
| Service category | Example | Your main duties |
|---|---|---|
| Infrastructure | EC2 | Guest operating system, patches, software, network rules, data, and identities |
| Container | RDS | Database settings, users, data, and access controls |
| Abstracted | S3 | Data, bucket configuration, policies, and encryption choices |
Infrastructure services give you the most control and the most maintenance. Container services remove some platform work, such as database host maintenance. Abstracted services hide most infrastructure details, but they do not secure your data or permissions automatically.
Worked examples: EC2, RDS, and S3
With EC2, AWS secures the facilities, physical hosts, networking, and virtualization layer. You patch the guest operating system, remove unnecessary software, configure security groups, protect instance credentials, and secure application data.
With RDS, AWS manages the physical host, operating system, database engine platform, and many maintenance tasks. You still choose a supported engine version, configure network access, manage database users, protect credentials, and decide how backups and encryption fit your requirements.
With S3, AWS manages the storage infrastructure. You manage bucket policies, access points, object permissions, data classification, versioning, lifecycle rules, and encryption settings. A bucket is not secure merely because AWS operates S3.
Common misunderstandings and misconfigurations
- Treating an AWS-managed operating system or database as fully patched without checking the service's maintenance model.
- Allowing
0.0.0.0/0to reach an EC2 administration port. - Granting broad IAM permissions because a service is managed.
- Making an S3 bucket public when a private policy or presigned URL would meet the requirement.
- Assuming encryption removes the need to control keys, identities, and data access.
Your duties for identity and access
Use IAM roles instead of long-lived access keys where possible. Give each person and workload only the permissions it needs. Separate administrative and application identities, require multifactor authentication for human administrators, and review unused permissions.
Record who owns each control. For example, AWS owns the physical security of an RDS host, while your database administrator owns database users and your security team owns the access review.
Exercise
You run an encrypted RDS database. Who is responsible for ensuring that only the application role can read its data?
Show answer
You are responsible for the IAM, database permissions, network rules, and key policies that enforce that access.