Posts for: #Meta

URL redirector with CloudFront Functions

This blog used to be hosted in Google Firebase, and before that, on Tumblr, using the domain jslee.io.

As of February 16, it’s now in Cloudflare Workers/Pages on a new domain jslee.dev.

I hadn’t got around to setting up a redirector yet. I’d assumed it would require Lambda@Edge and CloudFront as I didn’t want to delegate the jslee.io zone to Cloudflare’s DNS servers. However when I started looking at it this evening, I was reminded that CloudFront Functions exists and is more or less perfect for this application.

[Read full post]

Index

motorcycle

Well. It’s been too many years. My Hugo deploy pipeline broke (I don’t even remember what happened anymore, but it wasn’t Hugo’s fault!) and I didn’t have the tuits to fix it. Chalk it up to tech debt.

I’m back and with better hosting and a significantly less crap deploy pipeline. Cloudflare Pages + Github Actions + Terraform. Learned a bunch along the way.

There were so many things I wanted to post about through the years but didn’t and forgot about. Hopefully some of them will pop back into my mind. Lately I’ve wanted to write about motorcycle safety a bit and that was really what motivated me to spend a weekend resurrecting this blog.

Some minor updates from the last six years:

  • life: ADHD. Fun times! Also bought a flat. Starting to feel my age
  • tech: Learned more about Cloudflare, Google Cloud Platform, Kicad
  • transport: Daily motorcyclist again
  • fun: Playing games again. Currently: iRacing, Cyberpunk 2077
  • nostalgia: joined the TUHS mailing list as a lurker. Wow. What an amazing bunch of people!

Hugo, Google Cloud Build & Firebase

When I originally moved my blog away from Tumblr, I followed the below pages:

In short, this blog is:

  • maintained in a Github repository
  • deployed with Google Cloud Build
  • hosted in Firebase.

This got me almost all of the way there. I encountered the below traps:

  • Git submodules
  • failing to add public/[a-z]* to .gitignore and .gcloudignore
[Read full post]