Shared responsibility and the Well-Architected Framework

Beginner · 19 min

Which security and operations work is AWS's and which is yours, how the line moves per service, and how to use the six Well-Architected pillars.

Before thisRegions, endpoints, ARNs and service scopeCreating an account and securing the root user

Be A Better Dev · 19 min

Shared responsibility and the Well-Architected Framework

The player loads from youtube-nocookie.com when you press play. Nothing reaches YouTube before that.

Taught by Be A Better DevReport a problem with this video
Not started
Set this lesson's status

What you'll learn

  • AWS is responsible for the security of the cloud: buildings, hardware, network and virtualization. You are responsible for what you put in it and how you configure it.
  • The line moves with the service. On EC2 you patch the operating system. On Lambda or DynamoDB AWS does, but access control and data stay yours.
  • Data, identities and permissions are always your responsibility, whatever the service.
  • AWS offers availability features. Using several zones, taking backups and testing restores is your design decision.
  • The six pillars are operational excellence, security, reliability, performance efficiency, cost optimization and sustainability. Treat them as review questions, and state the trade-offs.

Who is holding which end

Before the cloud, one company owned the whole stack, from the door lock on the server room to the password policy. Move to AWS and part of that work becomes somebody else’s. The dangerous moment is when each side assumes the other has it.

The shared responsibility model draws the line. AWS is responsible for security of the cloud. You are responsible for security in the cloud. Think of renting a unit in a self-storage building. The company keeps the walls standing, the fence locked and the cameras running. If you leave your own unit unlocked, or store something there with a copy of the key taped to the door, that is on you.

The line moves with the service

How much you manage depends on how much of the machine you can touch.

EC2 RDS Lambda S3, DynamoDB
Hardware, facilities, virtualization AWS AWS AWS AWS
Operating system patching you AWS, in your maintenance window AWS AWS
Runtime or database engine you shared: AWS ships, you schedule and choose versions AWS updates managed runtimes, you move off old ones AWS
Your code and its libraries you your SQL and schema you n/a
Network reachability you you you you
Identities, permissions, data you you you you

Read the table top to bottom and two things stand out. Moving to a more managed service removes real work, which is a good reason to prefer it. And the bottom rows never move. No service decides for you who may read your data.

Some controls are shared in a different sense: both sides do their own version. AWS patches its hosts and you patch your guests. AWS trains its staff and you train yours.

Compliance follows the same shape. You inherit AWS’s certifications for the data centre, but they say nothing about your application. Your auditor still asks about your settings.

Reliability is shared too

The model is usually taught as security, but it applies to staying up. AWS gives you Availability Zones. Whether your application runs in more than one is your choice. AWS offers snapshots. Whether they are taken, kept long enough and actually restorable is your job. A single instance in a single zone is a supported configuration and a single point of failure.

Looking at your side

Your side is made of settings, so you can query it. Two examples against an emulator account with deliberately bad choices:

$ aws ec2 describe-security-groups --filters Name=ip-permission.cidr,Values=0.0.0.0/0 \
    --query 'SecurityGroups[].{Group:GroupName,Ports:IpPermissions[].FromPort}'
[ { "Group": "demo-open", "Ports": [ 22 ] } ]

$ aws ec2 describe-volumes --filters Name=encrypted,Values=false \
    --query 'Volumes[].{Id:VolumeId,Encrypted:Encrypted}' --output text
False   vol-509fd53c7e1f648a0

SSH open to the whole internet and an unencrypted disk. AWS will run both happily. Doing this continuously is what AWS Config and the security services are for.

The Well-Architected Framework

Knowing what is yours doesn’t tell you whether you did it well. The Well-Architected Framework is AWS’s collection of questions and practices for that, organised in six pillars:

  1. Operational excellence. Can you deploy, observe and improve it safely? Is change automated and reversible?
  2. Security. Who can do what, how is data protected, and would you notice an intrusion?
  3. Reliability. What happens when a component, zone or dependency fails? Have you tried?
  4. Performance efficiency. Is this the right type and size of resource, and how would you know?
  5. Cost optimization. What does it cost per unit of useful work, and what is idle?
  6. Sustainability. Can the same result use fewer resources?

The pillars compete. More copies help reliability and hurt cost. Aggressive caching helps performance and complicates security. The value is in naming the trade and choosing it deliberately.

Use it as a review you hold before launch and again after big changes. Pick one workload, answer the questions honestly, and turn the high-risk answers into work items. The free AWS Well-Architected Tool records answers, and lenses add questions for areas such as serverless. It is not an audit or a certificate, and a workshop where every answer is “yes” has taught nobody anything.

About the video

The embed is Be A Better Dev’s “6 Pillars of the AWS Well Architected Framework”, January 2024, 19 minutes, with a chapter for each pillar. The framework is revised regularly (the docs page showed an update dated 16 November 2026), so check specific best practices there. It covers the pillars rather than shared responsibility; the text covers that, and the short AWS video in deeper discusses how responsibility varies by service and in compliance audits. I judged both from chapters and descriptions, since transcripts couldn’t be fetched.

What was run: the two queries are real CLI output from moto, a local emulator, against resources created for the example. The responsibility split and pillar names are from AWS’s published model and framework, checked in November 2026. The table is my summary of them.

Where this fits

The bottom rows of that table were identities and permissions, which are yours on every service. That is the next group, starting with IAM users, groups, roles and policies.

Check yourself

  1. 01A vulnerability is announced in the Linux kernel. Who patches it on an EC2 instance, and who on Lambda?

    On EC2 you do, by updating the guest operating system or replacing the instance with a patched image. On Lambda AWS patches the underlying environment. You still own your code and the libraries you package with it.

  2. 02An S3 bucket is made public by its own policy and customer files leak. Is that AWS's failure?

    No. AWS runs the storage service and provides controls such as Block Public Access. Deciding who may read the data is configuration, which is the customer's side.

  3. 03Your database runs on RDS. What is one thing AWS does and one thing you still must do?

    AWS provisions and maintains the host, operating system and database software installation. You still choose network access, users and grants, backup retention, Multi-AZ, and the maintenance window for upgrades.

  4. 04Why can the pillars not all be maximised at once?

    They pull against each other. A second Region improves reliability and raises cost and operational load. A review makes the trade explicit so somebody chooses it on purpose.

Go deeper

Notes

Private to you

Esc
↑↓ navigate↵ open? shortcuts

Keyboard shortcuts

Press Esc to close

Anywhere

⌘K
Search and commands
/
Search
?
This sheet
Esc
Close

Reading a lesson

J
Next lesson
K
Previous lesson
B
Bookmark