Intermediate Topic 28 of 50 DevOps & Tooling
Configuration Management
Tools like Ansible keeping servers consistent.
How it works
Configuration management tools such as Ansible, Puppet, Chef and Salt bring servers to a described state and keep them there. Playbooks or manifests list packages, files, services and users, and the tool applies only what differs, which is called idempotence, so running it twice is safe. Ansible connects over SSH without an agent, while Puppet and Chef usually run an agent that pulls its configuration. Inventories group hosts, and templates and variables adapt files per environment.
Where it is used
Operators use it to configure fleets consistently, apply security baselines, roll out changes and rebuild a failed server from code.
Common pitfall
Hand edits on servers cause configuration drift, non-idempotent shell commands break repeat runs and unreviewed playbooks run with root privileges. Keep everything in version control, test changes on staging and prefer immutable images where possible.
Where it fits in the course
Configuration Management is topic 28 of 50 in DevOps & Tooling, rated Intermediate. It follows Terraform. The next topic is Monitoring and Alerting.
Practice and explore
- Open the interactive lesson, with a mini quiz.
- Take the DevOps & Tooling quiz.
How to study this topic
- Read the explanation above and restate the definition in your own words.
- Open the interactive lesson and answer its mini quiz.
- Read the common pitfall, then write a short example that avoids it.
- Check your understanding in the DevOps & Tooling quiz, and revisit the topic if you miss a question.
Frequently asked questions
What is Configuration Management?
Where do people use Configuration Management?
What is the most common mistake with Configuration Management?
What should I learn before this topic?
How can I practice it?
Is Configuration Management hard to learn?
How long does it take to learn Configuration Management?
Which topics are related to Configuration Management?
What should I study after Configuration Management?
Related topics
- Terraform (DevOps & Tooling)
- Monitoring and Alerting (DevOps & Tooling)
- Helm and Kustomize (DevOps & Tooling)
- Logging Pipelines (DevOps & Tooling)
- Manual Memory Management (Languages & Compilers)
- Memory Management (Operating Systems)
- State Management (Web Development)