Sub topic 1
Why one account is not enough
Prerequisites
This chapter assumes you already know the following:
- What an AWS account is, what a Region is, and how common services such as EC2 and S3 behave.
- IAM basics: users, roles, and how a JSON policy document allows or denies actions.
- How to run commands with the AWS CLI.
You do not need Organizations experience. This chapter explains the reasons for using many accounts. Later chapters show how to build them.
The account as a boundary
An AWS account is the container that owns resources. It is also the strongest boundary AWS gives you. Three kinds of limits meet at that boundary.
- Security boundary. By default, an identity in one account has no access to resources in another. Access across accounts requires an explicit grant on both sides.
- Billing boundary. Every charge belongs to exactly one account. You can see cost per account without any tagging effort.
- Quota boundary. Service quotas, API throttling limits and many resource limits apply per account and per Region.
Other boundaries exist inside an account, such as IAM policies, VPCs, tags and resource policies. They are useful, but they are weaker. A single mistaken policy, an administrator with broad rights, or a leaked access key can cross them. Crossing an account boundary needs a deliberate trust relationship.
What goes wrong in a single account
Many teams start with one account. It works at first. As more workloads and people arrive, problems appear.
Blast radius
The blast radius is the set of resources one mistake or one compromise can affect. In a single account, an administrator who runs a cleanup script with the wrong filter can delete production resources. A stolen key with broad rights can reach everything. Splitting workloads across accounts caps the damage at the account where the problem started.
Permission sprawl
To keep development and production apart inside one account, you write IAM policies with conditions on tags or resource names. These policies grow long and are hard to review. One missing condition can give a developer access to production data. In separate accounts, the default is no access, so you only add the grants people need.
Unclear costs
In a shared account, you split the bill by tagging every resource. Tags are applied by people, so some are missing or wrong. Some costs, such as data transfer, are hard to attribute at all. With one account per workload and environment, the bill is already split.
Quota contention
Quotas are shared by everything in the account and Region. A load test in a development environment can use up the EC2 vCPU quota or the API rate limit that production needs. Separate accounts give each workload its own quota.
Compliance scope
Auditors want to know which systems handle regulated data, such as payment card data. In a single account, everything may be in scope because you cannot easily prove separation. A dedicated account narrows the scope and makes the evidence simpler.
Different owners and lifecycles
Different teams have different needs, release schedules and risk tolerances. Giving each team its own account lets them move at their own pace under shared rules. It also makes ownership clear. When an account is no longer needed, you close the account instead of searching for the resources that belong to it.
Common account types
A typical organization uses several kinds of accounts, each with one purpose. The names below are common conventions, not AWS requirements.
| Account type | Purpose | Example |
|---|---|---|
| Management | Owns the organization, billing and policies. Runs no workloads. | `org-management` |
| Security | Holds security tooling and read access for auditors. | `security-tooling` |
| Log archive | Receives logs from all accounts, with tight write-once controls. | `log-archive` |
| Shared services | Hosts common items such as networking or build tools. | `shared-network` |
| Workload | Runs one application in one environment. | `prod-app1`, `dev-app1` |
| Sandbox | Lets developers experiment with a spending cap. | `sandbox-alice` |
How the pieces fit
The diagram shows a common layout. Workload accounts are separated by environment. Security and logging accounts sit apart from the workloads that they watch.
Trade-offs
Multiple accounts are not free. Before you split, know what you take on.
- More to manage. Each account needs a baseline: logging, security settings, IAM roles and budgets. Doing this by hand does not scale, which is why later chapters cover automation.
- Cross-account access. People and services must reach other accounts through roles or sharing features. This adds setup and a new category of errors.
- Duplicated resources. Some things, such as a NAT gateway or a VPC, may exist in each account unless you share them.
- Harder troubleshooting. A request may cross several accounts, so you need centralized logs to follow it.
- Account limits. New accounts start with a default quota on how many accounts you can create. You can ask for an increase, but you should not plan to create thousands without checking.
For a very small project with one team and no sensitive data, one account can be the right choice. The cost of a multi-account setup is worth paying when the risk, the number of teams or the compliance needs grow. It is much easier to start with a few accounts than to split a crowded one later, because moving running resources between accounts usually means rebuilding them.
Common mistakes
- Running workloads in the management account. This account holds the power to control every other account. Keep it free of workloads and limit who can sign in.
- Using one account per team only. If a team puts its development and production in one account, the blast radius and quota problems return. Separate by environment as well.
- Splitting too finely too soon. An account for every microservice creates overhead with little gain. Start with accounts per workload and environment.
- Relying on tags alone for isolation. Tags help with cost reporting but are not a security boundary unless policies enforce them.
- Skipping the baseline. A new account with no logging or guardrails is a blind spot.
What comes next
AWS Organizations is the service that ties many accounts together. It provides a hierarchy, central billing, and policies that apply across accounts. The next chapter introduces the management account, member accounts and the root.
Exercise
A company runs development, testing and production for one payment application in a single AWS account. Name three problems this causes and say how separate accounts would address each.
Show answer
Any three of the following. (1) Blast radius: a mistake or a stolen key in development can reach production, while separate accounts limit it to the account where it happened. (2) Permission sprawl: isolation relies on complex tag or name conditions in IAM policies, while separate accounts deny access by default. (3) Quota contention: a load test in testing can exhaust quotas that production needs, while each account has its own quotas. (4) Compliance scope: the whole account is in scope for the payment audit, while a dedicated production account narrows the scope. (5) Unclear costs: the bill depends on tags, while per-account billing is already split.
Exercise
Why should the management account not run application workloads?
Show answer
It controls billing, policies and every member account. A compromise or mistake in a workload there would put the whole organization at risk. Keeping it free of workloads and limiting sign-in reduces that risk.