cryo lab · served

almostchilled.com

The site you're on: Astro, Workers, Terraform and a daily drift check.

The problem

A company site is easy to build and easy to leave rotting. I wanted one that is fast, costs nothing to run, and is safe to change at 11 pm. A landing page, with the care of a production system.

The approach

Keep the runtime boring and put the effort into the delivery.

  • The pages are built ahead of time, so a visit costs no compute.
  • Every change goes through a pull request with signed commits. Lint, types and a build run on each one.
  • Each pull request gets its own preview link. Only main deploys to production.
  • DNS is code. Terraform owns the zone, and a check runs every morning to catch drift.

The stack

  • Astro builds static HTML with almost no JavaScript.
  • Cloudflare Workers serves the files from the edge. The same Worker runs a small Hono API at /api/*, the only path that runs code.
  • Terraform manages the DNS records and zone settings. Its state lives in an R2 bucket.
  • GitHub Actions runs the checks, the previews and the deploys.

The result

The site is live at almostchilled.com. It costs $0 a month. A DNS change needs a reviewed pull request, and an accidental dashboard edit shows up in the next morning’s drift check.

The whole story, with the mistakes, is in How this site is built.

← All projects