Skip to content

Chapter 1 of 8

AWS Foundations and the Shared Responsibility Model

The AWS shared responsibility model defines the division of security responsibilities between AWS and the customer. AWS is responsible for the security OF the cloud, covering physical infrastructure, hardware, regions, and the services themselves. The customer is responsible for security IN the cloud, which includes protecting data, configuring IAM, patching operating systems on EC2, configuring network firewalls, and managing encryption. The exact division depends on the service: with EC2 the customer patches the guest OS, but with fully managed services such as S3 or DynamoDB, AWS handles the operating system and infrastructure while the customer still owns data, access policies, and encryption settings.

To evaluate whether architectures follow best practices, AWS provides the Well-Architected Framework. It is built on five pillars: Operational Excellence, Security, Reliability, Performance Efficiency, and Cost Optimization, with Sustainability later added as a sixth. Workloads reviewed against this framework identify risks and improvements.

The AWS Well-Architected Tool is a free console service that helps apply the framework to your own workloads, track identified risks, and benchmark against industry standards. Combined with awareness of the shared responsibility model, these two resources form the baseline for any developer working on AWS, ensuring that operational and security responsibilities are correctly assigned regardless of which services are used.

All chapters
  1. 1AWS Foundations and the Shared Responsibility Model
  2. 2Identity, Access, and Authentication
  3. 3Compute, Containers, and Deployment
  4. 4Serverless with Lambda
  5. 5Storage on AWS
  6. 6Networking and Application Delivery
  7. 7Databases, Messaging, and Event-Driven Integration
  8. 8Observability, Security, and DevOps Practices

Drill it

Reading is not remembering. These come from the AWS Developer Associate Dva C02 deck:

Q

What does the AWS shared responsibility model define?

The division of security responsibilities between AWS (security OF the cloud: infrastructure, hardware, regions, services) and the customer (security IN the clo...

Q

Which AWS service is required to launch an EC2 instance?

An AMI (Amazon Machine Image), an instance type, a VPC with subnet, a security group, an IAM role/credentials, and optionally key pair and EBS volume.

Q

What is an IAM role vs an IAM user?

An IAM user is a permanent identity with long-lived credentials. An IAM role is an identity with no long-lived credentials that is assumed temporarily by users,...

Q

What is the maximum size of an IAM policy?

5,120 characters for managed policies attached to a user/group/role; service-specific quotas apply (e.g. inline user policy up to 2,048 chars, group 5,120, role...