โšก
Zero to Platform Architect2026
Enterprise Platform & SRE Playbooks
Enterprise Platform & SRE Playbooksโฑ๏ธ 13 min readโšก Staff SRE Standard
๐ŸŽฏ Foundations Test Bank →

Enterprise Lesson 7: AWS Landing Zones at Scale (700+ Applications, Guardrails, Approvals & Incident Management)

๐Ÿง  The Concept (Explain Like Iโ€™m 5)

Imagine managing a global conglomerate like Alphabet, General Electric, or a multinational financial holding group:

  • The Scale Problem (700+ Applications across Downward Entities): You donโ€™t just have one website. You have 25 subsidiary business units (Retail Banking, Investment Trading, Healthcare, Autonomous Logistics, Real Estate), each running 30 microservices across the Americas, Europe, and Asia (700+ production workloads).
    • The Cowboy Chaos: If every team opens their own AWS account with their own corporate credit card, you have 700 independent islands with conflicting passwords, accidental public databases, rogue cryptocurrency miners, zero compliance audits, and an uncontrollable $100M/year cloud bill.
  • The Enterprise Landing Zone: You build a master digital city blueprint. A centralized government (Root Management Account & Delegated Security Admin) issues pre-fabricated, standardized, bomb-proof office buildings (Account Factory for Terraform - AFT).
  • The 3-Tier Guardrails:
    • Preventative (Steel Walls): Service Control Policies (SCPs) make it physically impossible to open unapproved ports or launch servers in unauthorized regions, even if a team lead has root permissions.
    • Detective (Security Cameras): AWS Config and Security Hub inspect all 700 buildings 24/7. If someone unplugs a smoke alarm, an alert fires instantly.
    • Corrective (Robotic Sprinklers): Automated bots detect an open bucket and lock the door in 2 seconds flat before any human responds.
  • Approval Flows & JIT Access (No Standing Admin Keys): Engineers never hold permanent administrative passwords. When production breaks at 2:00 AM, an automated gatekeeper grants a temporary, 2-hour single-use key (Just-In-Time Break-Glass Access) tied to an active PagerDuty incident ticket.
  • Incident Management (Autonomous Containment): When a hacker breaches a server in Account #412, automated runbooks cut the network cable (Quarantine Security Group), revoke all stolen tokens, snap a forensic picture of the hard drive, and page the central Security Operations Center in under 10 seconds!

๐Ÿ—บ๏ธ Visual Architecture: Multi-Account Hierarchy for 700+ Applications

In an enterprise with downward entities (subsidiaries, independent business units, and legal entities), the AWS Organizations Organizational Unit (OU) tree must be designed for hierarchical policy inheritance and blast radius isolation:

flowchart TD
    Root["<b>Root Management Account</b><br/>โ€ข Billing & Invoicing Only<br/>โ€ข Root SCPs (Max Boundary)<br/>โ€ข Zero Workloads!"]

    subgraph CoreOU ["๐Ÿ›๏ธ Core Platform OUs"]
        SecOU["<b>Security OU</b><br/>โ€ข Log Archive Account (S3 Object Lock WORM)<br/>โ€ข Security Tooling Account (Delegated Admin)<br/>โ€ข SecOps & SIEM Account"]
        InfraOU["<b>Infrastructure OU</b><br/>โ€ข Central Network Account (Cloud WAN / TGW Hub)<br/>โ€ข Shared Services Account (Golden AMIs, Artifacts)"]
    end

    subgraph DownwardEntities ["๐Ÿข Downward Business Entities (700+ Applications)"]
        subgraph EntityFinTech ["Entity A: FinTech & Payments (180 Accounts)"]
            FT_Core["FinTech Shared Core (Ledger DBs)"]
            FT_Dev["Dev / Sandbox OU (100 Accounts)"]
            FT_Prod["Prod OU: PCI-DSS (80 Accounts)"]
        end

        subgraph EntityHealth ["Entity B: Healthcare & Life Sciences (150 Accounts)"]
            HC_Dev["Dev / Test OU (80 Accounts)"]
            HC_Prod["Prod OU: HIPAA Regulated (70 Accounts)"]
        end

        subgraph EntityRetail ["Entity C: Global Retail & E-Commerce (250 Accounts)"]
            RT_Dev["Dev OU (150 Accounts)"]
            RT_Prod["Prod OU (100 Accounts)"]
        end

        subgraph EntityAcquisitions ["Entity D: Mergers & Acquisitions (120 Accounts)"]
            MNA_Quarantine["Quarantine OU (Unverified Legacy Stacks)"]
        end
    end

    subgraph GovernanceOUs ["โš–๏ธ Lifecycle Governance OUs"]
        SandboxOU["<b>Sandbox OU</b><br/>No Corporate Network Access โ€ข $500 Spend Cap โ€ข Nightly Cleanup"]
        SuspendedOU["<b>Suspended OU</b><br/>Closed Accounts โ€ข Quarantined Pending 90-Day AWS Deletion"]
    end

    Root --> CoreOU
    Root --> DownwardEntities
    Root --> GovernanceOUs

    SecOU -.->|"Delegated Admin Security Baseline"| DownwardEntities
    InfraOU -.->|"Cloud WAN & VPC IPAM Shared Networking"| DownwardEntities

๐ŸŒ Enterprise Networking at 700+ Application Scale

Managing networking for 700+ applications across 5 continents faces two lethal scaling bottlenecks: IP Address Collisions (RFC 1918 Exhaustion) and Mesh Routing Complexity.

flowchart TD
    subgraph IPAMGlobal ["1. Enterprise IP Address Management (VPC IPAM)"]
        IPAM["<b>AWS VPC IPAM (Centralized Address Pool)</b><br/>Allocates non-overlapping CIDRs across all 700 accounts<br/>โ€ข FinTech: 10.100.0.0/14<br/>โ€ข Healthcare: 10.104.0.0/14<br/>โ€ข Retail: 10.108.0.0/14"]
    end

    subgraph CloudWANMesh ["2. Global Multi-Region Backbone (AWS Cloud WAN)"]
        WANCore["<b>AWS Cloud WAN Core Network</b><br/>Global Segments: [prod-segment] [nonprod-segment] [shared-segment]"]
        TGW_US["us-east-1 Edge"]
        TGW_EU["eu-west-1 Edge"]
        TGW_AP["ap-northeast-1 Edge"]
        WANCore --- TGW_US
        WANCore --- TGW_EU
        WANCore --- TGW_AP
    end

    subgraph RAMSharing ["3. Cross-Account Subnet Sharing (AWS RAM)"]
        CentralNetAcc["Central Network Account"]
        SharedVPC["Enterprise Shared VPC"]
        CentralNetAcc -->|"AWS RAM Share"| AppAcc1["Account #201 (FinTech Workload)"]
        CentralNetAcc -->|"AWS RAM Share"| AppAcc2["Account #202 (Retail Workload)"]
        SharedVPC -.-> AppAcc1
        SharedVPC -.-> AppAcc2
    end

    IPAM --> CloudWANMesh
    CloudWANMesh --> CentralNetAcc

The Architectural Triumvirate:

  1. AWS VPC IPAM (IP Address Manager): Eliminates manual spreadsheet tracking. IPAM automatically carves and assigns distinct CIDRs to newly vended accounts, preventing routing collisions when accounts peer through the core network.
  2. AWS Resource Access Manager (RAM) Subnet Sharing: Workload application teams do not build VPCs, Internet Gateways, NAT Gateways, or route tables. The Central Network team provisions hardened, multi-AZ VPC subnets and shares them into workload accounts via AWS RAM. Application teams launch EKS clusters and EC2 instances into approved corporate subnets with zero network misconfiguration risk.
  3. AWS Cloud WAN (Segmented Core Network): Replaces dozens of point-to-point Transit Gateway peering links with a unified, policy-driven global network. Built-in network segmentation guarantees that Dev environments can never route packets into Production environments, even across regions.

๐Ÿ›ก๏ธ The 3-Tier Enterprise Guardrails Taxonomy

In an organization with 700+ applications, governance cannot rely on human vigilance. Enterprises enforce a 3-Tier Guardrail Strategy:

flowchart LR
    P["<b>1. Preventative Guardrails</b><br/>โ€ข Service Control Policies (SCPs)<br/>โ€ข IAM Permission Boundaries<br/>โ€ข Terraform / OPA CI/CD Gates<br/><b>Outcome:</b> Violations are physically IMPOSSIBLE to execute."]
    
    D["<b>2. Detective Guardrails</b><br/>โ€ข AWS Config Conformance Packs<br/>โ€ข Security Hub (CIS / NIST / PCI)<br/>โ€ข GuardDuty & IAM Access Analyzer<br/><b>Outcome:</b> Non-compliance is detected in &lt; 30 seconds."]

    C["<b>3. Corrective / Responsive Guardrails</b><br/>โ€ข Cross-Account EventBridge Mesh<br/>โ€ข Automated Systems Manager Runbooks<br/>โ€ข Autonomous Lambda Remediation<br/><b>Outcome:</b> Violations are remediated in &lt; 5 seconds with zero human latency."]

    P --> D --> C

1. Preventative Guardrails: Multi-Tier SCP Inheritance

SCPs filter downward from the Organization Root through the OU hierarchy. A policy applied at the Root cannot be relaxed by any child OU:

flowchart TD
    RootSCP["<b>Root SCP Boundary:</b><br/>โ€ข Deny unapproved regions (only allow us-east-1, eu-west-1)<br/>โ€ข Deny disabling CloudTrail & GuardDuty<br/>โ€ข Deny leaving AWS Organization<br/>โ€ข Deny Root user activity"]

    RootSCP --> EntitySCP["<b>Entity-Level SCP (Healthcare OU):</b><br/>โ€ข Deny unencrypted S3/EBS storage<br/>โ€ข Deny S3 Public Access Block removal<br/>โ€ข Deny non-HIPAA certified AWS services"]

    EntitySCP --> WorkloadSCP["<b>Workload SCP (Prod OU):</b><br/>โ€ข Deny modification of VPC routing & IGWs<br/>โ€ข Deny IAM user/role creation without Permission Boundary"]

    WorkloadSCP --> IAMRole["<b>Developer Role:</b><br/>Can only execute actions permitted by ALL 3 layers!"]

2. Detective Guardrails: Organization-Wide Conformance Packs

Instead of configuring compliance rules in 700 accounts individually, the Security Tooling Account deploys AWS::Config::OrganizationConformancePack:

  • Evaluates CIS AWS Foundations Benchmark v3.0, NIST 800-53, and PCI-DSS v4.0.
  • Automatically attaches to all existing accounts and automatically enrolls any newly created account within 60 seconds of vending.

3. Corrective Guardrails: Cross-Account Autonomous Self-Healing

sequenceDiagram
    autonumber
    participant Dev as ๐Ÿ‘จโ€๐Ÿ’ป Developer in Account #304
    participant S3 as ๐Ÿชฃ Amazon S3 Bucket
    participant Config as ๐Ÿ” AWS Config Rule
    participant Bus as ๐Ÿ“ก Central EventBridge Bus (SecOps Account)
    participant AutoHeal as ๐Ÿค– SSM Automation / Remediation Lambda

    Dev->>S3: PutBucketAcl: Public-Read (Accidental misconfiguration)
    Config->>Config: Detect non-compliant state: s3-bucket-public-read-prohibited
    Config->>Bus: Emit compliance failure event via EventBridge cross-account bus
    Bus->>AutoHeal: Trigger remediation runbook
    AutoHeal->>S3: s3:PutPublicAccessBlock (Block all public ACLs & policies)
    AutoHeal->>Dev: Post Slack notification: "Bucket public access blocked automatically"
    Note over S3: Bucket secured in 2.4 seconds! Zero exposure to the internet! โœ…

๐Ÿšฆ Enterprise Approval Flows & Access Governance

Enterprises operating at massive scale implement strict Change Management & Approval Gateways to reconcile developer velocity with corporate accountability.

flowchart TD
    User["Developer Request<br/>(New AWS Account / High-Risk Infrastructure)"] --> Portal["Internal Developer Portal (Backstage) / ServiceNow"]

    Portal --> Risk{"Automated Risk Assessment Engine"}

    Risk -->|"Low Risk (Dev Sandbox / Pre-Approved Pattern)"| AutoApprove["โœ… <b>Autonomous Instant Approval</b><br/>Trigger Account Factory for Terraform (AFT)<br/>Account vended in &lt; 15 minutes"]

    Risk -->|"High Risk (Production VPC Peering / IAM Privilege)"| MultiApproval["โš ๏ธ <b>Multi-Persona Approval Matrix</b>"]

    subgraph MultiApproval ["Multi-Persona Review Gateways"]
        SecOps["1. Security Review (SecOps Lead)"]
        FinOps["2. Budget Impact Review (FinOps / Infracost &gt; $1,000/mo)"]
        Arch["3. Enterprise Architecture Board (Principal Architect)"]
    end

    MultiApproval -->|"All Personas Approve"| AFT["Trigger Automated GitOps Terraform Pipeline"]
    MultiApproval -->|"Any Persona Rejects"| Reject["โŒ Request Blocked with Explanatory Audit Trail"]

๐Ÿ”‘ Break-Glass Emergency Access: Just-In-Time (JIT) Privilege Elevation

The Enterprise Rule: In a 700-account organization, zero humans possess permanent administrative access to Production accounts.

When a Sev-1 production outage occurs, engineers utilize Just-In-Time (JIT) Break-Glass Elevation:

sequenceDiagram
    autonumber
    participant OnCall as ๐Ÿ‘จโ€๐Ÿš’ On-Call SRE
    participant PagerDuty as ๐Ÿ“Ÿ PagerDuty / Incident Manager
    participant JITEngine as ๐Ÿ” JIT Approval Engine (Identity Center / Teleport)
    participant SSO as ๐Ÿข AWS IAM Identity Center (Okta / Azure AD)
    participant ProdAcc as ๐Ÿ’ฅ Production Account #412

    PagerDuty->>OnCall: Alert: Incident #8921 (Payment Database Connection Pool Exhausted)
    OnCall->>JITEngine: Request Emergency Break-Glass: Account #412 (Role: IncidentResponder)
    JITEngine->>PagerDuty: Verify: Is OnCall actively assigned to Incident #8921?
    PagerDuty-->>JITEngine: Verified: Active Sev-1 incident โœ…
    
    JITEngine->>SSO: Provision Temporary Permission Set (Duration: Exactly 2 Hours)
    SSO-->>OnCall: Access Granted (Session countdown begins: 1:59:59)
    
    OnCall->>ProdAcc: Log in via AWS SSO with short-lived STS credentials
    Note over ProdAcc: Every command recorded by CloudTrail & SSM Session Manager
    
    Note over JITEngine: 2 Hours Expire โž” Automated revocation of STS token!
    JITEngine->>OnCall: Access Expired. Session terminated cleanly.

๐Ÿšจ Enterprise Incident Management & Automated Triage at Scale

When security compromises occur across a fleet of 700 accounts, manual investigation is fatally slow. The enterprise architecture deploys an Automated Incident Response Pipeline:

flowchart TD
    subgraph CompromisedAccount ["Compromised Account #512 (us-west-2)"]
        EC2["EC2 Instance (Compromised with Malware / Crypto-Miner)"]
        GuardDuty["Amazon GuardDuty<br/>Finding: CryptoCurrency:EC2/BitcoinTool.B!DNS"]
    end

    subgraph SecOpsHub ["Central Security Operations Center (SecOps Account)"]
        SecHub["AWS Security Hub (Aggregator across all 700 Accounts)"]
        EventBridge["Amazon EventBridge (Event Router)"]
        SSMIncident["AWS Systems Manager Incident Manager"]
        SIEM["Central SIEM (Splunk / Datadog / OpenSearch)"]
    end

    subgraph AutonomousContainment ["Automated Forensic Containment Runbook"]
        IsoSG["1. Attach Isolation Security Group (0 Inbound / 0 Outbound)"]
        DetachIAM["2. Detach IAM Instance Profile (Revokes all cloud API access)"]
        Snapshot["3. Create EBS Forensic Snapshot (Tag: INVESTIGATION_EVIDENCE)"]
        RevokeSTS["4. Revoke Active STS Tokens (Attach inline Deny policy)"]
    end

    GuardDuty -->|"Cross-Account Finding"| SecHub
    SecHub --> EventBridge
    EventBridge --> SIEM
    EventBridge --> SSMIncident
    EventBridge --> AutonomousContainment

    AutonomousContainment -.->|"Execute via SSM Automation"| EC2
    SSMIncident --> PagerDuty["๐Ÿ“Ÿ Page Lead Incident Commander & Open War Room"]

The Autonomous Containment Protocol

  1. Network Quarantine in < 3 Seconds: The automation replaces the instanceโ€™s security groups with an Isolation Security Group with no ingress and no egress rules, instantly severing the attackerโ€™s Command & Control (C2) channel without destroying volatile memory.
  2. Credential Neutralization: Detaching the IAM role and applying an explicit IAM Revocation Policy terminates the attackerโ€™s ability to pivot laterally into other AWS accounts.
  3. Forensic Preservation: An automated EBS snapshot creates an immutable digital forensic image for legal investigations and root cause analysis.

โš ๏ธ Real-World Failure Modes & Exception Playbooks

Failure Mode 1: The Account Factory for Terraform (AFT) Pipeline Queue Lockup

  • The Disaster: Platform team receives 40 account creation requests during an enterprise division re-organization. The AFT pipeline hangs for 6 hours; account vending halts company-wide.
  • The Root Cause: AWS Organizations API rate limit is strictly 20 account creation requests per day, and concurrent account creation calls trigger TooManyRequestsException.
  • The SRE Playbook:
    1. Implement an asynchronous SQS queue with exponential backoff and jitter ahead of the AFT trigger.
    2. Maintain a pre-warmed pool of 10 generic, baseline-hardened accounts in a PreVended OU that can be instantly renamed and transferred to the requesting business unit in seconds.

Failure Mode 2: Service Quota Blackout Across Nested OUs

  • The Disaster: A development team launches an enterprise simulation with 500 EC2 instances. The instances fail to launch with VcpuLimitExceeded. Simultaneously, the team discovers their VPC has run out of ENIs.
  • The Root Cause: Newly vended AWS accounts receive default, low regional service quotas (e.g. 32 vCPUs).
  • The SRE Playbook:
    1. Integrate AWS Service Quotas API into the AFT account vending customization step (aft-account-customizations).
    2. Automatically submit automated quota increase requests for standard enterprise tiers (e.g., standard workload tier = 512 vCPUs, 5 Elastic IPs) during initial account creation.

Failure Mode 3: The SSO Break-Glass Lockout During IdP Outage

  • The Disaster: Okta or Microsoft Entra ID suffers a global worldwide outage. Because all 700 AWS accounts require SSO authentication, every engineer and architect in the company is locked out of AWS while a critical production database is crashing!
  • The Root Cause: 100% reliance on a third-party Identity Provider without an isolated, air-gapped emergency break-glass mechanism.
  • The SRE Playbook:
    1. Maintain exactly two air-gapped Emergency Break-Glass IAM Users in the Root Management Account and Central Security Account.
    2. Protect emergency credentials with physical FIDO2 WebAuthn hardware security keys (e.g., YubiKeys) stored in dual-custody physical bank safes.
    3. Configure a dedicated CloudWatch alarm that alerts the executive leadership team whenever the break-glass user logs in.

๐ŸŽค Staff/Principal Architect Interview Questions

Q1: How do you prevent IP CIDR exhaustion and overlapping subnet collisions across 700+ microservices in a multi-region enterprise?

Model Answer:
We deploy AWS VPC IPAM (IP Address Manager) integrated with AWS Resource Access Manager (RAM):

  1. We define a hierarchical IPAM pool architecture: The top pool holds the enterprise supernet (e.g., 10.0.0.0/8). Regional sub-pools carve out blocks for us-east-1 (10.100.0.0/12), eu-west-1 (10.116.0.0/12), etc., with downward entity sub-pools further dividing allocations.
  2. When Account Factory for Terraform (AFT) provisions a new account, it requests a CIDR dynamically from the IPAM pool via Terraform, eliminating manual spreadsheet allocations and collision risk.
  3. For services that only require egress or inter-service API calls, we use AWS RAM Subnet Sharing to launch multiple workloads into a shared enterprise VPC, and AWS PrivateLink / VPC Lattice to publish APIs without exposing underlying IP routability.

Q2: In an organization with 700 accounts, how do you prevent AWS Config and CloudWatch API throttling from bankrupting the company and blinding SecOps?

Model Answer:

  1. Delegated Administration & Aggregators: We designate the Security Tooling Account as the Delegated Administrator for AWS Config and Security Hub. Instead of querying 700 accounts via external scripts (which incurs massive API throttling and costs), Security Hub aggregates all findings across all accounts and regions internally via AWS backbone event streaming.
  2. Targeted Rule Scope: We avoid blanket, high-frequency Config rules that record every ephemeral resource (like Karpenter spot EC2 instances or pod ENIs). We configure Config resource recording to track only critical compliance infrastructure (IAM, S3, KMS, VPC, Security Groups).
  3. Organization Conformance Packs: We deploy compliance baselines using AWS::Config::OrganizationConformancePack, ensuring policies are managed as a single immutable deployment from the Management Account rather than 700 independent stacks.