Choosing the stack
Why this blog is Astro on S3 and CloudFront, built with Terraform, and the one resource I could not find anywhere on Google.
Can a blog be its own first cloud project?
A typical “dev” blog, and my attempt at getting my thoughts and learnings down on record. I’ve made attempts at this before and it’s always been left behind. I don’t write particularly well, and my actual job keeps me busy. But we’re giving this a go one more time.
This blog’s deployment pattern is your typical S3 static website. It’s an Astro site served from a private S3 bucket through CloudFront via OAC. Terraform defines the whole stack, a pull request runs the checks, and a push to main deploys.
Why this blog is Astro on S3 and CloudFront, built with Terraform, and the one resource I could not find anywhere on Google.
A private S3 bucket behind CloudFront with Origin Access Control, and the small function that makes directory-style URLs work.
What the CloudFront Free plan takes away, what it leaves you, and why I don't care.
How a push to main becomes a live site.