Boost S3 performance with Cloudfront
Do you have a static website/static contents stored in an S3 bucket?
Wondering how you can boost the performance by reducing latency for the global audience?
In this article let's see how you can use Cloudfront the AWS CDN product to solve the problem.
Choose Web as Distribution
Choose S3 as origin
Let's leave rest as default for now and proceed with creating the distribution
wait for the progress to change from
Now you can access the s3 content with your CloudFront domain.
This also provides you with feasibility to add WAF and additional security to serve your content.
You may have realised there is an open loop that people can still access your s3 directly. Let's see how to close that in our next post.
Hope you find this useful. Give 👍 for more posts from us. We also run a youtube channel TechPechu in Tamil( Indian regional Language) do subscribe as moral support! 😀