Posts for: #Cloud

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]

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]