Today we launch… Comments! So I figured I’d take the chance to self indulge and talk about how the blog is built.
The technical approach of this blog has been evolving. For the first few posts, I exported the PDF from the Notion and sent it to a few friends as a text message.
A website seemed nice, so I switched to using Hugo. Every day this past week I’ve been generating the static Hugo files locally, then uploading all of the static files to AWS S3, and then redeploying an AWS Amplify instance (Amazon’s competitor to Mitch’s Static Web Apps) pointing at the S3 location.
I’ve been learning all of the unique AWS offerings lately. Lightsail. SAM. In an effort to simplify, I’ve switched to one of the simplest AWS offerings: EC2. This blog is now served via nginx serving the static Hugo content. The blog comments are backed by a commento server which stores the data in postgresql. All of services involved are running as docker instances on the same server.