Linux+ Automation: Implement Configuration Management and IaC
In this lab, you’ll practice using Ansible as a configuration management system and Terraform to deploy systems. When you’re finished, you’ll have the skills needed to automate configuration consistency with Ansible, and deploy new systems using Terraform.
Terms and conditions apply.
Lab info
Lab author
Challenge
Get Started in the Lab Environment
Here are the initial instructions and explanation of the lab environment. Read this while your environment is busy creating itself from nothing. Yes, this violates physics; we know. How fun!
Challenge
Up and Running with Ansible
To start the lab, you will check that Ansible is installed, and verify the version number. With Ansible installed, you will create the configuration and inventory to manage your hosts.
Challenge
Use Ansible Ad-Hoc Commands
You will learn to use Ansible Ad-Hoc commands directly from the command line. These are great to use for configurations that do not need to be repeated.
Challenge
Use Ansible Playbooks
Configuration as Code, or as CaC, is a main feature of Ansible. You will learn to create repeatable configurations using Ansible Playbooks.
Challenge
Use Terraform to Deploy Docker Containers
To finish up the directed portion of this lab, you will use Terraform to deploy Docker containers using IaC, Infrastructure as Code. Using different techniques, you will learn to access the container.
Challenge
The Last Challenge
Welcome to the final challenge! This is your last chance to experiment in the environment. Clicking Finish Lab will end this little world that flittered into existence just for you.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.
Recommended prerequisites
- Solid Linux command line skills
- Use nano (vim would likely suffice too)