Service cheat sheets
Networking and content delivery
VPC, Transit Gateway, Direct Connect, VPN, endpoints, Route 53, CloudFront and load balancers with the limits and signals the exam asks about.
One screen per area. The decision trees and the reasoning are on the full pages. This sheet is for last-day review.
VPC
| Fact | Value |
|---|---|
| CIDR size | /16 to /28 per block |
| Reserved per subnet | 5 addresses: network, router, DNS, future use, broadcast |
| Security group | Stateful, allow rules only, attached to an interface |
| Network ACL | Stateless, allow and deny, numbered rules, applies to a subnet |
| NAT gateway | Zonal, lives in a public subnet. Create one per AZ for resilience |
| Peering | Not transitive. No overlapping CIDRs. Works across Regions and accounts |
| Route selection | Longest prefix wins. Equal prefixes prefer local, then static over propagated |
| Flow Logs | Capture accepted and rejected traffic metadata, not packet contents |
Connecting networks
| Option | Pick it for | Remember |
|---|---|---|
| Transit Gateway | Many VPCs and on-premises, with per-attachment route tables | Attachments: VPC, VPN, DX gateway, peering, Connect. ECMP across VPN tunnels |
| Site-to-Site VPN | Quick, encrypted, internet-based | Two tunnels per connection, about 1.25 Gbps each |
| Direct Connect | Steady throughput and consistent latency | Dedicated 1, 10, 100 Gbps. Hosted from partners at smaller sizes. Not encrypted by default |
| DX gateway | One link to VPCs in many Regions | A transit VIF connects it to Transit Gateway |
| MACsec | Layer 2 encryption on dedicated connections | Needs a supported port speed and device |
| PrivateLink | Expose a service to other VPCs privately | Interface endpoint in the consumer, NLB or GWLB in the provider |
| Gateway endpoint | S3 and DynamoDB from inside a VPC | Free, route-table based, not reachable from on-premises |
DNS and delivery
| Service | One-line fact |
|---|---|
| Route 53 routing | Simple, weighted, latency, failover, geolocation, geoproximity, IP-based, multivalue |
| Alias record | Free for AWS targets, allowed at the zone apex, can evaluate target health |
| Resolver endpoints | Inbound for on-premises to AWS, outbound for AWS to on-premises |
| CloudFront | Origin Shield adds a cache layer. OAC protects S3. Signed URLs for one file, signed cookies for many |
| CloudFront Functions | Viewer events, sub-millisecond, JavaScript, cheapest |
| Lambda@Edge | All four edge events, longer running, more runtime options |
| ALB | HTTP routing, WAF, authentication at the listener |
| NLB | TCP, UDP and TLS, static IP per AZ, preserves source IP |
| GWLB | Transparent appliance chains over GENEVE on UDP 6081 |
Overlapping CIDRs
Peering and Transit Gateway both fail with overlapping CIDRs. PrivateLink does not, because the consumer only sees an endpoint in its own range. That is the standard answer for exposing one service to many networks.
Related
- VPC connectivity: peering, Transit Gateway and PrivateLink in depth.
- Hybrid connectivity: Direct Connect resiliency and BGP route priority.
- Load balancers: the decision tree for ALB, NLB and GWLB.