Techblog, self hosting

Setting up a blog on Cloud Run with containers was fun, but probably a little bit of an overkill.

Good to know there’s a simple way to scale this up on Google’s infra for almost free.

The more sane way is probably to set it up as a simple static site on one of my servers.

The parts of the Makefile to render the .md files to HTML stay the same.

A simple VirtualHost maps to /var/www/techblog.

The Makefile has now a new section, the publish target:

.PHONY: publish

publish: htmls
    rsync -v --chmod=go+rX *.html mp@he.typesafe.org:/var/www/techblog

This is fast and works great.

The blog is now available at techblog.typesafe.org.

Next steps: RSS?