<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Static Export on Lonfo Blog</title><link>https://blog.lonfo.fr/tags/static-export/</link><description>Recent content in Static Export on Lonfo Blog</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Sun, 05 Apr 2026 10:00:00 +0100</lastBuildDate><atom:link href="https://blog.lonfo.fr/tags/static-export/index.xml" rel="self" type="application/rss+xml"/><item><title>Daily Actions: Next.js on AWS (Static Export): S3 + CloudFront in minutes with CDK</title><link>https://blog.lonfo.fr/posts/daily-actions-next.js-on-aws-static-export-s3--cloudfront-in-minutes-with-cdk/</link><pubDate>Sun, 05 Apr 2026 10:00:00 +0100</pubDate><guid>https://blog.lonfo.fr/posts/daily-actions-next.js-on-aws-static-export-s3--cloudfront-in-minutes-with-cdk/</guid><description>&lt;h1 id="nextjs-on-aws-static-export-s3--cloudfront-in-minutes-with-cdk">Next.js on AWS (Static Export): S3 + CloudFront in minutes with CDK&lt;/h1>
&lt;p>Hosting a Next.js app statically on AWS uses the same building blocks: a private S3 bucket for files, CloudFront for global delivery, and OAC to restrict direct S3 access. We automate everything with the AWS CDK in TypeScript, without depending on Route 53.&lt;/p>
&lt;p>This guide scaffolds a Next.js app (static export), then deploys the exported output (&lt;code>out/&lt;/code>) to S3 behind CloudFront in one command.&lt;/p></description></item></channel></rss>