Configuration management is the management of the configuration of all environments for an application.
Both Infrastructure as Code (IaC) and configuration as code fall under configuration management, and both relate to defining or scripting for environments:
- IaC – entails defining environments as a text file (script or definition) that is checked into version control and used as the base source for creating or updating those environments.
- Configuration as code – define the configuration of your servers, code, and other resources as a text file (script or definition) that is checked into version control and used as the base source for creating or updating those configurations.
SaltStack or Ansible in CI/CD accelerates configuration management and deployment.
Benefits of configuration management:
- more maintainable
- Fewer locations to update
- Fewer mistakes
- More secure
- More reliable