Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Building with Infrastructure as Code - Terraform, Ansible, and Jenkins Hands-On Guide

Linode via YouTube

Overview

Explore a comprehensive hands-on guide to building infrastructure as code using Terraform, Ansible, and Jenkins. Learn how to deploy Jenkins via Linode Marketplace, install and configure Terraform and Ansible, create SSH keys, and use Terraform to build a Linode instance. Follow step-by-step instructions to create Terraform files, variables, and Ansible configurations. Gain practical experience in running Terraform commands, adding builds to Jenkins, and troubleshooting common errors. By the end of this tutorial, you'll have a solid understanding of how to implement infrastructure as code using popular tools in a real-world scenario.

Syllabus

Introduction
Deploy Jenkins via Linode Marketplace
SSH into Linode
Check Jenkins Availability
Access Jenkins via the Web
Create Admin User
Prep to Install Terraform
Add GPG Key to Stores
Add Repo to List
Grab Updates
Install Terraform Packages
Install Ansible
Create SSH Key for Jenkins User
Use Terraform to Build Instance
Create Linode API Token
Create Directory for Terraform Files
Grant jenkins User Access to Directory
Create Linode_Build Directory
Create Terraform File
Create Variables File
Create Apache.yml
Create Ansible.cfg
Run Terraform Init
Run Terraform Plan
Run Terraform Apply
Test Apache on the New Instance
Add Build to Jenkins
Run the Job
Resolve Build Error
Run the Job Again
Test Apache on the New Instance
Conclusion

Taught by

Linode

Reviews

Start your review of Building with Infrastructure as Code - Terraform, Ansible, and Jenkins Hands-On Guide

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.