Notes
Many accounts
The first idea is to use many accounts, not one big one. You give each team, environment or major workload its own account, so a breach or a mistake is contained, it cannot spread to everything. Production is separated from development and test. Ownership and billing are clear. And accounts are grouped, into organisational units, so you can apply shared policy to a whole group. Accounts are the strongest isolation boundary the cloud offers, so use them generously.
- one account per team, env or workload
- a breach or mistake is contained to that account
- prod separated from dev and test
- clear ownership and billing
- organised into groups (OUs) for shared policy
Guardrails
The key tool is org-wide guardrails: AWS calls them service control policies; Azure and Google have organisation policies. They set the maximum any account can do, above individual IAM, so even an account administrator cannot exceed them. You can deny actions for everyone, whatever their permissions. Typical guardrails deny leaving the organisation, deny disabling the security logs, restrict regions, and block making resources public. They are the hard ceiling under which all IAM operates.
- AWS Service Control Policies, GCP/Azure org policies
- they set the MAXIMUM any account can do, above IAM
- even an account admin cannot exceed them
- examples: deny leaving the org, deny disabling logs, restrict regions, block public access
The baseline
Alongside guardrails, every account gets a security baseline applied automatically. Logs flow to a central, locked-down logging account. Threat detection is switched on. Block-public-access is on by default for storage. Encryption defaults, password and MFA policies are set. A carefully controlled break-glass admin role exists for emergencies. The point is that none of this is left to each team to remember: the landing zone applies it to every account at creation, so secure is the starting state, not a to-do item.
- centralised logging to a secure log account
- threat detection turned on (GuardDuty, etc.)
- block-public-access on by default
- encryption defaults, password and MFA policy
- a break-glass admin role
- applied automatically, not per team
Secure by default
Put together, you get account vending: a team requests an account and it is created from a secure template, with guardrails, the baseline and central logging attached from birth. The team receives a safe sandbox rather than a blank, dangerous account to harden themselves. Tools like AWS Control Tower and landing zone accelerators do this. The governance payoff: security is built into the platform, so the easy path, requesting a standard account, is also the secure path.
- request an account -> it is created from a template
- guardrails, baseline, logging all attached from birth
- the team gets a safe sandbox, not a blank dangerous one tools: AWS Control Tower, Landing Zone Accelerator, org blueprints
- prevention built into the platform
Guardrails vs IAM
It helps to see how guardrails and IAM combine. Guardrails set the maximum, org-wide: nobody in this account can ever do this, regardless of permissions. IAM then grants specific access within that maximum. For an action to succeed, both must allow it. Guardrails are coarse and preventive, good for non-negotiables like you may never disable logging or make a bucket public. IAM is fine-grained, for who may do what day to day. Together they give you a ceiling you trust and flexibility underneath it.
- guardrails (SCPs): the maximum, org-wide; "nobody can ever do X"
- IAM: grants specific access within that maximum
- both must allow for an action to succeed
- guardrails are preventive and coarse; IAM is fine-grained
- use guardrails for non-negotiables
A guardrail example
Here is a guardrail that pays for itself. Attackers who gain admin in an account almost always disable logging first, to operate unseen. This service control policy, attached at the organisation root, denies the actions that stop or delete the audit trail, for every account and identity, including account admins. No matter how much IAM power an attacker gains, they cannot turn off the logs that record what they do. A handful of guardrails like this remove the most dangerous actions from everyone.
# SCP attached at the org root
{
"Effect": "Deny",
"Action": [
"cloudtrail:StopLogging",
"cloudtrail:DeleteTrail"
],
"Resource": "*"
}
# now no one, even account admin,
# can turn off the audit log Common mistakes
Mistakes. Running one giant account for everything, so a single mistake is catastrophic and there is no isolation. No guardrails, so every account can do anything its IAM allows, including disabling its own logs. Logging that teams can turn off, which attackers do first. Baselines that live in a document instead of being enforced automatically. Guardrails so strict they break normal work and get removed in frustration. And no break-glass plan for the day the central controls lock you out of your own account.
- one giant account for everything
- no guardrails, so each account can do anything
- logging each team can turn off
- baselines documented but not enforced
- overly strict SCPs that break teams and get removed
- no break-glass plan
Say it like this
In the interview: I secure a cloud org with a landing zone. Many accounts isolate blast radius, one per team or environment, production separated. Org-wide guardrails cap what any account can do above its own IAM, so even an account admin cannot disable logging or make resources public. A baseline, central logging, detection, block-public-access, encryption defaults, is applied to every account automatically via account vending. The principle is secure by default, with a break-glass path.
- "A landing zone: many accounts
- to isolate blast radius, org- wide guardrails (SCPs) that cap
- what any account can do above
- IAM, and a baseline, central
- logging, detection, block- public-access, applied to every account automatically via account vending. Secure by default, with a break-glass path."