Ansible
Agentless configuration management and automation: connects over SSH (or WinRM) and runs YAML playbooks of tasks using modules.
36 DevOps terms explained: Infrastructure as code & configuration.
Agentless configuration management and automation: connects over SSH (or WinRM) and runs YAML playbooks of tasks using modules.
Also ARM templates
Azure's declarative IaC language, compiling to ARM (Azure Resource Manager) JSON templates.
The first steps that bring a system from nothing to manageable: installing agents, creating the state bucket, setting up the first cluster admin.
The standard tool that configures a cloud VM on first boot from user data: users, SSH keys, packages, scripts.
AWS's native IaC service: templates in YAML or JSON create stacks of resources. AWS CDK generates it from code.
Keeping the software and settings on servers in a defined state: packages, files, users, services. Tools: Ansible, Puppet, Chef, Salt.
A Kubernetes add-on that lets you manage cloud resources (databases, buckets) as Kubernetes custom resources, reconciled continuously.
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.
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.
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.
Running an operation once or many times gives the same result. Applying an Ansible playbook twice should change nothing the second time; this makes automation safe to re-run.
Servers are never modified after creation. To change anything, build a new image and replace the instances. Removes drift and makes rollbacks predictable.
Describe the steps to perform in order (create this, then attach that). Shell scripts and kubectl run/create commands are imperative.
Bringing an existing, manually created resource under IaC management by recording it in state (terraform import or an import block).
Defining servers, networks, databases and other infrastructure in files that are versioned, reviewed and applied by tools (Terraform, CloudFormation, Pulumi), instead of clicking in a console.
Ansible's list of managed hosts and groups, with their variables. Static (a file) or dynamic (queried from a cloud).
A reusable package of Terraform resources with inputs (variables) and outputs, e.g. a vpc module used by every environment.
Servers are updated in place over time (patches, config changes). Flexible, but servers drift apart and become hard to reproduce.
Also Rego · Gatekeeper
A general-purpose policy engine; policies are written in Rego. Gatekeeper runs it as a Kubernetes admission controller; Conftest runs it on config files in CI.
HashiCorp tool that builds machine images (AMIs, Azure images, VM templates) from a template, so images are reproducible.
Pets are hand-raised servers with names that you nurse back to health; cattle are identical, numbered instances you replace when one is sick. Cloud-native systems treat servers as cattle.
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.
An Ansible YAML file describing which hosts to target and the ordered tasks (and roles) to run on them.
Writing rules (no public buckets, required tags, no privileged pods) as code that is tested and enforced automatically in pipelines or admission controllers. Tools: OPA, Kyverno, Sentinel, Checkov.
A Terraform plugin that talks to one API (aws, azurerm, google, kubernetes, github) and defines the resources you can manage there.
Creating infrastructure resources: VMs, networks, clusters, databases. Usually done with Terraform or a cloud's IaC service.
An IaC tool where you define infrastructure in general-purpose languages (TypeScript, Python, Go) instead of a DSL.
Also Chef · Salt
Agent-based configuration management tools: an agent on each server pulls its desired configuration from a central server and enforces it.
Where Terraform state is kept so a team can share it: S3 (+ DynamoDB or native lock), Azure Storage, GCS, Terraform Cloud.
A reusable, structured bundle of Ansible tasks, templates, handlers and defaults, e.g. a nginx role.
A server configured by hand over time so it is unique and nobody can rebuild it reliably.
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.
Generating config files from a template plus variables: Jinja2 in Ansible, Go templates in Helm, HCL interpolation in Terraform.
Also OpenTofu
HashiCorp's declarative IaC tool. You write HCL, terraform plan shows the changes, terraform apply makes them, and the state file tracks what exists. OpenTofu is the open source fork.
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.
In Terraform, separate state files for the same code (e.g. dev and prod). Many teams prefer separate directories per environment instead.
No terms match.
My DevOps Playbook by Angelo John Calleja