Terraform Explained | Getting started with terraform on AWS and Google Cloud

  Рет қаралды 71,262

Rahul Wagh

Rahul Wagh

Күн бұрын

Getting Started with Terraform | Terraform Exaplained | What is Terraform | Terraform Tutorial | Terraform Tutorial for Beginner |Terraform Demo On AWS | Terraform Demo on Google Cloud Plateform
Terraform is OpenSource infrastructure as a code software tool. With the help of Terraform you can provision infrastructure on cloud platform such AWS(aws.amazon.com/), Google Cloud(cloud.google.com/), Azure(azure.microsoft.com/en-us/), DigitalOcean(www.digitalocean.com/), OpenShift(www.openshift.com/) and many more...cloud provider
Terraform follows the principles of states where you define your Terraform keeping in mind what would the "End State" of your infrastructure would be. You write the terraform configuration files using HashiCorp Configuration Language(HCL). The configuration file consists of resources that we want to provision on cloud platform as well as it also consists of blocks, arguments, and expressions.
If you are a beginner and you want to learn Terraform then you should pay attention to the following features -
1. You can write declarative configuration files for Terraform
2. Terraform helps you to download the cloud dependencies using single command "terraform init"
3. With terraform you can plan and predict changes which you want to apply to your infrastructure
4. It also helps you with dependencies graphing to see the holistic picture of your infrastructure
5. Also you can map real-world resources to your configuration.
In this Terraform tutorial, we are going to see -
1. What is Terraform?
2. Terraform file structure as well as terraform file example
3. What are Terraform command .i.e. - terraform init, terraform plan, terraform apply, terraform destroy
4. How to install terraform
5. We are also going to "Create a terraform file for the demo on Google Cloud platform to provision Virtual Machine"
6. In the second demo we are going to "Create a terraform file for setting up an EC2 instance on AWS"
7. We will also compare the terraform file of Google Cloud vs AWS
▬▬▬▬▬▬ ⭐️ 🕘Timestamps ⭐️ ▬▬▬▬▬▬
0:00 - Intro to Terraform
03:00 - Terraform commands
03:39 - terraform init command
05:18 - terraform plan command
06:36 - terraform apply command
07:34 - what is terraform file
11:33 - Compare terraform file of Google Cloud platform and AWS
13:56 - How to install terraform
▬▬▬▬▬▬ ⭐️ 🕘Timestamps for Demo⭐ ▬▬▬▬▬▬
16:53 - Demo Setup virtual machine on Google Cloud Platform
40:46 - Demo Setup EC2 Instance on AWS
▬▬▬▬▬▬ * Instruction's Guides * ▬▬▬▬▬▬
1. How to install terraform - jhooq.com/install-terrafrom/
2. Setup virtual machine on Google Cloud Platform - jhooq.com/how-to-setup-virtua...
3. Setup EC2 Instance on AWS - jhooq.com/terraform-ec2-insta...
For more details on Terraform here is the official guide - www.terraform.io/docs/
To learn more on DevOps visit - jhooq.com
Disclaimer/Policy: All the content/instructions are solely mine. The source is completely open-source.
Video is copyrighted and can not be re-distributed on any platform.
#devops #terraform #InfrastructureasCode #cloud

Пікірлер: 87
@shubhankardas3353
@shubhankardas3353 2 жыл бұрын
Perfect video all over the youtube. Thank you 😊
@shyamsundardharmarapu6181
@shyamsundardharmarapu6181 Жыл бұрын
This video really really helped me to the core. Thank you very much for the session mate. Thanks a lot!
@RahulWagh
@RahulWagh Жыл бұрын
Glad it helped!
@anjuyeddu5102
@anjuyeddu5102 Жыл бұрын
Thank you so much Rahul. Your demos and explanations are over the top!!!
@RahulWagh
@RahulWagh Жыл бұрын
Glad you like them!
@pradyumnasav3145
@pradyumnasav3145 Жыл бұрын
Thanks a ton Rahul. This is an outstanding tutorial to understand Terraform. Thanks again.
@happylearningtricks
@happylearningtricks Жыл бұрын
what an explanation along with clear documentation...!! - thanks a lot Rahul wonderful and great content in entire youtube
@RahulWagh
@RahulWagh Жыл бұрын
Most welcome!
@shubho5das
@shubho5das 9 күн бұрын
Very useful. Thank You!
@eswarteja7064
@eswarteja7064 2 жыл бұрын
Thank you so much bro. Very very easy to understand for beginner's like me.
@RahulWagh
@RahulWagh 2 жыл бұрын
Glad to hear that
@AshokNikam-fs3ns
@AshokNikam-fs3ns Жыл бұрын
Hi Sir.. Thank you so much for the videos ...
@shakunthalapulugu755
@shakunthalapulugu755 8 ай бұрын
Hi Rahul, thanks for your videos. Can we choose AMI as variable and can it vary depending on some condition?
@hasan135
@hasan135 2 жыл бұрын
Very nice and informative session. Thanks for sharing.
@RahulWagh
@RahulWagh 2 жыл бұрын
Glad you enjoyed it!
@rasheedyusuf4396
@rasheedyusuf4396 Жыл бұрын
Thanks. This excellent.
@saanvisaha2494
@saanvisaha2494 2 ай бұрын
Simply Awesome ..
@sreyaskundurpi1973
@sreyaskundurpi1973 2 жыл бұрын
Hey Rahul. Thank you so much for the detailed explanation in the video. I have a question regarding the 'ami'. I am on windows machine and I am confused which ami to choose from the list on the console. Could you please help?
@RahulWagh
@RahulWagh 2 жыл бұрын
Hi shryas it does not matter which operating system you are running on your laptop or desktop. If you have installed terraform and you want to work on AWS then you can choose any free AMI (Ubuntu, cantos, amazon) because you are going to provision that AMI on aws cloud not on your local laptop or desktop.
@PrashantSingh-ny4bl
@PrashantSingh-ny4bl 7 ай бұрын
I passed terraform certification. Your videos were very helpful. Thank you very much.
@RahulWagh
@RahulWagh 7 ай бұрын
Congratulations 🎊 glad to know!
@krishnamahesh1342
@krishnamahesh1342 Ай бұрын
Thanks @RahulWagh , Very informative seesion.
@RahulWagh
@RahulWagh Ай бұрын
You are welcome
@user-er8iy5dg8b
@user-er8iy5dg8b 9 ай бұрын
Thank you Rahul for your many tutorials.
@RahulWagh
@RahulWagh 9 ай бұрын
You are welcome! For more premium content consider being a member of tiny KZbin channel program🙂
@sajid4087
@sajid4087 Жыл бұрын
So thankful the way of your explanation
@RahulWagh
@RahulWagh Жыл бұрын
You welcome
@gk4976
@gk4976 3 жыл бұрын
Rahul bro Can you please segregate all Kubernetes videos, actually I'm beginners in Kubernetes and your way of explaining is amazing, could you please make Kubernetes playlist videos step by steps
@sathishdarshanala6137
@sathishdarshanala6137 2 жыл бұрын
hi rahul i was getting this error when i was provisioning vpc resource can you please help me with this?
@Ramankumar-zb5bo
@Ramankumar-zb5bo Жыл бұрын
Thank you sir for this video
@RahulWagh
@RahulWagh Жыл бұрын
Most welcome
@syedjohn6745
@syedjohn6745 5 ай бұрын
Hi Rahul, Thank you so much for the detailed way of explanation. I have one query that in general how the Real-time projects use terraform, will they include terraform in CICD Pipeline(Groovy script) or separately use terraform. Majority of the projects what process do they follow
@user-lk3qj9id7k
@user-lk3qj9id7k 5 ай бұрын
Very informative session and clearly explain everything so nice great work.
@RahulWagh
@RahulWagh 5 ай бұрын
You are welcome
@2mahender
@2mahender 2 жыл бұрын
so we cant use for loop for creating resources?
@sharathbabu7616
@sharathbabu7616 Жыл бұрын
Hi, Could you please help me to update the A records in Hosted zone of AWS using terraform
@akshaykadam8233
@akshaykadam8233 11 ай бұрын
if i have not created azure resources using terraform and now team wants me to destroy all resources using terraform. what command i need to execute can i run terraform destroy command directly or i need to first run terraform init, terraform plan, terraform validate and finally terraform destroy? could you please guide me on this?
@GoofyChaiLoverGirl
@GoofyChaiLoverGirl 4 ай бұрын
Informative
@RahulWagh
@RahulWagh 4 ай бұрын
You are welcome
@nikhilnambiar6811
@nikhilnambiar6811 2 жыл бұрын
Very informative session🙏
@RahulWagh
@RahulWagh 2 жыл бұрын
Thanks and welcome
@sriramkotipalli3250
@sriramkotipalli3250 3 жыл бұрын
Perfect..'m here for GCP terraform and after watching im much satisfied..tnks a ton sir...
@RahulWagh
@RahulWagh 3 жыл бұрын
Glad to hear that
@amarnathnachimuthu83
@amarnathnachimuthu83 2 жыл бұрын
Rahul, A good one to start with. Thank you
@RahulWagh
@RahulWagh 2 жыл бұрын
There is complete terraform playlist for you to follow
@RahulWagh
@RahulWagh 9 ай бұрын
Hi Vijay I see you have joined my youtube membership program, i am really glad you join it. Can you share your email id so that i can add you to my Discord group because I like to keep my member in my personal discord group so that i can reply their queries better.
@MyDevOpslearning23
@MyDevOpslearning23 5 ай бұрын
Excellent explaination Sir!!!
@RahulWagh
@RahulWagh 5 ай бұрын
Keep watching
@sadikhussain1128
@sadikhussain1128 Жыл бұрын
😎👌
@naanireddy1
@naanireddy1 7 ай бұрын
Hi, I have an elastic public IP available(I have 5 elastic IP's, in that I have used 4 elastic IP's and one elastic IP is free) in my aws account and I have an existing VPC and Subnet in my aws account. Now I want to create an ec2 instance in the existing subnet, while the ec2 instance is creating I want to attach that available elastic public Ip to the ec2 instance using terraform. Could you please explain how to do that.Thanks in advance.
@Nils_Reel
@Nils_Reel Жыл бұрын
Hello Rahul, This tutorial is realy a nice tutorial to learn from basics to advance. But i am facing some issues as when i am creating EC2 instance from terraform the specific servers are not opening like am not able to connect those servers. Getting connection timed out while tring to connect through putty ir even from aws console not able to lunch those instances. But when manually creating from the AWS i am able to connect those instances. Any suggestions.
@sushantvikas7125
@sushantvikas7125 Жыл бұрын
make sure port 22 is open for connection
@kirankumarkkk7661
@kirankumarkkk7661 Жыл бұрын
Ty.....
@chiranjeevirachapudi4412
@chiranjeevirachapudi4412 2 жыл бұрын
nice video
@RahulWagh
@RahulWagh 2 жыл бұрын
Thanks
@nilavasen8631
@nilavasen8631 Жыл бұрын
Dear Rahul, how are you ? I have started learning TF from your channel. They are really awesome. Can you please suggest how is the job market for TF in India ? Does it worth learning today ? I have been doing the AWS SA training now. So, can I jump into TF after this ? What does I need to learn extra to get into TF jobs here ? Please suggest me !! Thank you 🙂
@RahulWagh
@RahulWagh Жыл бұрын
Only learning terraform is not sufficient enough to crack a job. You need to master at least one programming language java, python... Also try to learn more either AWS, GCloud Most important learn -Ansible and shell scripting
@nilavasen8631
@nilavasen8631 Жыл бұрын
@@RahulWagh ok thanks Rahul.. Let me pick up AWS, TF, ANSIBLE and one of Python / Shell scripting.. Hope that will help me here .
@shivashankarpanyam9477
@shivashankarpanyam9477 2 жыл бұрын
Bro, the session is good and can you make video on Jenkins ECS Fargate with Terraform coding
@RahulWagh
@RahulWagh 2 жыл бұрын
surely i will add it to my list and in coming time you will see it
@naanireddy1
@naanireddy1 7 ай бұрын
I have an vpc and subnet and I have a public IP in aws. I want to create an instance in the existing VPC and existing subnet and ec2 instance have attach my public Ip. Could you please help me on that using terraform.
@RahulWagh
@RahulWagh 7 ай бұрын
You can not attach public ip with existing ec2 instance. You need to create elastic ip and attach it to ec2
@calmworld9880
@calmworld9880 Жыл бұрын
Hi I have got a project to make dashboard using terraform and signalfx. Can you please help and guide with lectures kr courses
@chetanareddy2034
@chetanareddy2034 11 ай бұрын
do you have AZURE with TERRAFORM videos on your channel?
@denzilpeiris492
@denzilpeiris492 5 ай бұрын
Well!! What can I say.I been looking for this too!! I just took a peak view and I foud it is an excellent course from you too. I hope you are covering AWS too?
@RahulWagh
@RahulWagh 5 ай бұрын
Glad it was helpful!
@ShaikhImran-tq8dk
@ShaikhImran-tq8dk Жыл бұрын
very nice
@RahulWagh
@RahulWagh Жыл бұрын
Thanks
@satyashrekanthvemuri2685
@satyashrekanthvemuri2685 Жыл бұрын
Thank you much. if you have azure terrafom. Please
@RahulWagh
@RahulWagh Жыл бұрын
I am planning to add more tutorials on Azure as well google cloud soon
@nainabhartia8481
@nainabhartia8481 Жыл бұрын
Please make complete series on terraform.
@RahulWagh
@RahulWagh Жыл бұрын
There are a lot of similar sessions which I have already uploaded on my channel please refer to those terraform sessions and feel free to drop suggestions on missing topic
@user-uz8nw4gh8m
@user-uz8nw4gh8m 6 ай бұрын
Please explain for windows as well
@devopsjockey
@devopsjockey 11 ай бұрын
Any prerequisite
@shivanshusharma20.07
@shivanshusharma20.07 4 ай бұрын
sir can you cover more topics like taint etc in gcp?
@RahulWagh
@RahulWagh 4 ай бұрын
sure i will try my best
@nagababunalluri5059
@nagababunalluri5059 Жыл бұрын
which is useful video
@RahulWagh
@RahulWagh Жыл бұрын
Thanks a lot
@roya2045
@roya2045 3 жыл бұрын
Hi Bro first of all thanks for this tutorial on terraform great work. was looking from something basic to advance. I am not from a programming or DevOps background hence its bit tough for me. I don't want to divert you but if possible can you make a video on ansible as well I would like to understand the ansible playbook structure its bit confusing with spacings & hypens etc...
@RahulWagh
@RahulWagh 3 жыл бұрын
Its always overwhelming when you start learning programming or devops. But thanks for the suggestions I will definitely add your request for Ansible into my todo list and will prepare something around that as I get more time in my calendar. //Rahul
@roya2045
@roya2045 3 жыл бұрын
@@RahulWagh Sure Rahul looking forward to it & thanks for considering my request. Also looking forward to the 2nd video on this 👍
@PradeepKumar-hb9rs
@PradeepKumar-hb9rs Жыл бұрын
Kindly upload in Hindi with Azure cloud platform
@sathishdarshanala6137
@sathishdarshanala6137 2 жыл бұрын
Terraform-Fundamental-Blocks/03-02-Provider-Block/terraform-manifests (main) $ terraform init ╷ │ Error: Unsupported Terraform Core version │ │ on c1-versions.tf line 3, in terraform: │ 3: required_version = "~> 0.14.6" │ │ This configuration does not support Terraform version 1.1.2. To proceed, │ either choose another supported Terraform version or update this version │ constraint. Version constraints are normally set for good reason, so │ updating the constraint may lead to other errors or unexpected behavior.
@RahulWagh
@RahulWagh 2 жыл бұрын
Check which version of terraform you are using
How to use Terraform import? - Part 22
16:22
Rahul Wagh
Рет қаралды 17 М.
아이스크림으로 체감되는 요즘 물가
00:16
진영민yeongmin
Рет қаралды 60 МЛН
Зачем он туда залез?
00:25
Vlad Samokatchik
Рет қаралды 3,2 МЛН
Alex hid in the closet #shorts
00:14
Mihdens
Рет қаралды 9 МЛН
THEY made a RAINBOW M&M 🤩😳 LeoNata family #shorts
00:49
LeoNata Family
Рет қаралды 42 МЛН
Terraform Explained
8:44
IBM Technology
Рет қаралды 269 М.
OAuth 2.0 & OpenID Connect (OIDC): Technical Overview
16:19
VMware End-User Computing
Рет қаралды 153 М.
What are Terraform Dynamic blocks? - Part 8
11:35
Rahul Wagh
Рет қаралды 20 М.
Exploring the Import Block in Terraform 1.5
23:44
Ned in the Cloud
Рет қаралды 13 М.
How to create terraform modules? - Part 9
18:11
Rahul Wagh
Рет қаралды 56 М.
Terraform for loop, for_each loop and count - Part 6
15:00
Rahul Wagh
Рет қаралды 44 М.
Как распознать поддельный iPhone
0:44
PEREKUPILO
Рет қаралды 2,1 МЛН
Это Xiaomi Su7 Max 🤯 #xiaomi #su7max
1:01
Tynalieff Shorts
Рет қаралды 1,6 МЛН
Худшие кожаные чехлы для iPhone
1:00
Rozetked
Рет қаралды 902 М.