Should I use CloudFront to serve my website content?
Last updated: 2022-01-13
I'm using Amazon Elastic Compute Cloud (Amazon EC2) and Elastic Load Balancing (ELB) to serve my website. Should I integrate Amazon CloudFront?
Resolution
CloudFront can speed up the distribution of your website's static and dynamic content. For more information, see What is Amazon CloudFront?
CloudFront complements a website that has:
- A high volume of static content, such as image files
- Requests from clients around the world
Because CloudFront caches static content on edge locations around the world, CloudFront can reduce latency for websites serving high volumes of static content to global clients.
Other advantages of CloudFront include:
- Integration with other AWS services, including AWS Certificate Manager (ACM), Amazon Simple Storage Service (Amazon S3), AWS WAF, AWS Elemental MediaPackage, and AWS Elemental MediaStore.
- Reduced overhead on the origin because of CloudFront's SSL offloading and persistent connection with the origin.
- Improved load-handling capacity for content cached on regional edge locations.
CloudFront isn't recommended for websites that have an origin server that's geographically close to the website's users, such as a regional website.
Related information
Did this article help?
Do you need billing or technical support?