Multi-Account Guardrails

Topics Covered

Why Many Accounts and How AWS Organizations Works

Why separate accounts

Organizations basics

A typical OU structure

Two feature sets

Creating and inviting accounts

Keeping the management account clean

Organization-wide services

Account limits and email addresses

Closing accounts

Account structure as a design answer

Organizations and the shared responsibility model

An AWS account is the strongest isolation boundary AWS offers. Resources in one account cannot be reached from another unless someone explicitly shares them, quotas apply per account, and the bill is broken down per account. Mature AWS environments therefore use many accounts rather than one, and the exam tests how to organise and govern them. This lesson covers AWS Organizations, service control policies and the related policy types, AWS Control Tower and AWS Resource Access Manager. For an engineering view, see accounts, Organizations and SCPs in the AWS in Practice course.

Why separate accounts

Several reasons push teams towards multiple accounts. Security isolation: a compromised credential in a development account cannot touch production data held in a different account, and IAM mistakes in one account stay in that account. Blast radius for quotas: a runaway job in one account cannot use up the service quotas another account depends on. Billing clarity: costs are reported per account without depending on everyone tagging every resource. Separation of duties: different teams can administer different accounts, and auditors can be given read only access to a log account they cannot change. Regulatory scope: workloads subject to rules such as payment card standards can be kept in accounts that are audited separately, so the rest of the environment stays out of scope.

The exam rarely asks why accounts are useful in the abstract. It asks what to do when a company has many accounts: how to manage them centrally, how to stop people doing forbidden things in them, how to share resources between them and how to combine their bills. That is AWS Organizations.

Organizations basics

AWS Organizations lets you create and manage a group of accounts as one organization. The account that creates the organization is the management account. It pays the bill for the organization, can create and invite accounts and attaches policies, and it cannot be restricted by service control policies. Every other account is a member account. A member account belongs to exactly one organization at a time.

Accounts are arranged in a tree. The top of the tree is the root. Under the root you create organizational units, or OUs, which can contain accounts and other OUs, up to five levels deep. Policies attached to the root apply to every account, and policies attached to an OU apply to every account below it. This inheritance is the reason OU design matters: you group accounts by the policies they need, not by the company's reporting lines.

Accounts are grouped into organizational units under one management account.

A typical OU structure

AWS guidance suggests a small set of foundational OUs. A Security OU holds a log archive account, where CloudTrail and Config logs from every account are stored and protected, and a security tooling or audit account, from which the security team runs tools such as GuardDuty and Security Hub across the organization. An Infrastructure OU holds shared services such as networking, with the account that owns Transit Gateway or shared VPCs. A Workloads OU, often split into production and non-production OUs, holds application accounts. A Sandbox OU holds accounts for experiments, with spending limits and few restrictions on services but no connection to the corporate network. A Suspended OU holds accounts that are being closed, with a policy that denies everything. Exam questions use this vocabulary, so it is worth knowing.

Two feature sets

An organization can run with consolidated billing features only, or with all features. Consolidated billing alone gives one bill and shared discounts. All features adds the policy types described in this lesson, such as service control policies, and integrations with other services. Moving from consolidated billing to all features requires every member account to approve, unless the account was created by the organization. When a scenario needs SCPs and the organization only has consolidated billing enabled, enabling all features is the first step.

Creating and inviting accounts

Accounts can be created from the organization, which takes a few minutes and requires only an email address and a name, or existing accounts can be invited, in which case the account's owner must accept. Created accounts get a role, OrganizationAccountAccessRole by default, that the management account can assume for administration. Invited accounts do not have that role unless you create it. An account can leave an organization if it has the information needed to stand alone, such as a payment method, and organizations often use an SCP to deny organizations:LeaveOrganization so member accounts cannot simply walk away from their guardrails.

Keeping the management account clean

Because the management account cannot be restricted by SCPs and controls the whole organization, it should run no workloads. Use it for billing and for organization administration, protect it with strong MFA, and delegate as much as possible to member accounts: many services, including GuardDuty, Security Hub, Config, IAM Identity Center, CloudFormation StackSets and Firewall Manager, can name a member account as delegated administrator. An exam option that deploys applications in the management account, or uses it as the central security tooling account, is a red flag.

Organization-wide services

Many services integrate with Organizations so that a single configuration covers every account. An organization trail in CloudTrail records API activity in every account and delivers it to a bucket in the log archive account, and member accounts cannot turn it off. AWS Config aggregators collect compliance data across accounts and Regions. CloudFormation StackSets deploy the same stack, such as a baseline set of roles or alarms, to every account in an OU, including accounts added later. AWS Backup policies define backup plans centrally. When a scenario asks for the same configuration across all accounts with minimal effort, look for one of these organization integrations rather than a script that loops over accounts.

Account limits and email addresses

Each AWS account needs a unique email address for its root user, which is why many companies use a pattern such as an email alias per account. An organization has a default quota on the number of accounts it can hold, which can be raised by request. Accounts created through Organizations can have their root user credentials managed centrally: AWS now lets the management account or a delegated administrator remove root credentials from member accounts entirely and perform the few root only tasks, such as unlocking a misconfigured bucket policy, from the central account. That removes a set of long lived credentials from every member account, which matches the theme of the previous lesson.

Closing accounts

Accounts that are no longer needed should be closed rather than left idle, because idle accounts still hold resources and credentials that can be misused. Closing an account from the organization starts a post closure period of ninety days, during which the account can be reopened and AWS retains its content, after which it is permanently closed. During that period, the account is shown as suspended. Moving an account to a Suspended OU with a deny all SCP before closing it is a common practice, so nothing can run there while the closure is prepared.

Account structure as a design answer

When an exam scenario describes a company whose development and production workloads share one account, and a developer accidentally deleted a production resource, the best long term answer is usually to separate environments into different accounts in an organization, with stricter controls on the production OU, rather than writing ever more complex IAM policies in one shared account. Accounts are cheap to create and turn many permission problems into simple boundaries. That is the core idea behind every topic in this lesson.

Organizations and the shared responsibility model

Using Organizations does not move any responsibility to AWS. The company still decides who can administer accounts, which policies to attach and how to respond to findings. Organizations and the services built on it make those decisions easier to apply consistently, which is why exam answers that use them for governance across accounts score well on operational efficiency.

Group by policy, not by team

OUs exist to apply policies. Put accounts that need the same guardrails in the same OU, such as production workloads, rather than mirroring the company's reporting structure.