Terraform

Achieving GCP scheduled disk snapshots with Terraform

Google announced scheduled disk snapshots at Google Cloud NEXT this year. The support allows admins/operators to create schedules and bind disks to the schedules. Backed by some sort of quartz/timer trigger, the schedules initiate snapshots of disks and maintain copies for a configurable period of time. The details for these alpha features can be difficult to dig up on the web, but are pretty easy to uncover via gclouds alpha and beta components.
Read more

ASG Rolling Updates on AWS with Terraform

The cloud is great. Isn’t the cloud great? …and because you’re reading this you know about running compute instances in the cloud. If you’re unlucky enough to still be dealing with code deployed to machines instead of containers, you might be in the painful world of shipping code by automated or manual move and re-start procedures. Perhaps you are lucky enough to be in a containerized environment, but not on Kubernetes.
Read more

Home Network Monitoring

Every once and a while my Comcast-based cable service gets into a little bit of a wonky state. It works, but then, it does, but then it does, but then it doesn’t… I’m sure it’s probably a unique experience. Anyway, when it does, I’ve found that I have nearly no leg to stand on when citing ICMP response times, download rates, and cable modem stats and events over time. All I can give the “support staff” is what’s happening now.
Read more

Intro to terraform, IaC

why IAC? deterministic infrastructure documentation / clarity self-service version control terraform introduction open source, written in GO, leveraged in HCL (similar to JSON) declarative – code describes end state instead of the journey to end state limited expressive power, but tools like interpolation exist timing and dependency hierarchy are handled by resources definitions state: execution compares current state vs. actual state vs. desired state core terms providers - AWS , google compute, azure, etc resources - most things data sources - data queried at runtime from provider(s) variables variable interpolation and interpolation functions output variables modules providers provider "aws" { region = "us-west-2" } resources … likely make up the bulk of your IAC.
Read more