Short answer: Start with five accounts in AWS Organizations: an empty management account, Log Archive, Security Tooling, production and non-production, grouped into organisational units, with service control policies as guardrails and IAM Identity Center for sign-in. Create the organisation from a new account, invite your existing one, and add more accounts when there’s a reason.
Why one account stops working
An AWS account is the strongest boundary AWS offers. Inside one account, a mistake in a test environment, an over-broad IAM policy or a compromised developer key can reach production. Costs are hard to separate, and so is evidence for an auditor. Separate accounts give each environment its own blast radius, its own bill and its own permissions.
Anwar has set up AWS multi-account organisations from scratch. This is a starting point that follows AWS’s published guidance.
A starting structure
AWS Organizations groups accounts into organisational units (OUs). AWS recommends these foundational OUs:
| OU | Accounts | Purpose |
|---|---|---|
| Security | Log Archive, Security Tooling | Central, tamper-resistant logs, and the security services that watch every account |
| Infrastructure | Shared networking, shared services | Resources every workload uses, such as networking and CI/CD |
| Workloads | Production, and non-production | Your applications, with production separate from everything else |
| Sandbox | One per developer or team | Experiments, with no access to production |
A growing company doesn’t need every account on day one. A sensible first step is the management account, Log Archive, Security Tooling, production and non-production. Add the rest when there’s a reason to.
AWS Control Tower, or Organizations on its own?
AWS Control Tower builds this structure for you: a landing zone with a Security OU holding Log Archive and Audit accounts, IAM Identity Center, and a set of preventive and detective controls. It’s the quickest way to a structure that follows AWS guidance, and AWS keeps it up to date.
Organizations on its own, managed with Terraform, gives you more control over exactly what is created, at the cost of building it yourself. Either works. The important thing is that the structure is written down and repeatable, not clicked together once.
AWS Organizations itself has no extra charge, and consolidated billing shares Savings Plans and Reserved Instance discounts across accounts by default.
Keep the management account empty
The account that owns the organisation should run no workloads. It holds billing, Organizations and IAM Identity Center, and very few people should be able to sign in to it.
Guardrails with service control policies
Service control policies (SCPs) set the maximum permissions for every account in an OU, which no one in that account can override. Start with a few that are hard to argue with, such as stopping accounts from leaving the organisation:
{
"Version": "2012-10-17",
"Statement": [{
"Sid": "DenyLeavingOrganization",
"Effect": "Deny",
"Action": "organizations:LeaveOrganization",
"Resource": "*"
}]
}Others commonly added: stopping anyone switching off CloudTrail or GuardDuty, and limiting which regions can be used.
How people sign in
Use IAM Identity Center, connected to your identity provider, with MFA. People sign in once and choose an account and a role, with temporary credentials. There are no IAM users with long-lived keys to rotate or leak.
Moving from one account
Your existing account usually becomes production, because moving production is the riskiest step. New accounts are created around it: non-production gets rebuilt from infrastructure code, and logging and security move to their own accounts.
One detail matters: the account that creates the organisation becomes its management account, permanently. If you create the organisation from your existing account, production ends up in the account that should stay empty. Instead:
- Create a new account to be the management account, and create the organisation from it.
- Invite your existing account into the organisation, and accept the invitation from inside it.
- Create the OUs and new accounts: Log Archive, Security Tooling and non-production first.
- Move logging and detection to the security accounts, then rebuild non-production from code.
- Apply guardrails to non-production first, then to production once they’ve proved harmless.
aws organizations create-organization --feature-set ALL
aws organizations invite-account-to-organization \
--target Id=111122223333,Type=ACCOUNT
aws organizations create-organizational-unit \
--parent-id r-examplerootid --name Workloads
aws organizations create-account \
--email aws-nonprod@example.com.au --account-name "Non-production"The invited account accepts with aws organizations accept-handshake --handshake-id h-xxxxxxxxxx, run from inside it.
Common mistakes
- Workloads in the management account. Service control policies don’t apply to the management account, so anything running there sits outside your guardrails.
- Personal email addresses on account root users. Every account needs a unique root email. Use addresses on a shared, monitored mailbox your company controls, not an employee’s inbox.
- Too many accounts too early. Start with the five above, and add accounts when there’s a reason.
- Guardrails without an exemption path. A deny with no way around it for a named break-glass role turns an incident into an outage.
Sources
Keep reading
Related articles
Next step
Still running everything in one account?
On a 30-minute call we’ll sketch the account structure that fits your company and how to move to it.