Jenkins Vault Terraform Ansible and Consul End-to-End CI/CD Pipeline
In this video we go over the entire CI/CD pipeline using #Jenkins, #Vault, #Terraform, #Ansible, and #Consul to deploy our Webblog app. This is our fourth and final video in our series on End-to-End Infrastructure and Application Deployment. We bring together all the concepts discussed in the 3 prior videos. We also dig deeper into the code and configuration in this video.
In the last video, we discussed the Secret Zero Problem and how to solve it with #HashiCorp Vault. It's also referred to as Vault Secure Introduction of Secret Zero. We discussed how to do this using the AppRole authentication method in Vault in addition to the Vault-agent. We discussed and demoed how to securely deliver the secret zero, which is the Vault token, to the Jenkins pipeline and to our application.
If you recall, the goal of this series is to learn best practices around the automation of infrastructure provisioning and application deployment. We cover the concepts of Infrastructure as Code, CI/CD, secrets management, dynamic secrets, and more. Our cloud of choice is Azure for this series.
We cover the following in today's demo:
- Webblog Working
- Update the App and Re-run the Pipeline
- Show the Jenkins build steps
- Terraform Walkthrough
- Ansible Walkthrough
- Vault Dynamic Database Secrets for MongoDB
- Encryption with Vault’s Transit Secrets Engine
- Consul Service Mesh Walkthrough
I've also written a blog post that goes with this video:
Part 4: Jenkins, Vault, Terraform, Ansible, and Consul End-to-End CI/CD Pipeline ► https://tekanaid.com/posts/jenkins-vault-terraform-ansible-and-consul-end-to-end-ci-cd-pipeline/
▬▬▬▬▬▬ T I M E S T A M P S ⏰ ▬▬▬▬▬▬
00:00 - Introduction
02:54 - Agenda
04:24 - Overall Goal
05:48 - Topics To Learn
07:05 - Development Workflow
10:07 - Jenkins Build Stages
12:39 - Demo Steps
13:42 - Demo Starts
14:19 - Update App and Rerun Pipeline
16:01 - Jenkins Build
17:35 - Terraform Walkthrough
28:52 - Ansible Walkthrough
40:34 - Vault Dynamic DB Secrets
42:21 - Vault Encryption as a Service
43:31 - Consul Service Mesh
▬▬▬▬▬ Topics to Learn in this series ▬▬▬▬▬
1. Vault Azure Secrets Engine
2. Packer Images in Azure
3. Terraform Building VMs in Azure based on Packer Images
4. Ansible to Configure an Azure VM
5. Secret Zero Problem and Vault Secure Introduction
6. Vault AppRole
7. Vault Dynamic Database Secrets for MongoDB
8. Vault Transit Secrets Engine
9. Advanced CI/CD Pipeline Workflow using GitHub(VCS), Jenkins(CI/CD), Terraform(IaC), Ansible(Config Mgmt), Vault(Secrets Mgmt)
10. Consul Service Mesh
▬▬▬▬ Some tools used in this series ▬▬▬▬
- HashiCorp Packer
- HashiCorp Terraform
- HashiCorp Vault
- HashiCorp Consul
- Jenkins
- Ansible
- Microsoft Azure
▬▬▬▬▬▬▬▬▬ Courses ? ▬▬▬▬▬▬▬▬
- TeKanAid Academy Subscription ► https://bit.ly/subscription-premium
- Terraform 101 - Certified Terraform Associate ► https://bit.ly/hc-terraform-101
?️ Get 15% off of my Terraform 101 Course with this coupon ► YOUTUBE15TF101
- HashiCorp Vault 101 - Certified Vault Associate ► https://bit.ly/hc-vault101
?️ Get 15% off of my Vault 101 Course with this coupon ► YOUTUBE15VAULT101
- HashiCorp Vault 201 - Vault for Apps in Kubernetes ► https://bit.ly/hc-vault-201
▬▬▬▬▬▬▬▬ Useful Links ? ▬▬▬▬▬▬▬
- Get the code ► https://tekanaid.com/posts/jenkins-vault-terraform-ansible-and-consul-end-to-end-ci-cd-pipelin #code
- Blog Post Part 4: Jenkins, Vault, Terraform, Ansible, and Consul End-to-End CI/CD Pipeline ► https://tekanaid.com/posts/jenkins-vault-terraform-ansible-and-consul-end-to-end-ci-cd-pipeline/
- Video 1 in the Series - HashiCorp Vault Azure Secrets Engine Demo ► https://youtu.be/YGs438aJtZg
- Video 2 in the Series - HashiCorp Packer Terraform and Ansible to Set Up Jenkins ► https://youtu.be/FfPkcdpIhJ4
- Video 3 in the Series - Secret Zero Problem Solved for HashiCorp Vault ► https://youtu.be/5Y-EeH_j47I
- HashiCorp Tools - Webblog App Series ► https://www.youtube.com/playlist?list=PL-7fHWfrqQvFArdedhsKfrgWDRAKpDBF-
- Vault MongoDB Database Secrets Engine ► https://www.vaultproject.io/docs/secrets/databases/mongodb
- Vault Transit Secrets Engine ► https://www.vaultproject.io/docs/secrets/transit
- Consul Service Mesh ► https://learn.hashicorp.com/tutorials/consul/service-mesh
▬▬▬▬▬▬▬▬ Community ? ▬▬▬▬▬▬▬▬▬
- TeKanAid Community Forum ► https://tekanaid.com/community
▬▬▬▬▬▬▬▬ Connect ? ▬▬▬▬▬▬▬▬▬
Website ► https://bit.ly/TeKanAid_Website
Facebook Page ► https://bit.ly/TeKanAid_Facebook
Don't forget to subscribe ► https://bit.ly/TeKanAid_YouTube_Subscribe
MEDIUM ► https://bit.ly/Sam_Medium
TWITTER TeKanAid ► https://bit.ly/TeKanAid_Twitter
TWITTER Sam ► https://bit.ly/Sam_Twitter
LINKEDIN TeKanAid ► https://bit.ly/TeKanAid_LinkedIn
LINKEDIN Sam ► https://bit.ly/Sam_linkedin
Видео Jenkins Vault Terraform Ansible and Consul End-to-End CI/CD Pipeline автора Python: Революционный путь кодирования
Видео Jenkins Vault Terraform Ansible and Consul End-to-End CI/CD Pipeline автора Python: Революционный путь кодирования
Информация
4 декабря 2023 г. 1:31:31
00:56:05
Похожие видео