Creating a Password Protected Website with IAP and Google App Engine

April 30, 2020
GCP, Identity Aware Proxy, App Engine

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

Docs Screenshot


Load Testing Caddy Web Server on a GCP F1-Micro Instance Using K6 (k6.io)

March 24, 2020
Monitoring, Testing, GCP, Caddy, Web Servers, Performance

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.

this is fine

This is fine.


Managed Kubernetes Price Comparison (2020)

March 5, 2020
Comparison, Pricing
Kubernetes, AWS, GCP, Azure, EKS, GKE, AKS, Digital Ocean

TL;DR: Azure and Digital Ocean don’t charge for the compute resources used for the control plane, making AKS and DO the cheapest for running many, smaller clusters. For running fewer, larger clusters GKE is the most affordable option. Also, running on spot/preemptible/low-priority nodes or long-term committed nodes makes a massive impact across all of the platforms.

Price Graph


© DevOps Directive 2020