AWS Static Site Memorandum
Below is a simple memorandum on setting up this static website and running it in AWS as I wanted it. Mostly, so that I'll be able to recall what the heck I did to get it all done. The fun thing about AWS documentation and tutorials is that there is an abundance of content available, but they all seem to tragically be missing that one crucial bit of information you need. This post will be yet another statistic in evidence to that fact. 😆 So, to achieve victory in this effort, you just need to get gather a good full handful of them and then put all the pieces together.
Note that the outcome I was working towards was that the site was referenced canonically only at the naked domain
corthulhu.com
, and that the www
subdomain variant was just always redirected there.
Additionally, the web stack I was targeting was simply:
- S3 bucket(s) for the file/object store
- CloudFront (referencing the S3 objects) for content distribution
- Whatever else is necessary for achieving #1 and #2