Skip to content

Instantly share code, notes, and snippets.

Michael Gorsuch gorsuch

Block or report user

Report or block gorsuch

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile


  • 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:

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 Jun 6, 2015
golang streaming into bigquery
View gist:46eb52f4c9cd43b5e3b9
package main
import (
bigquery ""
View gist:639fbbd98366d4e2ca98
package main
import (
View cloudfuckery.rb
#!/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 Aug 29, 2015
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 Aug 29, 2015
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

  "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,
You can’t perform that action at this time.