Use AWS CloudFront with HTTP Backends
If you need to speed up the delivery of your website quickly, you can put AWS’ Content Delivery Network (CDN), CloudFront, in front of it.
People often think you can only use CloudFront for content in S3 buckets, but you can also use HTTP servers as CloudFront origins.
An origin is where CloudFront, the CDN, gets the content from.
CloudFront supports these backends:
- S3 Buckets
- MediaStore containers or MediaPackage channels
- Application Load Balancers
- Lambda function URLs
- Custom origins, EC2, or somewhere else
- CloudFront origin groups
Here’s a link to the documentation for AWS CloudFront Custom Origins (HTTP).
A practical scenario where this might be useful is speeding up and caching WordPress websites.
Master GitHub Actions with a Senior Infrastructure Engineer
As a senior staff infrastructure engineer, I share exclusive, behind-the-scenes insights that you won't find anywhere else. Get the strategies and techniques I've used to save companies $500k in CI costs and transform teams with GitOps best practices—delivered straight to your inbox.
Not sure yet? Check out the archive.
Unsubscribe at any time.