Skip to content

Harden AWS from the organization down.

One page per AWS service for the engineers who own the accounts. Each opens with the baseline controls for that service, then gives the commands, policies and checks to apply them, mapped to the CIS AWS Foundations Benchmark and Security Hub CSPM.

AWS Hardening is an independent, non-commercial site. It is not affiliated with, endorsed by or sponsored by Amazon Web Services, Inc. or Amazon.com, Inc. AWS, Amazon Web Services and the names of AWS services are trademarks of Amazon.com, Inc. or its affiliates. Other names are trademarks of their respective owners.

Thirteen services, five categories

Start with the organization and its logs, then identities, data, the network and the workloads. Each page stands alone.

13 services, 119 controls

An explicit Deny beats every Allow.

Every guardrail on this site leans on one evaluation rule: a request is refused as soon as any policy that applies denies it, whatever the identity policies allow. The service pages give each SCP, RCP and key policy as complete JSON, with the reason for each condition and the test to run before you attach it.

Never grants
SCPs and RCPs only cap what IAM can allow. A request still needs an Allow from an identity or resource policy.
Management account
Organization policies do not apply to it. Keep workloads out of the management account.
Inheritance
An action must be allowed at every level from the root to the account. One Deny anywhere on that path wins.
Read the Organizations page
DenyRootUser.jsonService control policy
{  "Version": "2012-10-17",  "Statement": [{    "Sid": "DenyRootUser",    "Effect": "Deny",    "Action": "*",    "Resource": "*",    "Condition": {      "StringLike": {        "aws:PrincipalArn": "arn:aws:iam::*:root"      }    }  }]}