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

preview_player
Показать описание
In this video, @LearnLinuxTV talks through the process of using some of the most used infrastructure as code tools. For this demo, we'll be using Jenkins, Terraform, and Ansible to build and configure a Linode instance.

Chapters:
0:00 Introduction
1:05 Deploy Jenkins via Linode Marketplace
3:35 SSH into Linode
3:55 Check Jenkins Availability
5:00 Access Jenkins via the Web
6:05 Create Admin User
7:30 Prep to Install Terraform
7:50 Add GPG Key to Stores
8:00 Add Repo to List
8:35 Grab Updates
8:50 Install Terraform Packages
9:05 Install Ansible
9:35 Create SSH Key for Jenkins User
11:50 Use Terraform to Build Instance
12:25 Create Linode API Token
15:30 Create Directory for Terraform Files
15:57 Grant jenkins User Access to Directory
16:30 Create Linode_Build Directory
17:05 Create Terraform File
24:53 Create Variables File
32:30 Run Terraform Init
33:20 Run Terraform Plan
34:20 Run Terraform Apply
35:00 Test Apache on the New Instance
35:50 Add Build to Jenkins
39:00 Run the Job
39:25 Resolve Build Error
40:05 Run the Job Again
41:00 Test Apache on the New Instance
41:22 Conclusion

#IaC #Terraform #Ansible #Jenkins
Product: Infrastructure as Code, Terraform, Ansible; @LearnLinuxTV
Рекомендации по теме
Комментарии
Автор

Would be cool to see Terraform, Ansible, and GitHub Actions instead

funkykong
Автор

I am using linode since last 6 months. I recharged 100$ before last month. Unfortunately I lost access to login to my account last week. Until I have 80 dollars in my account. I have tried to contact them many times but no response from them.
can You do anything.

livestream
Автор

I walk away from this with two questions. You mentioned at 37:10 that if Terraform sees an existing instance, it won't make a new one.
1. How to I update an existing instance with new stuff?
2. What do I change to make more instances?

Zerafiall