Networking & Content Delivery
Amazon CloudFront
Global, low-latency CDN backed by 600+ edge locations.
Official docsOverview
CloudFront caches and accelerates web content close to users, integrates with S3, ALB, API Gateway, and supports Lambda@Edge / CloudFront Functions for edge logic.
When to use it
- Speed up static sites and APIs globally
- Protect origins behind WAF + CloudFront
- Serve QA preview environments on custom domains with HTTPS
Setup
- Console → CloudFront → Create distribution.
- Choose origin (S3 bucket, ALB, or custom HTTP).
- Configure cache behaviors, TTLs and a default certificate (ACM).
- Attach WAF and logging to S3 if required.
How to use
Invalidate cache
aws cloudfront create-invalidation --distribution-id E123 --paths '/*'QA use cases
- Run geo-distributed performance tests verifying cache hit ratios via x-cache header.
- Validate signed URLs / cookies for protected QA preview builds.
