Skip to content

Instantly share code, notes, and snippets.

gorsuch /
Created March 24, 2018 21:10
a few values


  • low cognitive overhead for the team
  • fast delivery for the org
  • reliable service for the org
  • safety for our customers


  • fewest moving parts possible
  • most boring tools possible
  • one-click, engineer-driven deployments

Keybase proof

I hereby claim:

  • I am gorsuch on github.
  • I am gorsuch ( on keybase.
  • I have a public key ASDlUJpCMNiRElw6f74CtHmaUne5tOJKzkhwW14-52kIGAo

To claim this, I am signing this object:

gorsuch /
Last active November 5, 2017 20:22
import boto3, logging, os
from datetime import datetime
from gpiozero import MotionSensor
from picamera import PiCamera
camera = PiCamera()
pir = MotionSensor(4)
gorsuch / gist:46eb52f4c9cd43b5e3b9
Created June 6, 2015 15:47
golang streaming into bigquery
package main
import (
bigquery ""
package main
import (
#!/usr/bin/env ruby
require 'aws-sdk'
metadata = {
image_id: 'ami-9aaa1cf2',
instance_type: 't2.micro',
subnet: 'subnet-a55587fc',
key_name: 'ops'
gorsuch /
Last active August 29, 2015 14:10
Platform Compiler

Platform Compiler

What follows is a description of how one might reasonably manage the core configuration of a stateless service platform.


  • input - initial inputs that help describe a desired state. includes information such as allowed amis, application manifests, etc
  • compiler - reads inputs, produces cloudformation templates along with other top-level metadata. (important to note that there could even be multiple compilers)
  • metadata - top-level, global data that describes ideal state of the platform
gorsuch /
Last active August 29, 2015 14:10
Service Platform Components

Service Platform Components

What follows is a brief description of what comprises a general stateless service platform. It assumed that all stateful services live elsewhere (Heroku Postgres, AWS, etc).

This document aims to show you that a service platform can be built from a few simple ideas without need of anything highly complex or a lot of moving parts.


see platform compiler

gorsuch /
Last active August 29, 2015 14:10
  "name": "core",
  "ami_id": "ami-123456",
  "env": "s3://cloudfuckery/envs/1-abcdef.json",
  "slug": "s3://cloudfuckery/slugs/1-12345.tgz",
  "formation": {
    "web": {
      "cmd": "bundle exec bin/web",
 "quantity": 3,