Skip to Content
Asterrr's Handbook
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.

AWS CloudNetwork accountSpoke accountsData centeregresstransit VIFDirect ConnectTransit GatewayInspection VPCDirect ConnectgatewayProd VPCDev VPCCustomer router
A hub-and-spoke network. Spokes and the on-premises site attach to Transit Gateway, and an inspection VPC filters traffic to the internet.

VPC

FactValue
CIDR size/16 to /28 per block
Reserved per subnet5 addresses: network, router, DNS, future use, broadcast
Security groupStateful, allow rules only, attached to an interface
Network ACLStateless, allow and deny, numbered rules, applies to a subnet
NAT gatewayZonal, lives in a public subnet. Create one per AZ for resilience
PeeringNot transitive. No overlapping CIDRs. Works across Regions and accounts
Route selectionLongest prefix wins. Equal prefixes prefer local, then static over propagated
Flow LogsCapture accepted and rejected traffic metadata, not packet contents

Connecting networks

OptionPick it forRemember
Transit GatewayMany VPCs and on-premises, with per-attachment route tablesAttachments: VPC, VPN, DX gateway, peering, Connect. ECMP across VPN tunnels
Site-to-Site VPNQuick, encrypted, internet-basedTwo tunnels per connection, about 1.25 Gbps each
Direct ConnectSteady throughput and consistent latencyDedicated 1, 10, 100 Gbps. Hosted from partners at smaller sizes. Not encrypted by default
DX gatewayOne link to VPCs in many RegionsA transit VIF connects it to Transit Gateway
MACsecLayer 2 encryption on dedicated connectionsNeeds a supported port speed and device
PrivateLinkExpose a service to other VPCs privatelyInterface endpoint in the consumer, NLB or GWLB in the provider
Gateway endpointS3 and DynamoDB from inside a VPCFree, route-table based, not reachable from on-premises

DNS and delivery

ServiceOne-line fact
Route 53 routingSimple, weighted, latency, failover, geolocation, geoproximity, IP-based, multivalue
Alias recordFree for AWS targets, allowed at the zone apex, can evaluate target health
Resolver endpointsInbound for on-premises to AWS, outbound for AWS to on-premises
CloudFrontOrigin Shield adds a cache layer. OAC protects S3. Signed URLs for one file, signed cookies for many
CloudFront FunctionsViewer events, sub-millisecond, JavaScript, cheapest
Lambda@EdgeAll four edge events, longer running, more runtime options
ALBHTTP routing, WAF, authentication at the listener
NLBTCP, UDP and TLS, static IP per AZ, preserves source IP
GWLBTransparent 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.

On this page