Consul at Target: Service Discovery and More
summary
Target adopts Consul for service discovery and dynamic configuration and runs it at scale: 3,600 agents in production (about 4,000 non‑prod) serving ~450 production services. Deploy time for a demo drops from ~45 minutes to ~10–12 minutes by parallelizing with Consul health checks and DNS. Consul Template, KV, DNS, and a small “trust me” Vault API bootstrap immutable AMIs, power a 120‑node Cassandra cluster, control nginx/haproxy backends, and reveal operational gotchas like health‑check traffic and mesh/routing limits.
AI-written summary · about
chapters (18)
- 0:00Intro
- 1:35About Target
- 4:042014 - Guest Facing Cloud POC
- 5:03Cloud Architecture
- 6:34Consul POC
- 8:19Monitoring Stack
- 10:08Old Internal Architecture
- 10:51Current Internal Architecture
- 15:55Preparing our APIs
- 18:46Data Platform
- 20:54Deployment Statistics
- 21:56"Immutable" Cassandra
- 24:16Scaling Elasticsearch
- 25:18Consul Certificate Signing
- 27:26Network Considerations
- 29:39Consul DNS
- 32:25Immutable Image Pipeline
- 34:51Lessons Learned
