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
A practical scenario where this might be useful is speeding up and caching WordPress websites.
Like what you've read?
If you're an engineering leader or developer, you should subscribe to my 80/20 DevOps Newsletter. Give me 1 minute of your day, and I'll teach you essential DevOps skills. I cover topics like Kubernetes, AWS, Infrastructure as Code, and more.
Not sure yet? Check out the archive.
Unsubscribe at any time.