Provides step-by-step instructions to resolve error with creating CloudFront distribution
Discusses all aspects of static website hosting on AWS using S3, CloudFront and Route 53. Includes ready-to-use boilerplate and template.
Terraform for better or worse is frequently updated with new versions. Many of these introduce incompatibilities with previous versions that require manual rework of Terraform definitions as well as require updating the local or remote Terraform state. I originally developed a solution for deploying Next.js to AWS using Terraform version 0.12 and that has been … Continue reading Deploy Serverless Next.js to AWS with Terraform 1.1
Next.js is becoming ever more popular these days and rightfully so. It is an extremely powerful and well-made framework that provides some very useful abstractions for developing React applications. An easy way to deploy Next.js application is through using Vercel. However, it can also be useful to deploy Next.js application into other environments to simplify … Continue reading Deploy Next.js to AWS
Problem You have create a CloudFront distribution with a custom domain name (such as yourdomain.com). Now if you try to link this distribution to your domain using Route 53, you get the following error message: `No AWS resource exists with the Alias Target that you specified.` Solution Try the following to solve this problem: Make … Continue reading Route 53 Cannot Find CloudFront Distribution