Shared responsibility, regions & AZs
Where AWS's job ends and yours begins, per service type. Regions vs AZs vs edge, and why "deployed in two AZs" is not a DR plan.
The mental model
Renting a flat in a large apartment building is the cleanest analogy for the shared responsibility model. The builder guarantees the foundation, the lift, the water tank, the security guard at the gate and the fire alarm in the corridor. Inside your flat, everything is yours: whether you lock the door, whether you leave the gas on, who you hand a spare key to. If your flat is burgled because you left the door open, "but there is a guard at the gate" is not a defence.
AWS says it as *security of the cloud versus security in the cloud*. AWS owns the physical facilities, the hardware, the hypervisor, the global network backbone and the managed-service software. You own your data, your identity configuration, your network rules, your patching where patching is still yours, and your encryption choices.
The subtlety that separates good candidates from average ones is that the line moves per service. On EC2 you patch the guest OS. On RDS, AWS patches the engine but you still choose the parameter group, the users and whether it is publicly accessible. On S3 and Lambda, there is no OS in your half at all — but the access policy is entirely yours, and that is where almost every public breach actually happens.
The second half of this lesson is geography, and it has the same shape: AWS guarantees that Availability Zones are independent, but using them is your job. A single-AZ deployment in a three-AZ region is not resilient because AWS built three AZs; it is fragile because you used one. And a multi-AZ deployment is still not a disaster-recovery plan, because an AZ is not the unit that fails in the incidents that actually hurt — a bad deployment, a deleted table, a corrupted config and a region-wide control-plane event all cross AZ boundaries without noticing them.
- Deep dive
- Internal architecture
- Real-world use cases
- Best practices
- Common mistakes
- Performance
- Security
- Production troubleshooting
- Advantages & disadvantages
- Alternatives
- Interview expectations
- Interview questions
- Facts to remember
- Cheat sheet
- Quick revision