12-Factor Apps and the HashiStack
summary
Practical recipe for running a 12‑Factor web app on the HashiStack: use Consul, Nomad, Vault for service discovery, scheduling and secrets; inject Vault tokens via environment variables, request on‑demand MySQL creds, and avoid hardcoded ports by using Nomad’s dynamic ports. Demo builds a Go web app, deploys a Fabio reverse proxy on every node, scales from 3 to 10 instances (example plan shows 200→10 math for sizing), and performs rolling updates with health checks to achieve zero‑downtime. Stateful databases remain external.
AI-written summary · about
