<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>CloudFront on StackDelight</title><link>https://stackdelight.com/tags/cloudfront/</link><description>Recent content in CloudFront on StackDelight</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sat, 31 May 2025 15:02:35 +0300</lastBuildDate><atom:link href="https://stackdelight.com/tags/cloudfront/index.xml" rel="self" type="application/rss+xml"/><item><title>Static Website Hosting With CloudFront</title><link>https://stackdelight.com/posts/static-site-with-cloudfront-s3/</link><pubDate>Sat, 31 May 2025 15:02:35 +0300</pubDate><guid>https://stackdelight.com/posts/static-site-with-cloudfront-s3/</guid><description>&lt;p>Static site generators like &lt;a href="https://gohugo.io/">Hugo&lt;/a>, &lt;a href="https://astro.build/">Astro&lt;/a> or even (with some concessions) &lt;a href="https://nextjs.org/docs/pages/building-your-application/rendering/static-site-generation">Next.js&lt;/a> are great for building responsive, SEO-friendly websites. It&amp;rsquo;s especially effective for uncomplicated landing pages, blogs or documentation sites. In the AWS world, static sites have been historically hosted via an S3 bucket with &lt;a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/WebsiteHosting.html">website hosting&lt;/a> enabled.&lt;/p>
&lt;div class="callout tip ">
 This method was superseded by the CloudFront+S3 combination
&lt;/div>

&lt;p>Which offers clearer separation of concerns and modern functionalities such as URL rewriting, SSL certificates and an actual CDN in front of it. In this article we will create a reusable CDK construct to implement this setup.&lt;/p></description></item></channel></rss>