DevOps Directive

A place for DevOps and Cloud infrastructure content.

Recent Posts:

Doing Stupid Stuff with GitHub Actions

July 25, 2020
GitHub, GitHub Actions, CI, CD

TL;DR: DevOps doesn’t have to be all work and no play. I built 5 stupid (but fun!) GitHub actions… because why not?

The full code for these actions can all be found in this GitHub repo. I encourage you to fork and/or add issues/PRs with impractical actions of your own!

I also recorded a video about this project on YouTube. ← Check out the video and subscribe if you are into this sort of thing 🙏

Whiteboard Screenshot

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

Turning off Google Analytics for Local Hugo Server

April 3, 2020
Quick, 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.

DevOps Symbols Whoops… that’s me visiting my site on localhost

© DevOps Directive 2020