Interview Prep/Real-World Interview/Multi-env and multi-account

Design the AWS account structure for a 50-engineer startup that's growing fast.

IntermediateScenarioMulti-env and multi-account
Answer

Situation read → One account for everything means no blast-radius limits, messy IAM and unclear costs. Separate accounts are the strongest isolation boundary AWS offers.

What I'd do →

  1. Set up AWS Organizations with Control Tower (or Terraform-managed equivalents) and IAM Identity Center for SSO.
  2. OU and account layout:
flowchart TD
    Root["Management account - billing only"] --> Sec["Security OU"]
    Root --> Infra["Infrastructure OU"]
    Root --> Work["Workloads OU"]
    Root --> Sbx["Sandbox OU"]
    Sec --> LA["Log archive"]
    Sec --> Audit["Security tooling"]
    Infra --> Net["Network - Transit Gateway"]
    Infra --> Tools["Shared services - CI, ECR"]
    Work --> Dev["dev"]
    Work --> Stg["staging"]
    Work --> Prod["prod"]
  1. Apply SCPs per OU: deny unused regions, deny disabling CloudTrail and GuardDuty, deny leaving the org.
  2. Org-wide CloudTrail to the log archive account, GuardDuty and Security Hub delegated to the security account.
  3. Sandboxes with budgets and automatic cleanup for experiments.

Why → Account boundaries isolate failures, permissions and cost, and SCPs give guardrails no one inside an account can override.

Interview tip → Keep the management account for billing and org admin only, with no workloads; say that explicitly.

All Real-World Interview questions Roadmap: Interview readiness

More on Multi-env and multi-account