Sub topic 15
Where to Go Next: AWS Organizations and Multiple Accounts
This chapter assumes you have finished the earlier chapters. You should have a single AWS account with MFA on the root user, no root access keys, a separate administrative identity for daily work, and a monthly budget with email alerts. It also assumes you can run AWS CLI commands and read JSON. Here you learn why one account eventually stops being enough, what AWS Organizations adds, and which safe first steps lead into a multi-account setup.
Why one account is not the end state
An AWS account is a security and billing boundary. Everything in it shares the same IAM namespace, the same service quotas, and the same bill. For learning, that is fine. As you add workloads, the single account starts to cause problems:
- Blast radius. A mistaken policy, leaked credential, or runaway script can affect every resource in the account.
- Mixed environments. Development experiments sit beside production data. Granting a developer access to one means thinking carefully about the other.
- Shared quotas. A load test that exhausts a service quota in the account can block production traffic.
- Cost attribution. Tags help, but not every charge can be tagged. Separate accounts give a hard line on the bill.
- Compliance scoping. An auditor may want to examine only the account that holds regulated data.
The usual answer is not a bigger, more carefully locked account. It is several accounts, each with a narrow purpose, managed together.
What AWS Organizations is
AWS Organizations is a free service that groups AWS accounts under one structure. You create an organization from an existing account, and that account becomes the management account. You can then create new accounts or invite existing ones. These are called member accounts.
The main pieces are:
| Concept | What it is | Why you care |
|---|---|---|
| Management account | The account that created the organization. It pays the bill for all members. | Highest-trust account. Keep workloads out of it. |
| Member account | Any other account in the organization. | Holds workloads, one purpose per account. |
| Organizational unit (OU) | A folder of accounts. OUs can be nested. | Lets you attach rules to a group at once. |
| Service control policy (SCP) | A guardrail that limits what accounts in an OU or account can do. | Sets the maximum permissions, even for root users in member accounts. |
| Consolidated billing | One bill for the whole organization, with per-account detail. | Volume discounts and a single place to watch cost. |
Each member account has its own root user, its own IAM, and its own resources. The lessons from earlier chapters apply to every one of them: protect the root email, enable MFA, and do not create root access keys.
Your current account becomes the management account
If you create an organization from the account you just secured, that account becomes the management account. This has two consequences.
First, the management account is special. SCPs do not restrict it. Anyone with admin rights there can create accounts, close accounts, and change policies for the whole organization. This is why the account's root protection matters more now than before.
Second, resources already running in that account stay there. You cannot move them to a member account. Many teams therefore use a fresh account as the management account and keep it empty of workloads. If your account is still a clean learning account, you can decide now. If it already hosts real workloads, plan to build new accounts alongside it and migrate gradually.
Creating the organization
You can do this in the console under AWS Organizations, or with the CLI. Sign in as your administrative identity, not as root. Creating an organization does not require root.
aws organizations create-organization --feature-set ALLThe ALL feature set turns on SCPs and other management features, not just consolidated billing. Choose it unless you have a specific reason not to. The command returns the organization ID and the management account's details.
To confirm what you created:
aws organizations describe-organization
aws organizations list-rootsThe root in this context is the top of the OU tree. It is not the same thing as the account root user. The shared word is a common source of confusion, so read AWS documentation carefully to see which one is meant.
Adding member accounts
You have two options for adding accounts.
- Create a new account from the organization. You provide an email address and a name. AWS creates the account and an administrative role in it that the management account can assume.
- Invite an existing account. The owner of that account accepts the invitation.
Creating accounts from the CLI looks like this:
aws organizations create-account \
--email [email protected] \
--account-name "dev"Each account needs a unique email address. Apply the same rules as before: the address should belong to a mailbox you control, be protected with MFA, and not depend on a single person. Many teams use distribution lists or plus-addressing on a controlled mailbox. Confirm that your mail provider routes plus-addressed mail to the same inbox before you rely on it.
Account creation is asynchronous. The command returns a request ID, and you check progress with aws organizations describe-create-account-status.
A new account created this way has a root user with no known password. You set one through the password reset flow using the account's email address, then enable MFA on that root user just as you did before. After that, you rarely use it. Day-to-day access goes through the role that Organizations created, or better, through centralized sign-in.
Centralized sign-in with IAM Identity Center
Creating IAM users in every account does not scale. AWS IAM Identity Center is the usual replacement. You define people and groups once, then assign them permission sets for specific accounts. A developer signs in to one portal and picks an account and role. The CLI uses short-lived credentials instead of long-lived access keys.
This extends the earlier advice on a separate administrative identity. In a multi-account setup, that identity is typically a person in Identity Center with an administrator permission set on the accounts they manage. Aim to have no IAM users with access keys anywhere.
Guardrails with service control policies
An SCP does not grant permissions. It sets a ceiling. An action is allowed only if both the SCP and the identity's own IAM policy allow it. SCPs apply to the IAM users and roles in member accounts, including their root users, with a few exceptions.
A common first guardrail denies actions that you never want in a member account. This example prevents anyone in the target accounts from leaving the organization:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "DenyLeaveOrganization",
"Effect": "Deny",
"Action": "organizations:LeaveOrganization",
"Resource": "*"
}
]
}Test every SCP on a sandbox OU before attaching it widely. A wrong deny can lock out administrators, and because SCPs override IAM, you cannot fix it from inside the affected account with that account's own permissions. You fix it from the management account by detaching the policy.
Budgets across accounts
The budget you created earlier is an alert, not a cap, and that remains true in an organization. What changes is scope. A budget created in the management account can cover the whole organization's consolidated spend or be filtered to linked accounts. A budget created in a member account covers that account. A reasonable pattern is one organization-wide budget in the management account, plus smaller budgets for sandbox accounts where surprises are most likely.
You can also create a budget filtered by linked account using the same budget.json approach from the budgets chapter, adding a CostFilters entry with the account ID. Check the AWS Budgets documentation for the exact filter syntax in your CLI version.
Common mistakes
- Putting workloads in the management account. It is hard to undo, because resources cannot be moved between accounts.
- Reusing one email for several accounts. Every account needs a unique root email.
- Neglecting the root user of member accounts. Each has its own root user. An account with no MFA on its root is a weak point in the organization.
- Attaching a broad SCP without testing. A blanket deny can break services in ways that are slow to diagnose.
- Treating OU "root" and account "root user" as the same. They are unrelated.
- Assuming an SCP grants access. It only filters what IAM already allows.
A sensible order of work
A practical path from where you are now:
- Decide whether your current account will be the management account.
- Create the organization with all features.
- Create a security-focused account for logs and a sandbox account for experiments.
- Set up IAM Identity Center and assign your administrative identity to each account.
- Apply MFA and the no-access-keys rule to the root user of every new account.
- Attach a small, tested set of SCPs to the sandbox OU, then widen.
- Add budgets for the organization and for sandbox accounts.
For production-scale setups with many accounts, AWS Control Tower automates much of this pattern with a landing zone and preconfigured guardrails. It is worth reading about once you are comfortable with the pieces by hand.
Exercise
You create an organization from your current, secured account and later attach an SCP that denies all EC2 actions to the Sandbox OU. A developer in a Sandbox account has an IAM policy that allows ec2:RunInstances. Can they launch an instance? And does the SCP affect your own admin work in the management account?
Show answer
The developer cannot launch an instance. An action must be allowed by both the SCP and the identity's IAM policy, and the SCP's deny wins. The SCP does not affect the management account, because SCPs do not restrict it. Your admin work there continues as normal, which is also why you should keep workloads and broad permissions out of that account.
Exercise
A teammate proposes using the same email address, [email protected], as the root email for three new member accounts to keep things simple. What is wrong with this, and what should you do instead?
Show answer
Each AWS account requires a unique root email address, so the second and third accounts cannot be created with it. Use distinct addresses that route to a mailbox or list you control, for example plus-addressed variants if your mail provider delivers them to the same inbox. Then set a password through the reset flow and enable MFA on each account's root user.