Security in the cloud is not a single accountability. Before AWS existed, an organisation buying physical servers owned everything from the building's perimeter fence to the patch level of the database running on the operating system. Moving to a managed cloud changes that arithmetic. AWS now operates the data centres, the racks, the hypervisors, and an expanding set of managed services on top of them, while the customer keeps full ownership of the data they put in, the identities they hand out, and the configurations they choose. The AWS shared responsibility model is the formal map of who is responsible for which control across that boundary, and it is the lens that AWS auditors, support engineers, and the certification exam use to triage any security question. Misreading the boundary is the single biggest source of cloud security incidents, because a control that neither side believes they own is a control that does not exist.
The model is summarised by two phrases that the certification expects you to recognise immediately. AWS is responsible for security OF the cloud, meaning the physical infrastructure (regions, edge locations, hardware, networking cables, hypervisors) and the underlying services AWS exposes. The customer is responsible for security IN the cloud, meaning everything they configure, store, or run on top of those services (data classification, identity and access management, operating system patching where applicable, network traffic protection, encryption choices, and application-layer security). The two halves are not negotiable; they are baked into the AWS Customer Agreement and reflected in every AWS compliance attestation report. When an auditor asks "who patches the host operating system of the database server", the answer depends entirely on which service is running the database. If the customer chose Amazon EC2 and installed PostgreSQL themselves, the customer owns OS patching. If they chose Amazon RDS for PostgreSQL, AWS owns OS patching. The service choice IS the responsibility choice.
Recognising the Concepts of AWS Cloud Security, Governance, and Compliance
Three vocabulary items recur throughout this chapter and must be distinguished at the certification level. Security is the set of technical and procedural controls that protect confidentiality, integrity, and availability of information assets. Governance is the management framework that decides which security controls are required, who approves exceptions, and how decisions are recorded. Compliance is the evidence that the chosen controls actually exist and have been operating as designed, typically presented to an external auditor under a recognised framework such as SOC 2, ISO 27001, PCI DSS, HIPAA, or FedRAMP. A workload can be "secure" without being "compliant" (the controls work but the paperwork is missing), and a workload can be "compliant on paper" without being "secure" (the policy says encryption is on but nobody enabled it). AWS provides services for each of the three: security services such as AWS Shield and Amazon GuardDuty enforce technical controls, governance services such as AWS Organizations and AWS Config codify the rules, and compliance services such as AWS Artifact and AWS Audit Manager package the evidence.
💡 Exam Trap: "Security of the cloud" and "security in the cloud" are reversed in distractor options to test whether you understand the boundary. The first refers to AWS-owned infrastructure, the second to customer-owned configuration. If a stem asks who is responsible for the physical security of an AWS data centre, the answer is AWS. If a stem asks who is responsible for classifying which fields in a database row are confidential, the answer is the customer.
Understanding Access Management
Access management is the customer-side discipline of deciding which human or non-human identity is allowed to perform which action on which resource, under which conditions. AWS exposes the primitives through AWS Identity and Access Management (IAM) and through the workforce-identity service called IAM Identity Center, but the policy decisions (who needs what access, how long, with which guardrails) are entirely the customer's responsibility. AWS will never decide whether a particular engineer should be allowed to delete production data. The model is built on three building blocks that map cleanly to business roles: an identity (a user, a role, or a federated principal) makes a request, a policy is evaluated to decide whether the request is allowed, and the action then either succeeds or is denied with an audit record. Access management is covered in depth later in the chapter; the point here is that it sits firmly on the customer side of the responsibility boundary, regardless of which AWS service is being protected.
Understanding the Components and Resources Available to Help with Security on AWS
AWS publishes a curated catalogue of services and informational resources that customers can use to fulfil their side of the model. The technical services include AWS Shield (DDoS protection), Amazon GuardDuty (threat detection from logs), IAM Access Analyzer (unintended-access detection), AWS Security Hub (posture aggregation), Amazon Macie (sensitive-data discovery in Amazon S3), AWS WAF (web application firewall), AWS Network Firewall (stateful traffic filtering), and the encryption services AWS Key Management Service (KMS) and AWS CloudHSM. The informational resources include the AWS Knowledge Center, the AWS Security Blog, the AWS Customer Compliance Center, and the AWS Security Center landing page. The certification expects recognition: when a stem describes the symptom (a flood of HTTP requests, an unusual API call, a public S3 bucket, a need for an attestation report), you should match the symptom to the named resource without needing to configure it.
Capability Snapshot: Where the Boundary Sits by Activity
| Activity | AWS Responsibility | Customer Responsibility |
|---|---|---|
| Physical security of data centres | Yes | No |
| Patching the host OS of an Amazon EC2 instance | No | Yes |
| Patching the host OS of an Amazon RDS database | Yes | No |
| Classifying which data is confidential | No | Yes |
| Encrypting data at rest in Amazon S3 | Provides the service (SSE-S3, SSE-KMS) | Chooses and enables the option |
| Protecting the AWS account root user with MFA | No | Yes |
| Replacing failed disks in a Region | Yes | No |
| Writing the IAM policy that grants a developer access to a bucket | No | Yes |
| Maintaining the SOC 2 attestation of the AWS infrastructure | Yes | No |
| Demonstrating that the customer's application meets PCI DSS | Provides infrastructure attestation through AWS Artifact | Owns application-layer evidence |
Decision Tree: Who Owns This Control?
📊 Limit: The shared responsibility model is contractual, not negotiable. AWS Enterprise Support does not extend AWS responsibility into customer-owned controls, and no AWS Premium Support engineer will write a customer's IAM policy or classify customer data on their behalf.
⚠️ Anti-Pattern: Treating "the cloud" as a single accountability bucket. Teams that say "AWS handles security" without naming the service create a control gap; auditors will reject the claim because AWS publishes the model precisely to prevent this assumption.
🎯 Scenario: A retail company suffers a breach when a public Amazon S3 bucket exposes customer addresses. Leadership asks whether AWS will pay the regulatory fine. The shared responsibility model gives the answer: bucket-policy configuration is customer-owned, so the fine falls to the retailer. The remediation is also customer-owned: enable S3 Block Public Access, tighten the bucket policy, and run IAM Access Analyzer to surface any other resource that can be reached from outside the account.
Decision Anchor: choose to invoke "security OF the cloud" when the control lives below the hypervisor or inside AWS-operated software; choose to invoke "security IN the cloud" when the control concerns customer data, identities, configurations, or guest-OS patching of an instance the customer launched.
The shared responsibility model is the foundation for the rest of this chapter. Every subsequent section refines a specific edge of the boundary, beginning with the named components of the model itself.
