Organizations, OUs, and SCP Strategy
Structure accounts and choose allow-list or deny-list SCPs.
Organizations, OUs, and SCP Strategy is a free AWS Security Academy lesson on CoddyKit — lesson 3 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the AWS Security Academy learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.
Governing Many Accounts
AWS Organizations lets you centrally manage many AWS accounts as one structure. Within it, Service Control Policies (SCPs) set permission ceilings, and Organizational Units (OUs) group accounts for policy targeting. Designing this hierarchy well is a core skill for the SCS-C02 exam's governance domain.
The Organization Structure
An organization has a management account (formerly master) at the top, a root container, and OUs that can nest to group member accounts. Policies attached at any level flow down to everything beneath. This tree lets you apply controls broadly or narrowly with one attachment.
What an OU Is For
An Organizational Unit (OU) groups accounts that share governance needs, for example a "Production" OU, a "Sandbox" OU, and a "Security" OU. Attaching an SCP to an OU applies it to every account inside, so you organize accounts by the policies they should inherit.
How SCPs Inherit
SCPs are inherited down the tree: an account is governed by the SCPs at the root, its parent OUs, and itself, combined. For an action to be allowed, it must be permitted at every level. A deny anywhere in the chain blocks it. This cumulative effect is central to SCP design.
Allow-List vs Deny-List
There are two strategies. A deny-list starts from the default FullAWSAccess and adds explicit denies for things you never want, like disabling CloudTrail. An allow-list removes FullAWSAccess and explicitly lists only permitted services, a much stricter posture. Most organizations begin with deny-list for flexibility.
A Deny-List Example
This SCP denies anyone from stopping CloudTrail logging, a common guardrail applied org-wide so no member account can blind the audit trail.
{
"Effect": "Deny",
"Action": "cloudtrail:StopLogging",
"Resource": "*"
}SCPs Do Not Grant
A vital rule: SCPs never grant permissions; they only set the maximum. An action must be allowed by both an SCP and an IAM policy in the account. An allow-list SCP simply makes services available to be granted; IAM still has to grant them.
What SCPs Do Not Affect
SCPs do not apply to the management account, and they do not affect service-linked roles. They also do not touch resource-based policy grants from outside the org in some cases. Knowing these exceptions prevents wrong answers when a scenario expects an SCP to block something it cannot.
Preventing Org Escape
Two classic protective SCPs deny leaving the organization (organizations:LeaveOrganization) and deny member accounts from disabling security services like GuardDuty, Security Hub, Config, and CloudTrail. Applied at the root, these ensure no member account can detach itself from governance or blind the organization's detection, a strongly recommended baseline.
Strategy by OU
A typical design: a baseline deny-list SCP at the root (protect CloudTrail, deny leaving the org, restrict regions), stricter SCPs on the Production OU, and looser ones on a Sandbox OU. Grouping accounts by risk profile into OUs lets you tune governance precisely with minimal policy sprawl.
Putting It Together
Organizations structures accounts into OUs under a root and management account. SCPs inherit down the tree and an action needs an allow at every level. Choose deny-list (flexible) or allow-list (strict) strategy, remember SCPs only cap, never grant, and that they do not apply to the management account or service-linked roles.
Quick Check
Test your SCP strategy.
Recap
AWS Organizations groups accounts into OUs under a root and management account. SCPs inherit down the tree and require an allow at every level; any deny blocks. Use deny-list (flexible) or allow-list (strict) strategy. SCPs only cap, never grant, and do not apply to the management account or service-linked roles.
Frequently asked questions
Is the “Organizations, OUs, and SCP Strategy” lesson free?
Yes — the full text of “Organizations, OUs, and SCP Strategy” is free to read here on the web, and the AWS Security Academy course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the AWS Security Academy course, upgrade to CoddyKit PRO.
What will I learn in “Organizations, OUs, and SCP Strategy”?
Structure accounts and choose allow-list or deny-list SCPs. You practise AWS Security Academy with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.
Do I need any experience to start AWS Security Academy?
No prior experience is required. AWS Security Academy on CoddyKit is structured for beginners through advanced learners; this is — lesson 3 of 4, so you can start here or from the beginning and move at your own pace.
How long does the “Organizations, OUs, and SCP Strategy” lesson take?
Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.
Can I write and run code in this AWS Security Academy lesson?
Yes. Every AWS Security Academy lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.
All lessons in this course
- What a Permission Boundary Limits
- Delegating Role Creation Safely
- Organizations, OUs, and SCP Strategy
- How SCPs Combine with IAM Permissions