Cloud Front
CloudFront Caching
- Caching based on Query String
- Always Use the Same Case for Parameter Names and Values.
- Caching based on cookies
- Caching based on request headers
CloudFront private content
- Signed URL for individual files
- Signed Cookies for multiple files
- Origin Access Identify for restricting access to S3 buckets
- Custom Headers for restricting access to ELB
- Use AWS WAF firewall to control content access
Lambda@Edge
Resilient
To set up CloudFront origin failover, you must have a distribution with at least two origins. Next, you create an origin group for your distribution that includes two origins, setting one as the primary. Finally, you create or update a cache behavior to use the origin group.