⚑ Interactive Visual Guide for Everyone

How Networking & Security Actually Work Inside AWS

Cloud networking often feels like alphabet soup (VPC, ENI, NAT, NACL, SG, PrivateLink, TGW, SCP). Click any component on the interactive architecture map below or run a live question flow to see how network packets travelβ€”and how AWS keeps them secure.

🏒
The Everyday Mental Model: Think of an AWS VPC as your company's private fenced office campus. Public Subnets are the ground-floor lobby with a front door (Internet Gateway). Private Subnets are locked back-office vaults that use a mailroom concierge (NAT Gateway) for outbound errands, private underground tubes (VPC Endpoints) to reach AWS services, and two layers of guards (NACLs at the hallway door and Security Groups right on each server's ENI badge).
πŸš€ Start Step 1: VPC & Subnets β†’ πŸ§ͺ Jump to Troubleshooting Lab
Interactive Big-Picture Map β€” Click Any Component or Run a Flow
🌍 PUBLIC INTERNET πŸ§‘πŸ»β€πŸ’» Web Visitor 198.51.100.42 πŸ“¦ OS Patch Repo repo.ubuntu.com (Public IP Target) πŸ›οΈ AWS Organization (o-acme-corp) β€” Guardrails: SCPs, RCPs, RAM & IPAM 🏒 Account A (Prod 1111-2222-3333) β€” VPC 10.0.0.0/16 πŸšͺ IGW Internet Gateway 🌀️ Public Subnet (10.0.1.0/24) Route: 0.0.0.0/0 β†’ igw-01 NACL GUARD πŸ›‘οΈ SG: Allow 443 from 0.0.0.0/0 βš–οΈ Public Load Balancer ENI: 10.0.1.15 | Pub: 54.210.8.1 πŸ›ŽοΈ NAT Gateway Outbound Mailroom Concierge Priv: 10.0.1.200 | EIP: 52.88.10.99 Rewrites Private Src IP β†’ Elastic IP πŸ”’ Private Subnet (10.0.2.0/24) Route: 0.0.0.0/0 β†’ nat-gw (No IGW!) πŸ›‘οΈ SG-App (Stateful Bodyguard) πŸ–₯️ App EC2 Instance πŸͺͺ ENI (eni-0a1b2c) Network Card Private IP: 10.0.2.50 (No Public IP) πŸ›‘οΈ SG-DB: Only Allow SG-App:5432 πŸ—„οΈ Private RDS Database ENI: 10.0.2.99 (Port 5432) πŸš‡ VPC Endpoint (vpce-s3) Private Tunnel to AWS Services ☁️ AWS Public Services (Outside VPC, inside AWS Network) πŸͺ£ Amazon S3 Bucket Endpoint Policy Protected πŸ”‘ Secrets Manager / KMS Interface Endpoint (PrivateLink) πŸ”€ Transit Gateway / Peering Shared via AWS RAM across Org Routes between Accounts & VPN 🏒 Account B: Shared Services VPC Acct 9999-8888-7777 | CIDR 10.10.0.0/16 πŸ” Internal Auth & Data Lake Service Private IP: 10.10.4.25 (Verified by Org ID)
VPC Boundary Public Subnet Private Subnet Security Group (Stateful) NACL (Stateless) AWS Organizations Guardrail
πŸ’‘ Tip: Click any box in the diagram to inspect it!

πŸ—ΊοΈ Deep-Dive Interactive Modules (Multi-Page Curriculum)

Each module below is a hands-on interactive simulator where you can flip switches, break and fix routes, inspect packet headers, and test security guardrails.

Module 1

🏒 VPC, Subnets, Route Tables & IGW

Understand what makes a subnet "Public" vs "Private" (spoiler: it's the Route Table!), how CIDR blocks slice IP ranges, and how the Internet Gateway works.

Open VPC & Routing Simulator β†’
Module 2

πŸͺͺ ENIs (Network Cards) & NAT Gateways

See why IPs and Security Groups live on the ENI (not the EC2 server), hot-swap an ENI between servers, and watch a NAT Gateway rewrite packet headers live.

Open ENI & NAT Workbench β†’
Module 3

πŸš‡ VPC Endpoints & AWS PrivateLink

Compare sending S3/Secrets Manager traffic through NAT + Public Internet vs. Free Gateway Endpoints vs. Interface Endpoints (PrivateLink ENIs).

Open Endpoints Simulator β†’
Module 4

πŸ›‘οΈ Security Groups vs. Network ACLs

Master Stateful vs. Stateless firewalls, SG-to-SG chaining, ephemeral return ports, and fix real security vulnerabilities in a 3-tier architecture.

Open Security & Firewall Lab β†’
Module 5

πŸ›οΈ Cross-Account & AWS Organizations

Compare VPC Peering, Transit Gateway (RAM), and Cross-Account PrivateLink. Toggle Organization SCPs, RCPs, and `PrincipalOrgID` guardrails to block rogue networks.

Open Multi-Account & Org Lab β†’
Module 6

πŸ§ͺ Interactive Packet & Troubleshooting Lab

Diagnose 8 classic AWS networking mysteries ("Why does my connection time out?", "Why can't Account A reach Account C?") and click to fix them live.

Launch Troubleshooting Sandbox β†’