Phase 1: Enterprise Cloud & Networking
๐ง Beginner Mental Model (Explain Like Iโm 5)
Putting 500 developers into a single AWS account is like putting a bank vault, a kindergarten, and a fireworks factory inside the same unlocked room.
- Landing Zones & OUs: Separate fireproof buildings for
Security,Networking,Production, andSandbox, governed by unbreakable building codes (Service Control Policies). - Transit Gateway (TGW) & Cloud WAN: A central airport hubโinstead of building 5,000 point-to-point roads between 100 VPCs, every VPC connects once to the central hub where traffic is inspected by a central customs checkpoint (Appliance Mode Firewall).
๐งญ Step-by-Step Execution Playbook for Phase 1
- Step 1 (Account Governance): Design the OU hierarchy and SCP guardrails in Lesson 1: AWS Orgs & Landing Zones.
- Step 2 (Hub-and-Spoke Routing): Build centralized egress and inspection in Lesson 2: Transit Gateway & Egress.
- Step 3 (Zero-Trust Identity): Eliminate static IAM keys with SSO in Lesson 3: IAM Identity Center & Azure.
- Step 4 (Hybrid & Multi-Cloud): Connect on-prem and multi-cloud via BGP and PrivateLink in Lesson 4 and Lesson 5.
- Step 5 (Azure Enterprise Architecture): Master Azure CAF Landing Zones, Azure Policy (
DeployIfNotExists), Entra ID PIM, Virtual WAN, ExpressRoute, and SNAT port math in Lesson 6: Azure Landing Zones, vWAN & PIM.
๐ Deep-Dive Index
1. Enterprise Account Management
- AWS Organizations: Management vs. Member accounts, Organizational Units (OUs).
- Service Control Policies (SCPs): Inheritance, explicit deny vs allow, preventing region usage, protecting core IAM roles.
- Identity: AWS IAM Identity Center (SSO), Permission Sets, OIDC Federation for GitHub Actions.
- Azure Equivalents: Management Groups, Azure Subscriptions, Azure Policy, Entra ID (Azure AD).
2. Multi-Account Networking (The Hub and Spoke)
- VPC Fundamentals: CIDR block planning (avoiding overlap), Public/Private/TGW Subnets, Route Tables, Internet Gateways.
- Centralized Transit: AWS Transit Gateway (TGW) attachments, routing tables within TGW, VPC Peering limits vs TGW scalability.
- Resource Sharing: AWS RAM (Resource Access Manager) for sharing TGWs and Subnets across Organization accounts.
- Centralized Egress & Firewall Insertion: Using a single NAT Gateway in the Hub account to process outbound traffic for 100+ Spoke accounts; inserting Next-Gen Firewalls via Gateway Load Balancer (GWLB) with GENEVE UDP 6081 encapsulation; enforcing TGW Appliance Mode for stateful session symmetry.
3. Global Hybrid Connectivity & Advanced Routing
- Direct Connect & BGP Engine: Direct Connect Gateway (DXGW) with Transit VIFs, BGP communities (
7224:7100/7200/7300), AS-Path Prepending, BFD sub-second failover (900ms), and MACsec 100G line-rate encryption. - MTU & PMTUD Black Hole Resolution: Jumbo Frames (9001 MTU) vs WAN MTU (1500), ICMP Type 3 Code 4 routing, and TCP MSS clamping (
ip tcp adjust-mss 1360). - AWS Cloud WAN (Global Core Network): Core Network Policy (
policy.json), dynamic segments (prod,dev,egress), tag-based attachment policies, and multi-region backbone orchestration. - Dual-Stack IPv6 & Egress-Only IGW:
/56VPC and/64subnetting, stateful Egress-Only Internet Gateways ($0 cost outbound), DNS64 and NAT64 stateful translation. - Enterprise IPAM & Network Forensics: Hierarchical IPAM pools, Private NAT Gateways for overlapping CIDRs, custom VPC Flow Logs with TCP flag forensics (
${tcp-flags}), and VPC Traffic Mirroring via VXLAN UDP 4789.
๐ ๏ธ Job-Essential Exercises
- The Multi-Account Vending Machine:
- Create an AWS Organization. Create an
InfrastructureOU and aWorkloadsOU. Move your member accounts into them.
- Create an AWS Organization. Create an
- The SCP Guardrail:
- Write an SCP and attach it to the
WorkloadsOU that strictly denies any resource creation outside ofus-east-1andus-west-2. Test it by trying to launch an EC2 instance ineu-west-1.
- Write an SCP and attach it to the
- The Centralized Egress Network:
- Account A (Network Hub): Create a VPC with an IGW, Public Subnets, NAT Gateway, and a Transit Gateway.
- Account B (Workload): Create a VPC with only Private Subnets.
- Share the TGW to Account B via AWS RAM. Route Account Bโs
0.0.0.0/0traffic to the TGW, and route the TGW traffic out through Account Aโs NAT Gateway.