3.4 AWS Networking and Content Delivery

Key Takeaways

  • Amazon VPC lets you create an isolated virtual network in the cloud with complete control over IP addressing, subnets, routing, and security.
  • Amazon CloudFront is a global CDN that caches content at edge locations worldwide for low-latency delivery to end users.
  • Amazon Route 53 is a highly available DNS service that routes users to applications with domain registration, DNS routing, and health checking.
  • Elastic Load Balancing distributes incoming traffic across multiple targets (EC2, containers, Lambda) in one or more AZs.
  • AWS Direct Connect provides a dedicated private network connection from on-premises to AWS, bypassing the public internet.
Last updated: June 2026

Quick Answer: AWS networking lets you build an isolated virtual network (Amazon VPC), deliver content fast worldwide (CloudFront), route DNS intelligently (Route 53), spread traffic across servers (Elastic Load Balancing), and connect on-premises privately (Direct Connect) or encrypted over the internet (AWS VPN). The CLF-C02 tests purpose, not configuration.

Amazon VPC (Virtual Private Cloud)

Amazon VPC lets you launch AWS resources in a logically isolated virtual network you define, with full control over IP ranges, subnets, route tables, and gateways.

VPC Components

ComponentPurpose
SubnetsDivide the VPC into public/private segments within AZs
Route TablesDirect where network traffic flows
Internet Gateway (IGW)Enables internet access for public subnets
NAT GatewayLets private-subnet resources reach the internet outbound only
VPC EndpointsPrivate access to AWS services without traversing the internet
VPC PeeringPrivately connect two VPCs
Transit GatewayCentral hub connecting many VPCs and on-premises networks
Security Groups / NACLsInstance-level (stateful) and subnet-level (stateless) firewalls

Security Groups vs. Network ACLs

This pair is heavily tested. Security Groups operate at the instance/ENI level, are stateful (return traffic is automatically allowed), and support allow rules only. Network ACLs (NACLs) operate at the subnet level, are stateless (you must allow both directions), and support both allow and deny rules.

VPC Endpoint Types

TypeDescriptionExample
Gateway EndpointFree; for S3 and DynamoDBPrivate subnet reaches S3 without internet
Interface Endpoint (PrivateLink)Uses an elastic network interface with a private IPPrivate access to CloudWatch, SNS, SQS, and many services

Amazon CloudFront (CDN)

Amazon CloudFront is a content delivery network that caches content at 600+ edge locations worldwide for low-latency delivery.

FeatureDetail
Edge Locations600+ globally
OriginsS3 buckets, EC2, ALB, custom HTTP servers
Content TypesStatic assets, dynamic content/APIs, video streaming
SecurityIntegrates with AWS WAF, AWS Shield, and ACM for HTTPS
DDoS ProtectionAWS Shield Standard is automatic and free

On the Exam: CloudFront = CDN = low-latency global delivery via edge caching. Any scenario about "reduce latency for global users" or "cache static content closer to users" points to CloudFront.


Amazon Route 53 (DNS)

Amazon Route 53 is a highly available DNS web service offering domain registration, DNS routing, and health checking.

Routing Policies

PolicyDescriptionUse Case
SimpleOne resourceSingle-server site
WeightedSplit by assigned weightsA/B testing, gradual rollout
Latency-basedLowest-latency RegionGlobal apps
FailoverPrimary, then backup if unhealthyDisaster recovery
GeolocationBased on user locationLocalization, compliance
GeoproximityResource location with biasFine-tuned geographic routing
Multivalue answerMultiple healthy recordsSimple DNS-level balancing

Elastic Load Balancing (ELB)

Elastic Load Balancing distributes incoming traffic across multiple targets (EC2, containers, IPs, Lambda) in one or more AZs, improving availability and scalability.

TypeOSI LayerBest For
Application Load Balancer (ALB)Layer 7 (HTTP/HTTPS)Web apps, microservices, path/host routing
Network Load Balancer (NLB)Layer 4 (TCP/UDP)Extreme performance, static IP, low latency
Gateway Load Balancer (GWLB)Layer 3 (IP)Third-party virtual appliances (firewalls, IDS/IPS)

On the Exam: ALB = HTTP/HTTPS web apps with smart routing. NLB = ultra-high-performance TCP/UDP and static IP. GWLB = inline virtual security appliances.


Connectivity Services

AWS Direct Connect

A dedicated private physical connection from on-premises to AWS that bypasses the public internet, offering consistent low latency and 1–100 Gbps bandwidth. It is not encrypted by default — pair it with a VPN if encryption is required.

AWS VPN

An encrypted connection over the public internet. Site-to-Site VPN links a network to a VPC over IPSec; Client VPN connects individual users. VPN is quick to set up and cheaper than Direct Connect, but performance depends on the internet.

AWS Transit Gateway

A central hub that connects many VPCs, VPNs, and on-premises networks, replacing a tangle of peering connections with hub-and-spoke routing.

AWS Global Accelerator

Routes user traffic over the AWS global backbone (not the public internet) to the optimal endpoint, and provides static anycast IP addresses as a fixed entry point — ideal for non-HTTP, latency-sensitive global apps.

ServiceBest For
Direct ConnectDedicated private bandwidth, hybrid, compliance
VPNQuick, encrypted connection over the internet
Transit GatewayConnecting many VPCs and networks centrally
Global AcceleratorPerformance via the AWS backbone + static IPs
CloudFrontCaching content at edge for low-latency delivery

On the Exam: Distinguish CloudFront (caches content at edge) from Global Accelerator (routes live traffic over the AWS backbone to your origins). Both improve global performance but solve different problems.


Default Networking Behavior

Every AWS account starts with a default VPC in each Region, complete with a default subnet in each Availability Zone, an internet gateway, and a route table — so you can launch an instance immediately. For production, organizations typically build a custom VPC with carefully designed public and private subnets across multiple AZs.

A common secure pattern places internet-facing resources (a load balancer) in public subnets and application/database tiers in private subnets, with a NAT Gateway giving the private tier outbound-only internet access for updates. This layered design supports the Security pillar's "defense in depth" and the Reliability pillar's multi-AZ guidance. Knowing that public subnets route to an internet gateway while private subnets do not is a frequently tested distinction.

Test Your Knowledge

Which AWS service is a global content delivery network (CDN) that caches content at edge locations?

A
B
C
D
Test Your Knowledge

A company needs a dedicated, private network connection from their on-premises data center to AWS that does NOT use the public internet. Which service should they use?

A
B
C
D
Test Your Knowledge

Which type of Elastic Load Balancer operates at Layer 7 (HTTP/HTTPS) and supports path-based routing?

A
B
C
D
Test Your Knowledge

What is the purpose of a VPC Endpoint?

A
B
C
D