Landing Zones and Guardrails
Structure accounts, environments and policies so teams move fast without breaking the rules.
Hello. In this lesson I will take you through 3 ideas, one at a time.
Why it matters: Structure accounts, environments and policies so teams move fast without breaking the rules. After each idea I will ask you one quick question.
In this lessonFollows you as you read
Accounts are your strongest boundary
The short version: In every major cloud, the account, subscription or project is the hardest boundary you have for security, billing and blast radius.
In every major cloud, the account, subscription or project is the hardest boundary you have for security, billing and blast radius. A landing zone is the agreed layout of those boundaries: separate accounts for production, staging and development, a shared services account for networking and identity, a log archive account that nobody can delete from, and a security account for tooling.
Putting production in its own account means a mistake in development cannot touch customer data, and billing shows exactly what each environment costs.
What is the strongest boundary for blast radius in a cloud?
Guardrails, not gates
The short version: Guardrails are organisation-level policies that apply to every account: deny disabling audit logs, deny public storage buckets unless tagged as public, restrict regions to the ones your data rules allow, and require...
Guardrails are organisation-level policies that apply to every account: deny disabling audit logs, deny public storage buckets unless tagged as public, restrict regions to the ones your data rules allow, and require encryption at rest. Teams then deploy freely inside those limits instead of waiting for approval tickets.
Write guardrails as code in the same repository as your infrastructure, review them like any other change, and test them in a sandbox account before rolling out.
What is a guardrail?
Everything as code
The short version: Manual changes in the console are the main source of drift.
Manual changes in the console are the main source of drift. Make infrastructure as code the only path to production.
- Account creation through a pipeline, with baseline policies applied automatically
- Infrastructure changes through pull requests with plan output reviewed
- Drift detection that alerts when the live state differs from code
- Break-glass console access that is logged and reviewed after use
What is the main source of configuration drift?
- Accounts or subscriptions are the strongest boundary
- Separate production, staging, development, logs and security
- Use organisation-wide guardrails instead of approval gates
- Make infrastructure as code the only path to production
Draw your current account layout. Mark where production and non-production share an account, where logs could be deleted, and which guardrails are missing. Propose a target layout with three guardrails to add first.
Mark it complete to track your progress on this device.