Skip to content
Language

Hugo on AWS with Terraform

How this site is hosted, written down twice: once when it was built, and again when enough had changed to be worth redoing.

The first article is the working setup, S3 behind CloudFront with a certificate and Terraform holding it together. The second is what a few years of running it taught: Origin Access Control instead of a public bucket, GitHub Actions deploying with short-lived credentials rather than a stored key, and a domain change that turned out to need an article of its own.