37 of 50 in All Controls
aws

Implement Multi-Account and Organizational Unit (OU) Structure

IDAWS-ORG-004
Severity
critical
Automation
Auto
Category
governance
Enforcementmandatory
Complexity / Impact
high(disruptive impact)
Risk Profile
medium likelihood(low residual)
Cloud Scopeaws:root
Environments
productionnon-productionsandbox
Target Resources
AWS::Organizations::OrganizationAWS::Organizations::OrganizationalUnitAWS::Organizations::Account
Services
organizationscontrol-tower
Tags
governanceorganizationmulti-accountou-structuresecurity-boundarylanding-zone
Frameworks
NIST 800-53ISO 27001PCI DSSSOC 2AWS FSBP
Governance
Cloud Security (annually)
Created
2026-05-03
Last Updated
2026-11-17

Specification & Description

Establish a standardized multi-account and Organizational Unit (OU) hierarchy in AWS Organizations (with All Features enabled) to isolate security, infrastructure, and application workloads and scope SCP, RCP, and Tag Policy inheritance.

Technical Specifications

AWS Organizations requires FeatureSet ALL before you can attach Service Control Policies (SCPs), Resource Control Policies (RCPs), or Tag Policies. OUs can nest up to five levels deep under Root, each member account resides in one parent OU, and the Management account always remains directly under Root. Separating concerns across dedicated accounts and functional OUs aligns your landing zone with the AWS Security Reference Architecture (SRA):

  1. Management Account (Root): Organization control plane and consolidated billing only, with zero application workloads.
  2. Log Archive Account (Security OU): Centralized, immutable storage for organization audit and network logs.
  3. Security Tooling Account (Security OU): Delegated administrator for GuardDuty, Security Hub, AWS Config, and IAM Access Analyzer.
  4. Network Account (Infrastructure OU): Centralized Transit Gateway, Network Firewall, Route 53 Resolver, and VPC IPAM.
  5. Shared Services Account (Infrastructure OU): Shared CI/CD runners, golden AMIs, and directory services.
  6. Workload Accounts (Workloads OU split into Production and Non-Production, plus Sandbox, PolicyStaging, and Suspended OUs): Isolated per-team or per-application accounts.

Security Rationale

An AWS account is the strongest native isolation boundary for IAM permissions, service quotas, and billing, while policy inheritance follows the OU tree. Grouping dedicated platform and workload accounts into functional OUs limits incident blast radius, supports delegated administration, and prevents over-permissive production or over-restrictive sandbox guardrails.

Business & Security Impact

Running shared tooling, logging, and workloads in a small set of flat accounts or leaving member accounts directly under Root blurs administrative boundaries, increases lateral movement risk during a compromise, and forces frequent per-account policy exceptions.

Operational & Implementation Notes

Keep the OU hierarchy shallow (two to three levels) aligned to policy boundaries rather than transient org charts. Including RESOURCE_CONTROL_POLICY in enabled_policy_types on aws_organizations_organization requires Terraform AWS Provider 5.76.0 or later.

Compliance Framework Mappings (5)

Regulatory baselines and industry standards mapped to this control specification.

Beta
Framework / StandardMapped Requirements & ControlsControls
NIST 800-53 Rev 5NIST 800-53
AC-2AC-3AC-4CM-2SC-7
5
ISO 27001:2022ISO 27001
A.5.15A.8.9A.8.22
3
PCI DSS v4.0PCI DSS
2.2.17.2.1
2
SOC 2SOC 2
CC6.1CC6.3CC6.6
3
AWS Foundational Security Best PracticesAWS FSBP
Account.2
1

* Compliance framework mappings are provided for informational architectural reference. Always verify control alignment against your organization's formal audit requirements.

Automated Detection & Rule Logic

Detection Engine: aws-api • Automated: Yes

Query describe-organization to confirm FeatureSet is ALL, list OUs under Root, inspect accounts directly under Root and across OUs via list-accounts-for-parent and list-accounts to verify member accounts sit in designated OUs rather than Root, and confirm delegated administrators are registered for security and infrastructure services. Required IAM permissions: organizations:DescribeOrganization, organizations:ListRoots, organizations:ListOrganizationalUnitsForParent, organizations:ListAccounts, organizations:ListAccountsForParent, and organizations:ListDelegatedAdministrators.

Verify FeatureSet, OU Tree, Account Placement, and Delegated Adminsbash
# 1. Confirm FeatureSet is ALL and identify Management account ID
aws organizations describe-organization \
  --query "Organization.{Id:Id,FeatureSet:FeatureSet,ManagementAccountId:MasterAccountId}" \
  --output json

# 2. Retrieve Root ID and list top-level OUs
root_id=$(aws organizations list-roots \
  --query "Roots[0].Id" \
  --output text)

aws organizations list-organizational-units-for-parent \
  --parent-id "$root_id" \
  --query "OrganizationalUnits[*].{Id:Id,Name:Name,Arn:Arn}" \
  --output json

# 3. Check for member accounts still sitting directly under Root
aws organizations list-accounts-for-parent \
  --parent-id "$root_id" \
  --query "Accounts[*].{Id:Id,Name:Name,Status:Status}" \
  --output json

# 4. Audit full account hierarchy paths and delegated administrators
aws organizations list-accounts \
  --query "Accounts[*].{Id:Id,Name:Name,Status:Status,Paths:Paths}" \
  --output json

aws organizations list-delegated-administrators \
  --query "DelegatedAdministrators[*].{Id:Id,Name:Name,Status:Status}" \
  --output json

Remediation Guide & Automation

Enable AWS Organizations with FeatureSet ALL, create foundational (Security, Infrastructure), workload (Production, Non-Production), Sandbox, PolicyStaging, and Suspended OUs, provision dedicated core accounts, move all member accounts out of Root into their target OUs, and register delegated administrators. Required IAM permissions: organizations:CreateOrganization, organizations:DescribeOrganization, organizations:EnableAllFeatures, organizations:ListRoots, organizations:ListOrganizationalUnitsForParent, organizations:CreateOrganizationalUnit, organizations:CreateAccount, organizations:ListAccountsForParent, organizations:MoveAccount, and organizations:RegisterDelegatedAdministrator.

Step-by-Step Instructions

  1. Confirm AWS Organizations runs with FeatureSet ALL so SCPs, RCPs, and Tag Policies are supported.
  2. Create the Security OU and provision dedicated Log Archive and Security Tooling accounts.
  3. Create the Infrastructure OU and provision dedicated Network and Shared Services accounts.
  4. Create the Workloads OU (with nested Production and Non-Production OUs) alongside Sandbox, PolicyStaging, and Suspended OUs.
  5. Move all member accounts out of Root into their designated OUs, register Security Tooling and Network delegated administrators, and attach baseline policies per OU.
Provision Organization and Core OUs via Terraformhcl
resource "aws_organizations_organization" "main" {
  feature_set = "ALL"

  aws_service_access_principals = [
    "cloudtrail.amazonaws.com",
    "config.amazonaws.com",
    "guardduty.amazonaws.com",
    "securityhub.amazonaws.com",
    "access-analyzer.amazonaws.com",
    "ram.amazonaws.com"
  ]

  enabled_policy_types = [
    "SERVICE_CONTROL_POLICY",
    "RESOURCE_CONTROL_POLICY",
    "TAG_POLICY"
  ]
}

resource "aws_organizations_organizational_unit" "security" {
  name      = "Security"
  parent_id = aws_organizations_organization.main.roots[0].id
}

resource "aws_organizations_organizational_unit" "infrastructure" {
  name      = "Infrastructure"
  parent_id = aws_organizations_organization.main.roots[0].id
}

resource "aws_organizations_organizational_unit" "workloads" {
  name      = "Workloads"
  parent_id = aws_organizations_organization.main.roots[0].id
}

resource "aws_organizations_organizational_unit" "workloads_prod" {
  name      = "Production"
  parent_id = aws_organizations_organizational_unit.workloads.id
}

resource "aws_organizations_organizational_unit" "workloads_nonprod" {
  name      = "Non-Production"
  parent_id = aws_organizations_organizational_unit.workloads.id
}

resource "aws_organizations_organizational_unit" "sandbox" {
  name      = "Sandbox"
  parent_id = aws_organizations_organization.main.roots[0].id
}

resource "aws_organizations_organizational_unit" "policy_staging" {
  name      = "PolicyStaging"
  parent_id = aws_organizations_organization.main.roots[0].id
}

resource "aws_organizations_organizational_unit" "suspended" {
  name      = "Suspended"
  parent_id = aws_organizations_organization.main.roots[0].id
}
Create Core OUs and Check Member Accounts Under Root via AWS CLIbash
# 1. Retrieve Organization Root ID
root_id=$(aws organizations list-roots \
  --query "Roots[0].Id" \
  --output text)

# 2. Create top-level OUs
for ou_name in Security Infrastructure Workloads Sandbox PolicyStaging Suspended; do
  aws organizations create-organizational-unit \
    --parent-id "$root_id" \
    --name "$ou_name" \
    --query "OrganizationalUnit.{Id:Id,Name:Name}" \
    --output json
done

# 3. Create nested Production and Non-Production OUs under Workloads
workloads_ou_id=$(aws organizations list-organizational-units-for-parent \
  --parent-id "$root_id" \
  --query "OrganizationalUnits[?Name=='Workloads'].Id | [0]" \
  --output text)

for child_ou in Production Non-Production; do
  aws organizations create-organizational-unit \
    --parent-id "$workloads_ou_id" \
    --name "$child_ou" \
    --query "OrganizationalUnit.{Id:Id,Name:Name}" \
    --output json
done

# 4. Identify any member accounts still directly under Root for OU placement
mgmt_id=$(aws organizations describe-organization \
  --query "Organization.MasterAccountId" \
  --output text)

for acct_id in $(aws organizations list-accounts-for-parent \
  --parent-id "$root_id" \
  --query "Accounts[?Id!='${mgmt_id}'].Id" \
  --output text); do
  echo "Member account $acct_id is directly under Root; move via aws organizations move-account"
done

We value your privacy

We use analytics cookies to understand how visitors interact with our site and to improve the user experience. You can choose to accept or decline these cookies.