Terraform complete course | Step by Step for Beginners

  Рет қаралды 15,487

Automation Step by Step

Automation Step by Step

Күн бұрын

Timestamps ▬▬▬
00:00 Introduction
03:14 What is IaC
07:56 What is Terraform
11:31 Install Terraform
12:01 How to install Terraform on Windows
20:49 How to install Terraform on Mac OS
39:21 How to install Terraform on Linux
43:25 Create Terraform project
52:16 Create Configuration file e.g. main.tf
52:49 Decide a provider & mention in config file
1:06:41 Run commands terraform init terraform validate
1:13:02 Add infrastructure details in config file, Run terraform fmt
1:22:44 Run terraform init
1:23:34 Run terraform plan
1:28:26 Run terraform apply
1:33:41 Verify terraform show
1:35:50 terraform.tfstate file
1:37:17 Delete terraform destroy
1:41:01 Summary for Terraform basics
1:41:41 Intro to next steps
1:43:04 Terraform Variables variables.tf terraform.tfvars
1:56:39 Terraform Output outputs.tf
2:03:02 Terraform Modules
2:19:26 Manage Environments using folders
2:22:11 Manage Environments using Workspaces
2:35:55 Terraform Project Structure
2:38:31 Summary
Notes - docs.google.com/document/d/e/...
Quiz - forms.gle/qE5HSSckE4WcyuGP9
Terraform Demo Project 1 - github.com/Raghav-Pal/Terrafo...
Terraform Demo Project 2 (workspaces) - github.com/Raghav-Pal/Terrafo...
All Free Tutorials 🟢 AutomationStepByStep.com/
▬▬▬▬▬▬▬
Share with all who may need this
If my work has helped you, consider helping any animal near you, in any way you can
Never Stop Learning
Raghav
▬▬▬

Пікірлер: 55
@sweetydas3508
@sweetydas3508 2 ай бұрын
I have watched many videos, including those on Udemy, but I couldn't get a clear understanding of the concepts anywhere. As a beginner, whenever I watch your videos, I understand everything very well. You explain things in a very simple language and in an excellent manner, which is very beneficial for beginners like me. Dil se shukriya.
@RaghavPal
@RaghavPal 2 ай бұрын
So happy and humbled to read this.. Thanks Sweety
@despahotaru
@despahotaru 9 күн бұрын
Yes! This is probably my fav course I've seen using Terra form. Not too complicated but also not too elementary. Thanks Raghav
@RaghavPal
@RaghavPal 8 күн бұрын
You're most welcome
@jensharbers5620
@jensharbers5620 2 ай бұрын
Bought a course from Udemy and I did not grasp the fundamentals. I found your video about Terraform for free and I got all concepts at the first try. Amazing
@RaghavPal
@RaghavPal 2 ай бұрын
So happy to know it helped Jens.. keep learning
@nikhilmaliyan8384
@nikhilmaliyan8384 2 ай бұрын
Amazing content (up-to-date new automation tools)❤❤
@RaghavPal
@RaghavPal 2 ай бұрын
Glad you like them Nikhil
@SunShinepkg
@SunShinepkg Ай бұрын
Thank you. you are a great teacher.
@RaghavPal
@RaghavPal Ай бұрын
Most welcome
@khatwanik
@khatwanik Ай бұрын
Thank you Raghav!! This is very good tutorial with examples covering key topics including how to organize code and manage environments. This helped me brushing up my Terraform knowledge. It would be great if you can add a couple more chapters on how we can create a private module registry and how those modules can be referenced by multiple teams in their Project. And a tutorial on CICD with popular tools like Azure DevOps and GitHub Actions.
@RaghavPal
@RaghavPal Ай бұрын
Glad it was helpful Kumar.. I will plan to add more on this
@nagavenkataprasad1863
@nagavenkataprasad1863 Ай бұрын
Nice and crispy
@RaghavPal
@RaghavPal Ай бұрын
Thanks a lot Naga
@niharikanaik2973
@niharikanaik2973 29 күн бұрын
Thank You so much for this tutorial
@RaghavPal
@RaghavPal 29 күн бұрын
You're very welcome
@lukealadeen7836
@lukealadeen7836 2 ай бұрын
I'm happy to see this video from you. You make the best DevOps and testing videos on KZbin. Thank you very much for all your work.
@RaghavPal
@RaghavPal 2 ай бұрын
Glad you like them Luke
@SamuelTitinho
@SamuelTitinho Күн бұрын
Thanks much sir for this lesson and for your time. Your voice is clean, the environment is as well very conducive to learn. I got a lil bit confused in the module section. Can you please make an extra video mainly to explain the module section of this great lesson? I will be grateful sir. I just subscribed. So I will be waiting. Chao!!!
@RaghavPal
@RaghavPal Күн бұрын
You're very welcome Samuel.. I will plan on this
@Kumar-ox7jm
@Kumar-ox7jm Ай бұрын
Thank You
@RaghavPal
@RaghavPal Ай бұрын
Most welcome
@alausatunde9101
@alausatunde9101 27 күн бұрын
You have the best lecture in the whole world i must comment ❤. Your video comes with ease and simplicity and filled with lot of knowledge and labs sample. Thanks so much for all you do 🎉🎉🎉🎉. If you have any Aws developer/devOps course thou 😅😅 you could refer us too. We know its gonna be lit ❤❤.
@RaghavPal
@RaghavPal 27 күн бұрын
So nice of you Alausa. You can find all lectures here - automationstepbystep.com/
@vishalparmar94
@vishalparmar94 9 күн бұрын
Thanks
@RaghavPal
@RaghavPal 9 күн бұрын
Most welcome Vishal.. keep learning
@rakeshr2678
@rakeshr2678 Ай бұрын
From Kerala , very informative
@RaghavPal
@RaghavPal Ай бұрын
Thanks and welcome Rakesh
@raghuprasadkonandur-ekashalya
@raghuprasadkonandur-ekashalya 2 ай бұрын
Very Good video on terraform. Glad that you are sharing content and github project. Very useful. Create videos on kubernetes.
@RaghavPal
@RaghavPal 2 ай бұрын
Thank you Raghu, Kubernetes are already present, can check here - automationstepbystep.com/
@latakantsharma3134
@latakantsharma3134 2 ай бұрын
Really looking for this.. there's a request if you could make a tutorial on gke with a project.
@RaghavPal
@RaghavPal 2 ай бұрын
Great to know this Latakant, sure.. I will check
@hoangng16
@hoangng16 22 күн бұрын
Your content is amazing but you might need to reduce the noise a bit, perhaps, using some editing software. I use a default software on MacOS and it works good (just a suggestion) - thank you for the content
@RaghavPal
@RaghavPal 22 күн бұрын
Sure Hoang.. I will check on that
@hoangng16
@hoangng16 22 күн бұрын
@@RaghavPal, May I connect with you on LinkedIn? I just sent a connection request this morning. Thank you!
@RaghavPal
@RaghavPal 21 күн бұрын
ok
@siddachittischitti1478
@siddachittischitti1478 Ай бұрын
Sir, When I entered terraform plan command....it's shows an error that 'no configuration files ' even though I wrote and save the config file. Please provide a solution for this issue.
@RaghavPal
@RaghavPal Ай бұрын
Please check if you are running the command on the same path where you have the configuration file.. can check options here - spacelift.io/blog/terraform-plan
@siddachittischitti1478
@siddachittischitti1478 Ай бұрын
Problem solved sir 👍 and thank you for sharing this complete course for free❤️
@anirbanchatterjee5942
@anirbanchatterjee5942 2 ай бұрын
What is the main purpose of modules? First, I thought it would create inside parent instance, but it creates another one. Could you please explain the point?
@RaghavPal
@RaghavPal 2 ай бұрын
Anirban Let's dive into the purpose of Terraform modules and how they work. 1. What Are Terraform Modules?: - Terraform modules are reusable packages of Terraform configuration code that allow you to break down your infrastructure into smaller, manageable pieces. - Instead of defining everything in a single directory, you can develop components like networking, computing, storage, etc., and combine them together using modules³. - Modules provide a way to organize, share, and reuse Terraform code, making it easier to manage complex infrastructure deployments efficiently². 2. Understanding Modules: - A Terraform module is a collection of standard configuration files (.tf or .tf.json) kept together in a dedicated directory. - Modules encapsulate groups of resources dedicated to one task, such as creating a virtual machine, setting up a database, or configuring a load balancer. - By creating modular components, you can achieve better organization, maintainability, and reusability in your infrastructure code. 3. Module Hierarchy: - Every Terraform configuration has at least one module, known as its root module. The root module consists of the resources defined in the .tf files in the main working directory. - A Terraform module (usually the root module of a configuration) can call other modules to include their resources into the configuration. These called modules are often referred to as child modules. - Child modules can be called multiple times within the same configuration, and multiple configurations can use the same child module¹. 4. Benefits of Using Modules: - Reusability: Modules allow you to create reusable building blocks for different parts of your infrastructure. You can share modules across projects or teams. - Abstraction: Modules abstract away the complexity of resource creation. Users of the module only need to provide input variables, while the module handles the details. - Isolation: Each module operates independently, reducing the risk of unintended side effects when making changes. - Scalability: As your infrastructure grows, modules make it easier to manage and maintain consistent patterns. 5. Creating and Using Modules: - To create a module, organize your Terraform configuration files into a directory structure. - Define input variables (parameters) for the module, which allow users to customize its behavior. - Use these modules in your main configuration by calling them with the `module` block and providing values for the input variables. 6. Example: Let's say you're creating a web application infrastructure. You might have separate modules for: - Networking: VPC, subnets, security groups. - Compute: EC2 instances, load balancers. - Database: RDS instance, backups. By using modules, you can compose your infrastructure by combining these building blocks. In summary, Terraform modules allow you to create reusable, self-contained pieces of infrastructure configurations, making your code more organized and maintainable. They're a powerful tool for managing complex deployments --
@anirbanchatterjee5942
@anirbanchatterjee5942 2 ай бұрын
All clear now. Thank you. Best explanation. Make something new technology concept video like this.
@sshyam1995kumar
@sshyam1995kumar Ай бұрын
Hi sir Im in windows automation for past 1 year due to client project. Overall I've 4 yrs experience in automation (Selenium, Playwright, appium, c sharp, java, api basic level using postman and soapui). What should I focus next please tell? My actual experience is 7 yrs, worked like 3 years in core and then switched to automation tester job. I'm going to be 30 yrs old. Please guide me for my strong carrer path. I like automation testing a lot. Currently due to this windows automation using telerik for 1 year it is like boring for me no growth in skills. I'm now with same Selenium, Playwright, telerik and appium level. What I can learn further please tell sir? Is there any testing for AI or AI based testing tools?
@RaghavPal
@RaghavPal Ай бұрын
Shyam It's great to hear about your experience in automation testing! Given your background, here are some suggestions for your career path: 1. Advanced Test Automation Frameworks: - Dive deeper into creating robust and scalable test automation frameworks. Explore design patterns (like Page Object Model or Screenplay Pattern) and implement them in your projects. - Learn about dependency injection, parallel execution, and reporting tools (such as Allure or Extent Reports). 2. Performance Testing: - Gain expertise in performance testing tools like JMeter or Gatling. Performance testing ensures your applications can handle expected loads and stress. 3. Security Testing: - Explore security testing tools like OWASP ZAP or Burp Suite. Understanding security vulnerabilities and how to prevent them is crucial. 4. API Testing: - Since you have basic knowledge of API testing using Postman and SoapUI, consider diving deeper into RESTful API testing, GraphQL, and API automation. 5. Mobile Testing: - Extend your skills to mobile automation using Appium. Explore cross-platform testing for Android and iOS. 6. AI-Based Testing Tools: - AI testing tools leverage artificial intelligence and machine learning algorithms to automate software testing. They predict and identify bugs, enhance scalability, and improve overall testing efficiency. - Some popular AI-based testing tools include: - Katalon Studio: Offers AI-powered visual testing - Applitools: Provides visual AI test automation - Functionize: Offers self-healing cloud testing - Testim: Focuses on AI-driven test authoring - Mabl: Offers low-code load testing 7. Continuous Learning: - Stay updated with industry trends, attend webinars, read blogs, and participate in relevant communities. Regarding AI testing, it's an exciting field! AI testing tools leverage machine learning to improve test coverage, find hidden defects, and enhance overall quality. They learn from past scenarios and adapt over time. These tools can be a valuable addition to your skill set as the industry continues to evolve
 Keep exploring and enjoy your automation journey --
@sshyam1995kumar
@sshyam1995kumar Ай бұрын
@@RaghavPal thank you sir. I shifted to automation career by watching your videos on automation during lock down. Thank you for your video's.
@vidhyat.p2694
@vidhyat.p2694 Ай бұрын
Hi Sir, Hope you are doing good. Could you make a video on Puppet tooling please
@RaghavPal
@RaghavPal Ай бұрын
Sure.. i will do Vidhya
@vidhyat.p2694
@vidhyat.p2694 Ай бұрын
@@RaghavPal Sir, Is there a provision to ask you questions via email.
@RaghavPal
@RaghavPal Ай бұрын
The best way is to ask here.. you will get faster replies
@SunShinepkg
@SunShinepkg Ай бұрын
My Terraform first code was not working, So i verified my AWS regions ( it was wrong) and Instance ID . FIxed
@RaghavPal
@RaghavPal 29 күн бұрын
Great troubleshooting Philemon.. keep learning
@NgorSeck
@NgorSeck Ай бұрын
Nice vidéo. Thanks a lot. Please, can you update the github link of the second project ?
@RaghavPal
@RaghavPal Ай бұрын
It is in the description
@NgorSeck
@NgorSeck Ай бұрын
the content of the second repository is not up to date
@RaghavPal
@RaghavPal Ай бұрын
I will check on this
Why You NEED To Learn Terraform | Practical Tutorial
27:33
Travis Media
Рет қаралды 107 М.
Docker Crash Course for Absolute Beginners [NEW]
1:07:39
TechWorld with Nana
Рет қаралды 1,6 МЛН
КАК ДУМАЕТЕ КТО ВЫЙГРАЕТ😂
00:29
МЯТНАЯ ФАНТА
Рет қаралды 10 МЛН
Получилось у Миланы?😂
00:13
ХАБИБ
Рет қаралды 4,4 МЛН
لقد سرقت حلوى القطن بشكل خفي لأصنع مصاصة🤫😎
00:33
Cool Tool SHORTS Arabic
Рет қаралды 17 МЛН
Cypress Complete Beginners Masterclass 1 | Step by Step | Raghav Pal |
1:20:54
Automation Step by Step
Рет қаралды 193 М.
12 GREAT command line programs YOU recommended!
16:25
The Linux Experiment
Рет қаралды 245 М.
The cloud is over-engineered and overpriced (no music)
14:39
Tom Delalande
Рет қаралды 521 М.
100+ Linux Things you Need to Know
12:23
Fireship
Рет қаралды 913 М.
Kubernetes Crash Course for Absolute Beginners [NEW]
1:12:04
TechWorld with Nana
Рет қаралды 2,7 МЛН
Terraform Explained
8:44
IBM Technology
Рет қаралды 270 М.
100+ Docker Concepts you Need to Know
8:28
Fireship
Рет қаралды 887 М.
8 Terraform Best Practices that will improve your TF workflow immediately
8:57
Terraform Course - Automate your AWS cloud infrastructure
2:20:58
freeCodeCamp.org
Рет қаралды 1,9 МЛН
Do NOT Learn Kubernetes Without Knowing These Concepts...
13:01
Travis Media
Рет қаралды 258 М.
КАК ДУМАЕТЕ КТО ВЫЙГРАЕТ😂
00:29
МЯТНАЯ ФАНТА
Рет қаралды 10 МЛН