liveBook · Manning

Configuration management

As explained in Infrastructure as Code, Patterns and Practices: With examples in Python and Terraform

The practice of maintaining systems in a defined configuration state across their lifecycle.

Configuration management maintains servers and resources in a desired state by applying defined packages and attributes across systems. section 1.5.3

Apply it to operational infrastructure by:

  • Reviewing or updating approved package versions across large server fleets with one command. section 1.5.3
  • Separating monolithic automation into independent modules, then extracting dependent configuration through dependency injection. section 10.2.3
  • Rolling forward a reverted server state, such as uninstalling version 3.0.0 and reinstalling version 2.0.0. section 11.1.1

Package-state correction

When a server has package version 3.0.0 but requires 2.0.0, the configuration manager removes the newer version and installs the older one, producing a new working state rather than restoring the exact prior state. section 11.1.1

Figure 10.11 The workflow for refactoring an IaC monolith starts by identifying high-level resources with no dependencies.

Use the workflow figure to trace refactoring from independent infrastructure components toward configuration with dependencies. section 10.2.3

How Infrastructure as Code, Patterns and Practices: With examples in Python and Terraform covers it

How deep it goes
Defines fleet configuration, gives refactoring and recovery procedures, and defers detailed guidance for individual tools.
Examples
Uses 10,000-server package updates, modular refactoring, and package-version reversion as operational examples.
What it assumes
Assumes familiarity with servers, resources, packages, and infrastructure automation while defining configuration management itself.
What you can do after
Operate configuration tools to enforce fleet-wide package states, refactor automation, and recover servers through forward changes.
How it connects
Connects configuration management with infrastructure as code, provisioning, dependency injection, infrastructure testing, and security.

Also explained in

Compare how 3 books explain configuration management →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Infrastructure as Code, Patterns and Practices: With examples in Python and Terraform. The section links point to the parts of the book it draws on.