Concepts / Automation and APIs

Automation and APIs

Configuration management

Also called Ansible, Puppet, Chef, Terraform, HCL, state file, terraform plan, infrastructure as code, IaC, playbook, inventory, Jinja2, template, agentless, push, pull

Writing the wanted configuration down as files and letting a tool make every device match it.

The files say what should be; the tool makes it so
The files say what should be; the tool makes it so

The wanted configuration lives in files, not on the devices. The tool reads them and brings every device to match, the same way on each run.

Configuration management is writing the wanted configuration as files and letting a tool make every device match. Ansible reads an inventory (the devices), variables, templates and playbooks (the tasks), and pushes over SSH with nothing installed on the device. Puppet and Chef run an agent on each device that pulls its config. Terraform shows a plan of every change first. In version control, the files are infrastructure as code.

See it on real machines

Read next

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start this lab