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: March 2026

AWS Networking and Content Delivery

Amazon VPC (Virtual Private Cloud)

Amazon VPC allows you to launch AWS resources in a logically isolated virtual network that you define. You have complete control over the networking environment.

VPC Components

ComponentPurpose
SubnetsSegment the VPC into public and private sections within AZs
Route TablesControl where network traffic is directed
Internet Gateway (IGW)Allow communication between VPC resources and the internet
NAT GatewayAllow private subnet resources to access the internet (outbound only)
VPC EndpointsPrivate connections from VPC to AWS services without using the internet
VPC PeeringConnect two VPCs privately
Transit GatewayCentral hub connecting multiple VPCs and on-premises networks
VPN GatewayVPN connection endpoint in the VPC

VPC Endpoint Types

TypeDescriptionExample
Gateway EndpointFree; used for S3 and DynamoDBEC2 in private subnet accesses S3 without internet
Interface Endpoint (PrivateLink)Uses ENI with private IP; for most other servicesPrivate access to CloudWatch, SNS, SQS

Amazon CloudFront (CDN)

Amazon CloudFront is a content delivery network (CDN) that caches content at 600+ edge locations worldwide for fast delivery.

FeatureDetail
Edge Locations600+ globally
OriginsS3 buckets, EC2, ALB, custom HTTP servers
Content TypesStatic (images, CSS, JS), dynamic (APIs), video streaming
SecurityIntegration with AWS WAF, Shield, ACM for HTTPS
DDoS ProtectionShield Standard automatic protection

When to use CloudFront:

  • Accelerating static/dynamic website delivery
  • Streaming video content globally
  • Serving APIs with low latency
  • Distributing software downloads

On the Exam: CloudFront = CDN = low-latency global content delivery using edge locations. If a question mentions reducing latency for global users or caching content, think CloudFront.


Amazon Route 53 (DNS)

Amazon Route 53 is a highly available and scalable Domain Name System (DNS) web service.

Route 53 Capabilities

CapabilityDescription
Domain RegistrationRegister and manage domain names
DNS RoutingRoute users to the best endpoint
Health CheckingMonitor endpoint health and route away from unhealthy resources

Routing Policies

PolicyDescriptionUse Case
SimpleRoute to a single resourceSingle-server website
WeightedRoute based on assigned weightsA/B testing, gradual migration
Latency-basedRoute to the Region with lowest latencyGlobal applications
FailoverRoute to backup when primary is unhealthyDisaster recovery
GeolocationRoute based on user's geographic locationContent localization, compliance
GeoproximityRoute based on resource location and optional biasFine-tuned geographic routing
Multi-value answerReturn multiple healthy recordsSimple load balancing

Elastic Load Balancing (ELB)

Elastic Load Balancing automatically distributes incoming traffic across multiple targets in one or more AZs.

ELB Types

TypeLayerBest For
Application Load Balancer (ALB)Layer 7 (HTTP/HTTPS)Web applications, microservices, path-based routing
Network Load Balancer (NLB)Layer 4 (TCP/UDP)Ultra-high performance, static IP, low latency
Gateway Load Balancer (GWLB)Layer 3 (IP)Third-party virtual appliances (firewalls, IDS)

On the Exam: ALB = HTTP/HTTPS/web applications. NLB = TCP/UDP/extreme performance. GWLB = virtual appliances.


Connectivity Services

AWS Direct Connect

A dedicated private network connection from on-premises to AWS. Does NOT use the public internet.

FeatureDetail
Bandwidth1 Gbps to 100 Gbps
LatencyConsistent, lower than internet-based connections
SecurityPrivate connection (not encrypted by default — add VPN for encryption)
Use CaseLarge data transfers, hybrid cloud, regulatory requirements

AWS VPN

An encrypted connection over the public internet between on-premises and AWS.

FeatureDetail
Site-to-Site VPNConnect on-premises network to VPC over IPSec tunnel
Client VPNIndividual users connect to AWS resources
Quick SetupMinutes vs. weeks for Direct Connect
CostLower than Direct Connect

AWS Transit Gateway

A central hub that connects multiple VPCs, on-premises networks, and VPN connections. Simplifies complex networking topologies.

AWS Global Accelerator

Routes traffic through the AWS global network (not the public internet) to the optimal endpoint for better performance. Provides static IP addresses that act as a fixed entry point.

ServiceBest For
Direct ConnectDedicated private connection, large/consistent bandwidth
VPNQuick, encrypted connection over internet
Transit GatewayConnecting many VPCs and on-premises networks
Global AcceleratorImproving performance via AWS backbone network
CloudFrontCaching content at edge for low-latency delivery
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