Lesson 1 of 4 Multi-Account Governance

Structuring Accounts with AWS Organizations

AWS Organizations groups AWS accounts into a hierarchy that is managed centrally, billed together and governed by policies. This lesson explains the management account, organisational units and the recommended OU structure, consolidated billing, trusted access and delegated administration, account creation and the policy types available in an organisation.

Learning outcomes

After completing this lesson, you will be able to:

  • Explain why multi-account strategies are used and how an organisation is structured with OUs.
  • Describe the role and restrictions of the management account and the purpose of delegated administrators.
  • Explain trusted access for AWS services and how accounts are created, moved and closed.
  • Distinguish between the authorisation and management policy types available in AWS Organizations.

Why Many Accounts

An AWS account is a hard boundary for security, quotas and billing. Resources in one account cannot be accessed from another unless access is explicitly granted, service quotas apply per account, and costs are reported per account. Using many accounts, typically one per workload per environment, limits the blast radius of a compromised credential or a misconfiguration, avoids one team's quota consumption affecting another, simplifies cost attribution and allows different compliance controls for different workloads. The cost of this approach is management overhead, which AWS Organizations and AWS Control Tower reduce.

Organisation Structure

An organisation has one management account, which creates the organisation and pays the bills, and any number of member accounts. Accounts are arranged in a tree of organisational units (OUs) under a single root; OUs can be nested up to five levels deep. Policies attached to the root or an OU apply to every account beneath it, so the OU structure is primarily a policy structure: accounts that need the same controls belong in the same OU.

AWS guidance recommends a set of foundational OUs, described below, with workload OUs beneath them.

OUContentsTypical controls
SecurityLog archive and security tooling (audit) accountsStrict access; only security teams
InfrastructureShared networking, such as Transit Gateway and DNS, and shared servicesNetwork change controls
WorkloadsApplication accounts, often with Prod and Non-Prod OUs beneathProduction OUs stricter than non-production
SandboxExperimentation accounts disconnected from internal networksBudget limits, broad service access
Policy stagingAccounts used to test policy changes before wider rolloutMirror of production policies
SuspendedAccounts awaiting closureDeny all actions

The management account should hold no workloads. Policies such as SCPs never restrict the management account, so any resource in it is outside the organisation's guardrails, and its credentials are the most powerful in the organisation.

The following diagram shows the foundational OUs.

The recommended foundational OUs. Under the root, which belongs to the management account, sit Security for the log archive and audit accounts, Infrastructure for shared networking and services, Workloads with Prod and Non-Prod OUs for application accounts, Sandbox for experiments, Policy staging for testing policy changes, and Suspended for accounts awaiting closure. Policies attached to an OU apply to every account beneath it. The management account should hold no workloads, because SCPs never restrict it.
Accounts that need the same controls belong in the same OU.

Consolidated Billing

All member accounts' charges are paid by the management account in one bill. Usage is aggregated across accounts for volume pricing tiers, and Reserved Instance and Savings Plans discounts are shared across accounts by default, which the management account can turn off for specific accounts. Cost Explorer and Cost and Usage Reports show costs per account, and cost allocation tags can be activated in the management account for organisation-wide reporting.

Trusted Access and Delegated Administrators

Many AWS services can operate across the organisation, such as AWS Config aggregators, AWS CloudTrail organisation trails, Amazon GuardDuty, AWS Security Hub, IAM Access Analyzer, AWS Firewall Manager, AWS Backup, Systems Manager and CloudFormation StackSets. Enabling trusted access for a service allows it to create service-linked roles in member accounts and to read the organisation structure.

Most of these services also support a delegated administrator: a member account, such as the security tooling account, registered to administer that service for the whole organisation. Delegation keeps day-to-day administration out of the management account, in line with least privilege. Exam scenarios that ask how to manage GuardDuty or Security Hub centrally without using the management account expect delegated administration.

True or false

Organisation facts

Exam skills 2.2.2

Check four facts about organisations, accounts and delegated administrators.

Log in to try this activity Interactive activities are free with an account.

Creating, Moving and Closing Accounts

The CreateAccount API creates a new member account with an email address and name. The operation is asynchronous: it returns a request ID, and completion is reported through DescribeCreateAccountStatus and an EventBridge event. Organizations creates a role named OrganizationAccountAccessRole by default in the new account, with administrator permissions, that trusts the management account, so administrators can assume it to configure the account. Existing accounts can be invited to join the organisation; invited accounts do not receive this role automatically.

Accounts can be moved between OUs, which immediately changes the policies that apply to them. Closing an account starts a 90-day post-closure period during which it can be reopened; only a limited percentage of member accounts can be closed within a rolling 30-day window. Moving an account to a Suspended OU with a deny-all SCP before closure is a common practice.

Policy Types

Organizations supports two families of policies. Authorisation policies limit what principals and resources in member accounts can do; management policies configure services and settings across accounts. Each type must be enabled for the organisation before use.

Service control policies (SCPs)
Set the maximum permissions available to IAM users and roles in member accounts. Covered in the next lesson.
Resource control policies (RCPs)
Set the maximum permissions available on resources in member accounts, for supported services such as Amazon S3, AWS KMS, AWS STS, Amazon SQS and Secrets Manager, regardless of who is requesting access. Covered in the next lesson.
Declarative policies
Enforce a desired configuration for a service across accounts, such as requiring IMDSv2 for new EC2 instances or blocking public sharing of AMIs and EBS snapshots. The configuration is maintained even when new APIs are added.
Tag policies
Standardise tag keys and allowed values and, optionally, enforce compliance on specified resource types so that non-compliant tagging operations are prevented.
Backup policies
Define AWS Backup plans centrally and apply them to accounts, as described in the backup module.
AI services opt-out policies
Control whether AWS AI services may store and use content to improve the services.
Sort into groups

Authorisation or management policy?

Exam skills 2.2.2 · 2.2.3

Sort the AWS Organizations policy types into their two families.

Log in to try this activity Interactive activities are free with an account.
Worked example

Designing an OU Structure

A company with 80 accounts has every account directly under the root. Production and development accounts need different controls, the security team needs a protected place for logs and tools, and unused accounts must be quarantined before closure.

The company creates Security, Infrastructure, Workloads (with Prod and NonProd child OUs), Sandbox and Suspended OUs. Log archive and security tooling accounts move to Security, network accounts to Infrastructure, and application accounts to Prod or NonProd. The security tooling account is registered as delegated administrator for GuardDuty, Security Hub, Config and IAM Access Analyzer. The management account's remaining workloads are migrated to member accounts so that guardrails apply to them.

Check yourself

Why should workloads not run in the management account?

Show answer

SCPs and RCPs do not apply to the management account, so its resources are outside the organisation's guardrails, and the account's credentials can change the whole organisation. Keeping it empty limits the impact of mistakes or compromise.

Exam Tips

Remember for the exam

  • Use OUs to group accounts that need the same controls; policies attached to an OU apply to all accounts in it.
  • The management account is not restricted by SCPs or RCPs; keep workloads out of it and use delegated administrators for services such as GuardDuty, Security Hub and Config.
  • CreateAccount is asynchronous and creates OrganizationAccountAccessRole trusting the management account; invited accounts do not get this role.
  • Authorisation policies: SCPs and RCPs. Management policies include declarative, tag, backup and AI opt-out policies.