Sub topic 6
Designing your organizational units
This chapter assumes you know what AWS Organizations is, including accounts, the root, organizational units (OUs) and service control policies (SCPs). It also assumes you have read the chapters on Control Tower prerequisites and the home Region. The OU layout is the structure that controls, accounts and access attach to, so you decide it before you launch the landing zone.
Why OU design matters
An OU is a container for accounts inside AWS Organizations. In Control Tower, an OU is also the unit you govern. You enable a control on an OU, and every account in it receives that control. If the OU contains child OUs, the control applies to them as well.
Because of that inheritance, the OU tree is a policy tree. If you put accounts with different risk profiles in one OU, you will either over-restrict some of them or under-protect others. Moving accounts later is possible, but it changes the controls that apply to them, so a poor first design costs rework.
Principles for a good layout
Group accounts by how you want to govern them. Do not copy your org chart.
- Group by security and compliance needs. Accounts that need the same guardrails belong together. A production workload and a developer experiment rarely do.
- Group by lifecycle. Sandbox, non-production and production accounts have different tolerance for change and for risk.
- Keep the tree shallow. Organizations allows nesting up to five levels below the root. Every extra level makes it harder to reason about which controls an account inherits. Two levels are enough for most organizations.
- Name OUs for their purpose. Use
WorkloadsorSandbox. Avoid names tied to teams that may be reorganized, such asPlatform-Team-B. - Do not create one OU per account. Controls are applied per OU. Per-account OUs give up the benefit of OU-level governance.
What Control Tower creates for you
At launch, Control Tower creates a Security OU. It holds the Log Archive and Audit accounts, which the next chapter covers. You can change the OU's name during setup, but the OU is required. Control Tower also offers to create one additional OU. In older versions this was always called Sandbox, and you can now name it yourself. Treat it as a starting point, not a design.
The management account is not in any OU. It sits at the root, and SCPs do not restrict it. That is one reason to keep workloads out of it.
A reference layout
A common starting structure follows AWS prescriptive guidance for multi-account environments:
| OU | Purpose | Typical governance |
|---|---|---|
| Security | Log Archive and Audit accounts | Strictest controls. Very few people have access. |
| Infrastructure | Shared services such as networking or shared tooling | Strong controls. Changes go through a platform team. |
| Sandbox | Individual experimentation | Looser permissions, budget limits, restricted Regions and services. |
| Workloads / NonProd | Development and test accounts | Moderate controls. |
| Workloads / Prod | Production accounts | Strict controls, such as blocking deletion of logs and encryption requirements. |
| Suspended | Closed or decommissioned accounts | Deny-all style restrictions until the accounts are removed. |
Some organizations add a PolicyStaging OU to test new SCPs and controls on a few accounts before rolling them out wider. Others add an Exceptions OU for accounts that need a documented deviation from the standard. Add these only if you will use them.
Nested OUs and inheritance
Control Tower supports nested OUs. A control enabled on Workloads applies to Prod and NonProd. A control enabled only on Prod applies only there. Put controls that every workload needs at the parent, and put stricter ones at the child. You cannot remove an inherited control from a child OU, so the parent should hold only what every descendant can accept.
Choosing the Region and OU decisions together
The governed Regions you pick at launch apply to the whole landing zone, not per OU. Region restrictions, though, are implemented as controls, so you can enforce them differently on different OUs. A sandbox OU might deny use of all but one Region, while a production OU permits several. Design your OUs knowing which Region rules you want to apply to each one.
Inspecting and creating OUs from the CLI
You can read the existing tree with Organizations. Find the root first, then list its children.
aws organizations list-roots
aws organizations list-organizational-units-for-parent \
--parent-id <root-id> \
--query 'OrganizationalUnits[].[Name,Id]' \
--output tableTo see nested OUs, repeat the second command with an OU ID as the parent. To create a new OU, for example Workloads, run the following. Run it with credentials for the management account.
aws organizations create-organizational-unit \
--parent-id <root-id> \
--name WorkloadsAn OU created this way exists in Organizations but is not yet governed by Control Tower. Register it in the Control Tower console, which enrolls it and any accounts it contains. In the console you can also create OUs from the Organization page, and those are registered as they are created.
How OUs connect to later steps
OU choices affect almost everything that follows:
- Controls. You enable them per OU, so the layout decides how finely you can tune them.
- Account Factory. When you provision an account, you choose the OU it lands in. An account provisioned into
Sandboxgets sandbox controls immediately. - Drift. Moving an account between OUs, or changing an OU's structure outside Control Tower, can cause drift that you must repair.
- Access. IAM Identity Center permission sets are assigned to accounts or groups of accounts. Clean OUs make it easier to give a group the same access to every account of one kind.
Common mistakes
- Mirroring the org chart. Reorganizations then force OU changes, and the controls you need do not follow team boundaries.
- Too many levels. A deep tree hides which controls an account inherits. Use the Control Tower console, which shows the enabled controls per OU, to check any account's effective controls.
- Putting workloads in the management account. The management account is outside SCP restrictions, so workloads there are ungoverned.
- Editing Control Tower-managed SCPs directly. Changes made outside Control Tower cause drift. Manage them through controls, or add your own separate SCPs.
- Mixing production and experimental accounts. A control strict enough for production blocks developers, and one loose enough for developers weakens production.
- Forgetting the Suspended OU. Without a place for closed accounts, they stay in their old OU with their old permissions.
Review
OUs are the units of governance in Control Tower, so design them around security needs and lifecycle. Keep them shallow, name them by purpose, and use inheritance by putting shared controls on the parent. Control Tower creates the Security OU and one optional extra OU. You add the rest before or after launch, and you register them so Control Tower governs them.
Exercise
Your company has a team called "Payments". A colleague proposes creating a "Payments" OU with all of that team's accounts, including development, test and production. What is the problem, and what would you propose instead?
Show answer
Grouping by team puts accounts with different risk levels under one set of controls, so you cannot make production stricter than development without over-restricting developers or under-protecting production. Team names also change in reorganizations. Instead, group by lifecycle: put the team's accounts into Workloads/NonProd and Workloads/Prod, and apply stricter controls to Prod. Use account names or tags to identify the team.
Exercise
You enable a control on the parent Workloads OU, and later find it blocks something your NonProd accounts need. Can you disable it only on NonProd? What should you do?
Show answer
No. Controls enabled on a parent are inherited by child OUs, and you cannot turn them off for one child. Disable the control on Workloads and enable it separately on Prod and on any other child OU that should have it. This is why only controls every descendant can accept belong on a parent.
Exercise
Write the CLI commands to list the OUs directly under the root, and then create an OU named Infrastructure under the root. What extra step is needed before Control Tower governs it?
Show answer
Run aws organizations list-roots to get the root ID, then aws organizations list-organizational-units-for-parent --parent-id <root-id>, then aws organizations create-organizational-unit --parent-id <root-id> --name Infrastructure. The new OU must then be registered with Control Tower, for example in the console, which also enrolls any accounts in it.