CodeBuild2 posts
From git push to Global CDN: Hosting a Secure Next.js Static Site on S3 and CloudFront with Terraform and CodePipeline
Learn to host a Next.js static export on a private S3 bucket with CloudFront, a custom domain, HTTPS, security headers, and automated GitHub to CodePipeline deployments using Terraform.
AWSTerraformCloudFrontS3
12 min readZero Servers, One Bucket: Deploying a Next.js Static Site to Amazon S3 with Terraform and CodePipeline
Host a Next.js static export on Amazon S3 website hosting and automate every deployment from GitHub using AWS CodePipeline, CodeBuild, and Terraform, with the trade-offs explained honestly.
AWSTerraformS3CodePipeline
12 min read