Configuration Management

SRE Workbook approach to configuration as code: validation, staged rollout, blast radius containment, and the pitfalls that make config changes the leading cause of production incidents.

Overview

Configuration is a first-class artifact

SRE Workbook Chapters 14 and 15 treat configuration as an engineering artifact: not a collection of YAML files someone edits at 2am, but a versioned, validated, staged deployment pipeline with automated rollback.

The central insight: 'A change in configuration is a change in behavior.' Configuration changes cause the majority of major production incidents; not code, not hardware, but human-written configuration that was not validated before reaching production.

In practice, every change takes the same path. It is edited in version control, passes schema validation and goes to a 1% canary. Automated validation checks the canary, and only then does the change move to 10%, 50% and 100%. If the validation finds a regression, a fast rollback undoes the change.

> [!IMPORTANT] If rolling back a bad configuration takes longer than restarting the service, the configuration system is not safe for production.

Key concepts

  • Configuration as code
  • Schema validation
  • Configuration canary
  • Configuration drift
  • Feature flags

Interview questions

  • Why do configuration changes cause more production incidents than code changes, and how do you prevent it?

Sign up free to read the full topic

More SRE topics

Start free on Cariara · Coding problems · System design studio