Lesson 2 of 9 · 20m
Accounts Are the Blast Radius Boundary
Why multi-account structure matters, how Organizations and SCPs shape permissions, and where teams usually overcomplicate it.
A useful AWS account structure starts with an uncomfortable fact: IAM is strong, but account boundaries are stronger. A compromised credential in a development account should not be able to enumerate production databases, no matter how badly someone wrote a policy. Multi-account design is not enterprise ceremony; it is incident containment you buy before the incident.
Accounts are cheap isolation
A common small-organization layout looks like this:
management
├── security # logs, detection, incident response tools
├── shared-services # CI runners, artifact storage, central networking if needed
├── prod
├── staging
└── sandboxThe point is not the exact tree. The point is that production data, experimentation, and security evidence do not share one failure domain. Tags and naming conventions are helpful, but they do not contain a bad actor or a broken deployment script.
AWS Organizations is the control plane
Organizations groups accounts under organizational units (OUs), centralizes billing, and lets you attach Service Control Policies. An SCP is not an IAM policy and grants nothing by itself. It sets the maximum actions available in member accounts.
{
"Version": "2012-10-17",
"Statement": [{
"Sid": "DenyLeavingApprovedRegions",
"Effect": "Deny",
"NotAction": ["iam:*", "organizations:*", "cloudtrail:*"],
"Resource": "*",
"Condition": {
"StringNotEquals": {
"aws:RequestedRegion": ["us-east-1", "us-west-2"]
}
}
}]
}This pattern uses NotAction because some global services do not fit cleanly into regional restrictions. That detail matters; copying region-deny SCPs without understanding global control-plane services breaks IAM and billing automation.
Do not build a maze
New teams often create an account per microservice, then discover they have fifty accounts and no owner who can explain them. Start with environments and security functions. Split further when there is a concrete reason: regulated data, a noisy vendor integration, very different uptime requirements, or a business unit with separate operations.
Use AWS Control Tower if you want guardrails and account vending without hand-building everything. Skip it if your organization is tiny and you genuinely understand the pieces it automates; either answer is defensible if you can explain the tradeoff.
Field notes
- Keep security logging outside the account being attacked; otherwise an intruder can delete the evidence with the same credential.
DenySCPs are easier to reason about than allowlist-only SCPs, but they still affect every principal including administrators.- Test SCP changes in a low-risk OU first. A bad SCP can lock down an entire production organization in one attach operation.
- Consolidated billing is convenient, but cost allocation still depends on tags and account design.
Was this lesson helpful?