Back to Lessons

AWS CloudFront CDN

April 5, 2026

Content Delivery Network

Global CDN with 400+ edge locations, DDoS protection.

CloudFront Architecture

Edge Locations (400+):
- Cache content near users
- TLS 1.3 termination
- Origin shielding

Distributions:
Web (HTTP/S) + RTMP (video streaming)

Cache Behaviors:
- TTL settings (min/max/default)
- Path patterns (/images/*, /api/*)
- Lambda@Edge (custom logic)

Security:
AWS Shield Standard (free DDoS)
AWS WAF Web ACL integration

Pricing

  • $0.085/GB US/Europe
  • Free tier: 1TB/month
  • Lower rates Asia/Pacific
  • Regional data transfer pricing