Mastering Terraform & Integrating with Jenkins and Ansible

Learn how to develop, build and deploy terraform scripts using Ansible and Jenkins

4.10 (707 reviews)
Udemy
platform
English
language
Other
category
instructor
5,354
students
5.5 hours
content
Nov 2022
last update
$69.99
regular price

What you will learn

Terraform resources, loops, functions, templates,data sources, variables, outputs and modules.

Automating the deployments of terraform scripts using jenkins devops tool

Setting up ELB, ALB, Auto Scaling, ELB access logs

Deploy lambda functions through terraform

Creating re-usable modules

Setting up Relational Database Service (RDS)

Managing remote state files using S3, Loking state files using dynamodb

Creating networking VPC, private subnets, private subnets, NAT instances and NAT gateways

Managing IAM policies and roles

Use ansible to run terraform scripts

Learn real time use cases with lambda and terraform

Description

  1. Learn and understand fundamental terraform language construct

  2. Managing multiple environments using terraform workspaces

  3. Learn how to deploy lambda functions using terraform.

  4. Automating infrastructure provisioning using terraform and AWS fundamental to advanced, Configuring networking (Route tables, Internet gateways, public subnets, private subnets)

  5. Write Jenkins pipeline code to automate deployments of terraform.

  6. Use Ansible terraform modules to apply terraform changes 

  7. Terraform, resources, loops, functions, variables, outputs, and modules

  8. Terraform, deploy lambda functions, Manage remote state files using S3, Understand terraform fundamental concepts, Create ELB, ALB, and auto-scaling, Set up Route53

  9. Build reusable modules with terraform

  10. Managing manually created resources using terraform import

  11. Learning for_each meta-argument

  12. Manage state files in S3 and enable state lock to prevent concurrent modifications.

  13. Conditionally creating resources

  14. Usage examples for local variables

  15. Using dynamic blocks and making code more dynamic

  16. Provision load balancers are like application load balancers.

  17. working with tfvars and passing inputs dynamically at runtime

  18. Implementing data sources to access data that is present outside of terraform

  19. how to manage and secure sensitive variable

  20. Creating IAM policies & roles and attaching them to EC2

  21. Using terraform splat expressiong

  22. Using terraform for loops

  23. Creating EC2 instance and working with Userdata scripts

  24. Create VPC, Subnets and configure route tables

  25. Creating security groups and managing inbound and outbound rules

  26. Creating and deploying NAT instances and NAT gateways

  27. What is a null resource in terraform

  28. How to prevent RDS deletion using resource lifecycle

Content

Introduction to Terraform

What you will learn in the course
Introduction to Terraform And IAC
Install terraform on Mac
Configure AWS IAM Access Key ID and Secret Access Key
Install Atom and create project workspace
Initialising Terraform Project

Creating Resources and Terraform Fundamentals

Creating First AWS Resource
Terraform Outputs and Interpolations
Terraform Local State File
Terraform Remote State File
Terraform Locking Remoting State Files - Part-1
Terraform Locking Remoting State Files - Part-2
Terraform Variables and tfvars
Terraform Workspaces
Terraform Loops
Terraform Conditions - Create resources conditionally
Terraform local variables

Setting Up Networking For Our Applications

Create Vpc
Create Public Subnet
Create Public Subnet - Continued - Data Sources - cidrsubnet function
Create Public Subnet - Continued - Internet Gateway
Create Public Subnet - Continued - Route Table Creation
Create Public Subnet - Continued - Subnet Association
Create Private Subnet
Enable Subnet Settings Fot Auto Assigning Public Ip
Configure NAT Instance
Configure NAT Instance - Security Group

EC2 Instances, ELB and IAM Roles - InProgress

Launch EC2 In Public Subnet
Launch EC2 In Public Subnet - Userdata Script
Create S3 Bucket
Attach IAM Role to EC2 and Terraform Template
Create Security Groups - Attach to EC2
ELB - With Security Group
EC2 Key Pair

EC2 Auto Scaling

Configure Auto Scaling Group

Route53 For ELB

Configure Route53 For ELB

RDS - Relational Database Service

Create RDS Instance
Create Private Subnet Group for RDS
RDS - Configure Security Group
RDS - Automated Backups And Minor Version Upgrades
RDS Autoscaling Storage

ALB - Application Load Balancer

ALB Create Traget Group
ALB Attach Instances to Traget Group
Crate ALB
ALB - Attach Listners
ALB Access Logs - Create S3 Bucket
ALB Configure S3 Bucket Policy
ALB Access Logs - End

Terraform and Lambda functions

Terraform - Deploy Lambda functions using

Terraform - Build reusable modules

Terraform - Build reusable modules

Jenkins and terraform integration

Installing and Configuring Jenkins
Jenkins - Install terraform plugins
Jenkins - Writing Jenkinsfile
Writing Jenkinsfile - (Adding Terraform to the path)
Create IAM role and Granting access to terraform through Jenkins
Jenkins Pipeline - Terraform init and apply
Jenkins - Create S3 bucket through Jenkins pipeline
Github Webhooks - auto trigger Jenkins job

Integrating Ansible with Terraform

Install Ansible on Jenkins
Ansible Playbook to create S3 bucket to store state file
Write Ansible Playbook to run terraform scripts
Update Jenkinsfile and execute Jenkins job

Screenshots

Mastering Terraform & Integrating with Jenkins and Ansible - Screenshot_01Mastering Terraform & Integrating with Jenkins and Ansible - Screenshot_02Mastering Terraform & Integrating with Jenkins and Ansible - Screenshot_03Mastering Terraform & Integrating with Jenkins and Ansible - Screenshot_04

Reviews

Mohammad
October 27, 2023
The latest changes in Terraform is covered up in the last module. The earlier topics if revisited with latest changes will make sense and more helpful for anyone learning Terraform
Mathew
October 29, 2022
Amazing Tutorial on Terraform. learned a lot !!. Instructor take you thru this Journey, teaching the fundamentals. Thanks. Mathew. K
Alex
October 3, 2022
Bonne explication de certains concepts, mais le cours ressemble plus à un cours de codage plutôt qu'un cours d'explications des concepts
Zidane
September 21, 2022
The teachings are great, very hands on but how does he expect us to have those scripts that he pre-creates before explaining. This takes a lot of time if you were to pause the video everytime in order to code the same script that he should just have provided a link for that. Unless there is a link for the scripts and i don't know... someone please help me .
Luciano
August 3, 2022
This is an AWS course with some terraform scripts. I was trying to learn terraform. There are lots of scripts created that he never explained WHY, but this is the reason someone buys a course. He definitely knows what he is teaching, I just didn't like the format of the course.
Austin
March 22, 2022
I am only half way through this course, but I absolutely love how he goes through the documentation of Terraform. It allows the think outside the box and figure out where to look when working on their own projects.
Himanshu
August 2, 2021
Very well explained and the practical thing we all will need some day. To integrate the Terraform with Ansible and Jenkins
Bullet
July 12, 2021
The course was very helpful for me. Explained in very simple English and good for beginners who want to learn Terraform.
Deepak
February 15, 2021
Useless content . Udemy trick you into buying outdated courses that many cannot refund . Most of the videos doesn't work when following the instruction and the instructor doesn't bother to update them . Totally waste of money
Jeff
January 28, 2021
so for so good. getting started with aws and using terraform. hopefully this will strengthen my limited knowledge
Kotha
January 11, 2021
Really dont understand why you made video in small peices of 1 min and 2 mins and stopping with an abnormal ending ..it quite irritative ..would be really great if its of its original length.
Ian
December 7, 2020
I aint finished it, but so far it exceeds, and its given me quick learn and ability to do stuff I wanted to do. Thank you.
Peter
December 6, 2020
Was a little disappointed only Mac setup was performed. A few steps there was no commentary. So far it feels like not enough explanation has been given for each of the steps I've taken.
Anshuman
November 15, 2020
No step clearely mentioned skipped the pre-requisites. After spending the time got to know that every session has almost same miss.
Christian
October 24, 2020
Course is good. Perhaps, make your code available too on the jenkins-terraform integration and ansible section

Charts

Price

Mastering Terraform & Integrating with Jenkins and Ansible - Price chart

Rating

Mastering Terraform & Integrating with Jenkins and Ansible - Ratings chart

Enrollment distribution

Mastering Terraform & Integrating with Jenkins and Ansible - Distribution chart
2502872
udemy ID
8/10/2019
course created date
5/28/2020
course indexed date
Bot
course submited by