Ansible
Ansible is an open-source automation tool that simplifies the process of configuring and managing computer systems, making it easier to deploy…
- Ansible Tutorials
Install Vagrant and VirtualBox: Create Local Virtual Machines as Code
Install VirtualBox and Vagrant, write a Vagrantfile for a multi-VM lab with private networking and provisioning, and use the daily commands to manage it.
- Terraform & OpenTofu Tutorials
Regex in Terraform, Ansible and Prometheus: Functions, Filters and Matchers
Use regular expressions in Terraform regex(), regexall() and replace(), in variable validation, in Ansible regex_search and lineinfile, and in Prometheus label matchers.
- Ansible Tutorials
Install Ansible and Write Your First Playbook: Inventory, Modules and Roles
Install Ansible with pipx, define an inventory, run ad hoc commands, write an idempotent playbook with variables, handlers and templates, and organize it in a role.
Configuration and Automation
Ansible
Ansible is an agentless automation tool that configures servers and deploys applications over SSH using YAML playbooks.
- Terraform & OpenTofu Tutorials
Terraform Provisioners and EC2 user_data: When to Use Each (and Alternatives)
How Terraform provisioners (local-exec, remote-exec, file) work, why they are a last resort, and how to use EC2 user_data, cloud-init and Ansible instead.
- AWS Tutorials
How to use Terraform, AWS, and Ansible Together
How to use Terraform to create AWS infrastructure with tags, and Ansible with its dynamic inventory plugin to configure the servers, linked by the tags.
- Ansible Tutorials
How to Install Ansible
How to install the Ansible control node on Ubuntu with apt or pipx, and check that Ansible works.
Operating Systems and Virtualization
SSH
SSH, which stands for Secure Shell, is a cryptographic network protocol that allows for secure communication and data transfer between two computers over an…
- Ansible Best Practices
Ansible Multiple Environment Best Practices
Handling multiple infrastructure environments with Ansible by targeting the environment tag that is included in the mandatory AWS tags
- Ansible Best Practices
Ansible Roles Best Practices
How granular Ansible roles should be: highly reusable by configuration, but pragmatic for stateful applications that are not cloud native.
- Ansible Best Practices
Ansible Playbook Structure Best Practices
Define and apply a company-wide consistent structure for all your Ansible Playbooks that allows for easy understanding and maximum reuse
Configuration and Automation
Ansible Dynamic Inventory
Generate inventory (host and group information) dynamically rather than statically defining it in a static inventory file
Concepts and Practices
IaC
IaC is an approach to managing and provisioning computing infrastructure through machine-readable code and automation, rather than manual processes.
- Kubernetes Tutorials
Kubernetes Cluster using Vagrant and Ansible with Containerd (in 3 minutes)
Tutorial and full source code explaining how to create a Kubernetes cluster with Ansible and Vagrant for local development under 3 minutes.
- AWS Tutorials
AWS VPC, Route 53, RDS MariaDB, EC2 using Ansible and Terraform (1/5)
Tutorial and source code explaining how to provision and configure a VPC, Route 53, RDS MariaDB, Instances and security groups using Ansible and Terraform…