Learn infrastructure automation with Ansible, prepare AWS EC2 hosts, set up passwordless SSH, manage inventory and ansible.cfg, and install Nginx with ad-hoc commands.
Infrastructure Automation & Ansible
What infrastructure automation is, how Ansible works, why companies use it, and how it differs from Terraform.
AWS EC2 Setup for Ansible
Create Ubuntu EC2 instances for a control node and managed nodes — key pairs, security groups, SSH, and lab checklist.
Ansible Auth, Install & Passwordless SSH
Install Ansible on the control node and configure passwordless SSH to managed EC2 hosts with SSH keys.
Inventory Management
Build static inventories, understand groups and host/group variables, compare static vs dynamic inventory, and verify with ansible-inventory and ping.
ansible.cfg
Create a project-level ansible.cfg so inventory, remote user, and SSH defaults apply automatically.
Ad-Hoc Commands & Nginx Mini Project
Run one-off Ansible modules from the CLI — ping, command, apt, service, setup — and install Nginx on all EC2 managed nodes.