Tutorial

Creating a Password Protected Website with IAP and Google App Engine

April 30, 2020
Categories:
Tutorial
Tags:
Google Cloud Platform, Identity Aware Proxy, Google 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

images/read-the-docs.png
...

Turning off Google Analytics for Local Hugo Server

April 3, 2020
Categories:
Tutorial
Tags:
Hugo

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.

images/bogus-google-analytics.png
Whoops... that's me visiting my site on localhost
...

© DevOps Directive 2023