Sub topic 1
Why One Account Is Not Enough
Prerequisites
Assume you understand AWS accounts, Regions, IAM roles, and basic AWS CLI commands. You should also know that an IAM policy grants permissions, while an organization-wide control can restrict them.
Why One Account Is Not Enough
An AWS account is an isolation boundary. Separate accounts reduce the impact of mistakes, limit security incidents, and separate production from development. They also provide independent billing views and clearer ownership.
A single account can work for a small experiment. It becomes harder to govern when many teams, environments, or compliance requirements share it. Account boundaries are usually stronger and easier to audit than naming conventions inside one account.
AWS Organizations: the management account, member accounts and the root
AWS Organizations groups accounts into one organization. The management account owns organization-wide configuration, receives the consolidated bill, and can create or invite other accounts. Keep workloads out of this account.
Member accounts contain workloads. The organization root is the top node in the hierarchy. It is not the root user of an AWS account. Organizational units, or OUs, and accounts can appear below it.
Organizing accounts into OUs
An organizational unit is a container for accounts and other OUs. OUs let you apply common governance, such as service control policies, to a group. Group accounts by policy needs and lifecycle, not only by department.
Designing an OU structure that lasts
Start with a small hierarchy. For example, use Security, Infrastructure, Workloads, and Sandbox OUs. Add nested OUs only when their accounts need different controls.
Avoid an OU for every application or team. That structure creates administrative work and makes inherited policies difficult to predict. Keep production accounts separate from lower environments when their controls differ.
Creating accounts and bringing in existing ones
You can create a member account or invite an existing standalone account. New accounts need a unique email address. After creation, move the account from the root into its intended OU. Record its owner, purpose, environment, and contact address.
aws organizations create-organizational-unit \
--parent-id r-example \
--name Workloads
aws organizations create-account \
--email [email protected] \
--account-name prod-app1Exercise
Why should production workloads normally not run in the management account?
Show answer
The management account has organization-wide authority, so placing workloads there increases the impact of a compromise or administrative mistake.