Accounts, Subscriptions and Projects
On AWS, the account is the hard boundary for billing, quotas and permissions, and AWS Organizations groups accounts into OUs. Azure and Google Cloud have the same idea with different names and one or two extra levels.
On AWS this is… AWS Organizations (management account, root, organizational units, member accounts) from AWS Account and Console and the SCP row of IAM Policies.
The three hierarchies
AWS Azure Google Cloud
--- ----- ------------
Organization (root) Microsoft Entra tenant Organization (example.com)
└─ OU └─ Root management group └─ Folder
└─ OU └─ Management group └─ Folder
└─ Account └─ Subscription └─ Project
└─ resources └─ Resource group └─ resources
└─ resources| AWS | Azure | Google Cloud | |
|---|---|---|---|
| Top | Organization | Entra tenant + root management group | Organization node (tied to a Cloud Identity / Workspace domain) |
| Grouping | OUs (nested) | Management groups (up to six levels below the root) | Folders (nested, up to ten levels) |
| Billing and quota unit | Account | Subscription | Project (linked to a billing account) |
| Inside the unit | — | Resource groups, a required container for every resource | resources directly |
| Unit identity | 12-digit account ID | subscription GUID | project ID (chosen, globally unique, permanent) + project number |
| Cost to create one | an email address and some setup | a new subscription (often through an enterprise agreement or billing profile) | cheap: projects are made by the dozen |
Key consequences:
- Azure has two levels inside the "account". A subscription is the billing and quota boundary; a resource group is a lifecycle container inside it (delete the group, everything in it goes). There is no AWS equivalent of the resource group, and every Azure resource must live in exactly one. The next lesson covers them.
- Google Cloud projects are lightweight. Teams commonly create one project per application per environment (
shop-api-dev,shop-api-prod), and short-lived projects for experiments. The project ID is global and can never be reused, even after deletion. - Billing is separate in Google Cloud. A project is linked to a billing account; the billing account is its own resource with its own permissions. Unlinking billing stops paid services in that project.
Inheritance
On all three clouds, settings at a higher level flow down. What flows and how differs:
| Inherited down the tree | AWS | Azure | Google Cloud |
|---|---|---|---|
| Permissions | no (IAM lives in each account; Identity Center assigns per account) | yes: a role assignment on a management group applies to every subscription, resource group and resource below | yes: an allow policy binding on a folder applies to every project and resource below |
| Guardrails | SCPs and RCPs on OUs and accounts | Azure Policy assignments | Organization Policy constraints |
| Budgets and cost views | per account, consolidated in the management account | Cost Management at any scope | per billing account, filterable by folder/project |
Inherited permissions are the big shift from AWS. On Azure and Google Cloud, "who can do what in this project?" needs a walk up the tree, because a grant three levels up counts.
Model: walking up the tree
This model stores grants at each node of a Google Cloud-style hierarchy and computes the effective grants on a project by walking to the root. The same code works for Azure scopes (management group → subscription → resource group).
parent = {
"folders/prod": "organizations/example.com",
"folders/dev": "organizations/example.com",
"folders/shop-prod": "folders/prod",
"projects/shop-api-prod": "folders/shop-prod",
"projects/shop-api-dev": "folders/dev",
}
grants = {
"organizations/example.com": [("group:secops@example.com", "roles/iam.securityReviewer")],
"folders/prod": [("group:sre@example.com", "roles/compute.admin")],
"folders/dev": [("group:devs@example.com", "roles/editor")],
"projects/shop-api-prod": [("serviceAccount:deploy@shop-api-prod.iam.gserviceaccount.com",
"roles/run.developer")],
}
def ancestry(node):
chain = [node]
while chain[-1] in parent:
chain.append(parent[chain[-1]])
return chain
def effective(node):
for level in ancestry(node):
for member, role in grants.get(level, []):
yield level, member, role
for project in ["projects/shop-api-prod", "projects/shop-api-dev"]:
print(project, "<-", " <- ".join(ancestry(project)[1:]))
for level, member, role in effective(project):
print(f" {role:<28} {member:<62} (set on {level})")projects/shop-api-prod <- folders/shop-prod <- folders/prod <- organizations/example.com
roles/run.developer serviceAccount:deploy@shop-api-prod.iam.gserviceaccount.com (set on projects/shop-api-prod)
roles/compute.admin group:sre@example.com (set on folders/prod)
roles/iam.securityReviewer group:secops@example.com (set on organizations/example.com)
projects/shop-api-dev <- folders/dev <- organizations/example.com
roles/editor group:devs@example.com (set on folders/dev)
roles/iam.securityReviewer group:secops@example.com (set on organizations/example.com)
The SRE group never appears in the project's own policy, yet it has compute.admin on every production project. That is the point of folders, and also why a careless grant on a folder is so dangerous.
Creating the containers
Sample sessions (names illustrative):
# Azure: a management group, move a subscription under it, then a resource group
az account management-group create --name mg-prod --display-name "Production"
az account management-group subscription add --name mg-prod --subscription shop-prod
az group create --name rg-shop-prod --location westeurope --subscription shop-prod
# Google Cloud: a folder, a project in it, link billing, enable APIs
gcloud resource-manager folders create --display-name="prod" --organization=123456789012
gcloud projects create shop-api-prod-4821 --folder=345678901234 --name="shop api prod"
gcloud billing projects link shop-api-prod-4821 --billing-account=0X0X0X-0X0X0X-0X0X0X
gcloud services enable compute.googleapis.com run.googleapis.com --project=shop-api-prod-4821A landing-zone sketch
The same multi-account layout you would build with AWS Control Tower maps directly:
| Purpose | AWS | Azure | Google Cloud |
|---|---|---|---|
| Security tooling, log archive | Security OU: log archive and audit accounts | "Platform" management group: management and identity subscriptions | common folder: logging and security projects |
| Shared network | network account (Transit Gateway) | connectivity subscription (hub VNet) | host project for Shared VPC |
| Workloads | Workloads OU → prod, dev accounts | "Landing zones" management group → corp/online subscriptions | prod, nonprod folders → one project per app per environment |
| Sandboxes | Sandbox OU | Sandbox management group | sandbox folder with tight budgets and policies |
Microsoft's version is the Azure landing zone architecture in the Cloud Adoption Framework; Google's is the enterprise foundations blueprint. Both are worth reading before you create the first production subscription or project.
Test yourself
Which Google Cloud level is the closest equivalent of an AWS account?
- Organization
- Folder
- Project
- Billing account
A role is granted on an Azure management group. Where does it apply?
- Only on the management group object
- On every subscription, resource group and resource below it
- Only on resources tagged with it
- Nowhere until copied to each subscription
Which of these has no AWS equivalent and is mandatory for every Azure resource?
- Subscription
- Resource group
- Region
- Tag