April 30, 2020Categories:
TL;DR: If you have a static website that needs to be password protected, using Google’s Identity Aware Proxy along with App Engine is one of the simplest ways to accomplish this.
If you want to follow along with a site of your own, I have provided a working example in this GitHub repo.
Note: I have also seen S3 + Lambda used to accomplish this
April 13, 2020Categories:
TL;DR: Setting up a Virtual Private Cloud (network), configuring firewall rules, and provisioning the Compute Engine virtual machine instances!
KTHW Lesson: 03-compute-resources.md
April 12, 2020Categories:
TL;DR: Setting up GCP account, and installing various software prerequisites (
Is this the Matrix?
April 11, 2020Categories:
TL;DR: This is the introduction to a series of posts in which I will work through Kelsey Hightower’s Kubernetes The Hard Way, explaining key concepts in detail along the way.
April 3, 2020Categories:
TL;DR: If using Google Analytics, most Hugo themes load the tracking script even when running locally. This causes a bunch of bogus page views when writing a new article. Creating separate config files for development and production is an easy way to fix this.
Whoops… that’s me visiting my site on localhost
March 24, 2020Categories:
TL;DR: I used the K6 load testing framework to benchmark the Compute Engine f1-micro and Caddy web server hosting this site. With CloudFlare caching turned off, the server was able to serve an onslaught 800 virtual users continuously reloading the page (while maintaining a median request duration of
<400ms), but started dropping requests when increasing the load further.