![]() You might want to fork my GitHub repo and follow along with this tutorial. Now we are going to go through each of the files that make up our Terraform project with an explanation of what each of them are doing. Route 53 records pointed at to our Cloudfront distributions.Cloudfront distribution for the www and non-www domain which is our CDN.SSL wildcard certificate validated for our domain that automatically renews.S3 bucket that serves as the redirect to our www subdomain (I will explain later).S3 bucket that hosts our website files for our www subdomain.Once we are finished we are going to have the following components: Hosting a static website on S3 only requires a few components, we don’t even need anything complicated like VPCs or security groups to get this set up. Website set up with performance best practices to achieve a high score on Google PageSpeed and GTMetrix. ![]()
0 Comments
Leave a Reply. |