Skip to content

Glossary: Infrastructure as code & configuration

36 DevOps terms explained: Infrastructure as code & configuration.

Index
36 items

Bootstrap

The first steps that bring a system from nothing to manageable: installing agents, creating the state bucket, setting up the first cluster admin.

Declarative

Describe the end state you want (3 replicas, this bucket exists) and the tool works out the steps. Terraform, Kubernetes manifests and CloudFormation are declarative.

Environment parity

Also dev/prod parity

Keeping dev, staging and production as similar as possible (same versions, same services, same config shape), so what works in one works in the others. A Twelve-Factor principle.

Golden image

A pre-built, hardened machine or container image with the OS, agents and base software already installed, used as the starting point for new instances. Built with Packer or image pipelines.

Imperative

Describe the steps to perform in order (create this, then attach that). Shell scripts and kubectl run/create commands are imperative.

Import

Bringing an existing, manually created resource under IaC management by recording it in state (terraform import or an import block).

Inventory

Ansible's list of managed hosts and groups, with their variables. Static (a file) or dynamic (queried from a cloud).

Module

A reusable package of Terraform resources with inputs (variables) and outputs, e.g. a vpc module used by every environment.

Packer

HashiCorp tool that builds machine images (AMIs, Azure images, VM templates) from a template, so images are reproducible.

Plan and apply

The Terraform workflow: plan compares code with state and real infrastructure and shows what will be created, changed or destroyed; apply carries it out. Review the plan before applying.

Playbook

An Ansible YAML file describing which hosts to target and the ordered tasks (and roles) to run on them.

Provider

A Terraform plugin that talks to one API (aws, azurerm, google, kubernetes, github) and defines the resources you can manage there.

Puppet

Also Chef · Salt

Agent-based configuration management tools: an agent on each server pulls its desired configuration from a central server and enforces it.

Role

A reusable, structured bundle of Ansible tasks, templates, handlers and defaults, e.g. a nginx role.

State lock

A lock taken during plan/apply so two runs can't change the same state at once. A crashed run can leave it stuck; terraform force-unlock releases it.

Templating

Generating config files from a template plus variables: Jinja2 in Ansible, Go templates in Helm, HCL interpolation in Terraform.

Terraform state

Also state file · tfstate

The file where Terraform records which real resources map to which code, with their attributes. Must be stored remotely, locked and protected, as it can contain secrets.

Workspace

In Terraform, separate state files for the same code (e.g. dev and prod). Many teams prefer separate directories per environment instead.

My DevOps Playbook by Angelo John Calleja

New runbook

GitHub not connected

Saving is handled by the site: the GitHub token is stored in Cloudflare, not in your browser. Enter the editor password (the EDITOR_PASSWORD secret) to unlock saving in this browser.

Saving commits to gelogrammer/My_DevOps_Playbook. Create a fine-grained token with access to only this repo andContents: Read and write, then paste it here. It is stored only in this browser.

src/content/docs/…