Тёмный

Day 3 : Understanding Providers and Resources in Terraform with Hands On tutorial 

Cloud Champ
Подписаться 114 тыс.
Просмотров 13 тыс.
50% 1

What is Provider in terraform | Providers and Resources block in Terraform | Terraform Resource
In this Day 3 Terraform Tutorial for beginners we will learn what is Provider Block, How to use and install Provider in terraform code, creating Resource in Terraform with Hands on Project, also how to use alias in Terraform providers and more.
In this hands on Terraform video we learn how to create ec2 instance resource in aws using Terraform and also how to create Github repository using Terraform.
Terraform Providers list: registry.terraform.io/browse/...
Terraform Provider Official Documentation: developer.hashicorp.com/terra...
Github Link: github.com/N4si/terraform_bas...
Connect with me on LinkedIn: / nasiullha-chaudhari
What are providers in terraform?
1. Providers: Providers in Terraform are plugins that interface with different infrastructure platforms. They allow you to define and manage resources within those platforms using Terraform. You can configure providers in your Terraform code to specify the authentication details, regions, and other settings specific to the platform you are working with.
What are Resources in Terraform?
1. Resources: Resources in Terraform represent the infrastructure objects you want to manage. They are defined using resource blocks and specify the desired state of the resource and its configuration. Each resource type has its own set of attributes that define the properties, settings, and relationships of the resource. When you apply your Terraform configuration, Terraform compares the desired state with the current state of the resources and takes actions to create, update, or delete resources as needed.
By understanding providers and resources, you can effectively leverage Terraform to provision and manage infrastructure resources across different platforms, following the infrastructure as code approach.
After watching this video you will learn Providers properly and be able to create Resources in different cloud Providers
Timestamp:
Intro 0:00
What is Provider 01:08
Defining AWS Provider 01:38
Creating AWS EC2 instance using Terraform 07:20
Defining Github Provider 12:55
Creating token for Github 13:23
Creating Github Repository using Terraform 14:53
Terraform Provider alias 17:10
Hands on Challenge 18:57
Learn Providers in Terraform and how to create Resources in Terraform through this video. Terraform provider blocks are defined to select the providers and get API access, you can also define terraform provider version and install them using init command after you have declared them in terraform code.
Checkout the following Links
Terraform Complete Playlist: • Terraform Full Course:...
How to create EC2 using Terraform: • How to create Amazon E...
How to create Security groups using Terraform: • How to Create AWS Secu...
How I passed my Terraform Certification: • How I passed my Hashic...
How I earn Money as a DevOps Freelancer: • How I make money remot...
Day 1: Terraform 101: • Day 1 : Terraform exp...
Day 2: Master Terraform syntax: • Day 2: Master HCL synt...
Learn Terraform in just 60 mins: • Master Terraform in 60...
Cloudchamp is your favourite RU-vid channel to learn Devops and cloud. The motive of this channel is to help people learn Devops tools and technologies along with sharing my learnings on Terraform, Ansible, AWS, other DevOps tools and Freelancing.

Опубликовано:

 

2 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 70   
@supriyochatterjee4095
@supriyochatterjee4095 Год назад
Excellent information, concepts are so well explained, keep making more and more videos on all kinds of scenarios for AWS and Terraform Architecture
@cloudchamp
@cloudchamp Год назад
So glad to find out that my contribution is helping the community 😀 Thank you 🙏
@ronitgandhi7716
@ronitgandhi7716 Год назад
Really good content. I regret not finding your channel when i started devops/cloud learning 2 months back. But I am really glad my friend gave me a link of your vid. And really as per your teaching its clearly visible that you have a great knowledge in cloud and very good passion for educating community. Keep up the good content!❤️
@cloudchamp
@cloudchamp Год назад
Great to hear Ronit! Thanks for all the support mikey 🤝
@chandangowda6935
@chandangowda6935 11 месяцев назад
Yesterday I wans not knowing how to use terraform, today i created repo using terraform. Many thanks to you brother for making such a wonderful video
@cloudchamp
@cloudchamp 11 месяцев назад
You are welcome 🤗
@mahalingamp2450
@mahalingamp2450 Год назад
Expected this yesterday,anyhow you made it today,Thanks for your effort bro
@cloudchamp
@cloudchamp Год назад
Sorry for the delay I stayed up late to complete this 💯
@viral_shortsviralshorts
@viral_shortsviralshorts Год назад
You teach things so easily ❤
@cloudchamp
@cloudchamp Год назад
Thank you!! Means a lot!!
@workwithmayuresh
@workwithmayuresh 10 месяцев назад
@CloudChamp - That was Awesome and Crisp bro ! Loved it ❤
@cloudchamp
@cloudchamp 10 месяцев назад
Thank you Mayuresh 😊
@abigailsackey1800
@abigailsackey1800 10 месяцев назад
Great tutorial! 👍
@cloudchamp
@cloudchamp 10 месяцев назад
Glad you liked it!
@saiprasad7879
@saiprasad7879 Год назад
Thanks a lot eager to learn more ....
@cloudchamp
@cloudchamp Год назад
Most welcome Sai! 😃 Do share and support
@elarsaks9476
@elarsaks9476 7 месяцев назад
Great videos!
@cloudchamp
@cloudchamp 7 месяцев назад
Glad you like them!
@guillaumekobina6195
@guillaumekobina6195 Месяц назад
you are the best
@cloudchamp
@cloudchamp Месяц назад
Thanks ☺️
@mazensayyed3489
@mazensayyed3489 Год назад
Excellent bro...
@cloudchamp
@cloudchamp Год назад
Thanks mazen
@manishalankala1622
@manishalankala1622 Год назад
Multiple provider blocks example may be next video
@krakesh2003in
@krakesh2003in 11 месяцев назад
Excellent Bro 👍
@cloudchamp
@cloudchamp 11 месяцев назад
Thanks 🙏
@gamingchamp3070
@gamingchamp3070 Год назад
Amazing video
@cloudchamp
@cloudchamp Год назад
Thanks for the visit
@shaktirajsinhzala4588
@shaktirajsinhzala4588 Год назад
Yes, please provide video on how to connect aws with terraform.
@cloudchamp
@cloudchamp Год назад
Sure noted will create a video on that
@shaktirajsinhzala4588
@shaktirajsinhzala4588 Год назад
@@cloudchamp Thank you in advance, Currently I'm a software engineer intern, and as part of one of my development project got to know about terraform. And now want to learn technologies and want to become a devops person :)
@faizullahpathan2396
@faizullahpathan2396 Год назад
Good 👍
@cloudchamp
@cloudchamp Год назад
Thank you Bhai 😀
@vyshnavijetti6082
@vyshnavijetti6082 7 месяцев назад
It’s a very interesting video. I enjoyed it. But I have every time when we trying to create ec2 instance if we need get ami . It gonna waste a lot of time though..?
@vinothangam1
@vinothangam1 7 месяцев назад
hi how to connect aws to cli that you are using. Thanks for the effort!
@ARainWhisper
@ARainWhisper Год назад
Thanks for sharing. Is it possible to store the Terraform configuration files in S3 bucket via local-exec or backend configuration? What is the best practice?
@cloudchamp
@cloudchamp Год назад
We can store the terraform state file on S3 using backend the code is or the configuration is usually stored on GitHub 👍🏻
@powerplusgaming6176
@powerplusgaming6176 3 месяца назад
when we create another instance using alias, the another region's instance AMI would be different right....then how the instance in other region created?
@PoonamSharma0623
@PoonamSharma0623 3 месяца назад
Can you make video on mac terraform setup for beginners. plz it would be helpful.
@strangemate
@strangemate 3 дня назад
buddy, how does terraform provider in .tf aws knows that it has to pick the access and secret key after you fired the "aws configure" command in this command prompt? whats the connectivity?
@Salma-Sadiq
@Salma-Sadiq Год назад
Providing training
@rex-dj5cu
@rex-dj5cu Год назад
When we write terraform plan then it goes to AWS cloud and check resources and then create state file?
@cloudchamp
@cloudchamp Год назад
When you run terraform plan, Terraform first checks the state file to determine the current state of resources, then it compares that with the desired state defined in your configuration, generating a plan to achieve the desired state without making actual changes to the AWS account.
@nilavasen8631
@nilavasen8631 Год назад
Hello, very nice explanation. Can you please tell me how is the job market today of Terraform in India? Can I crack a job by only learning TF and git ?
@cloudchamp
@cloudchamp Год назад
Terraform is important but you cannot get job by just learning Terraform and git. You need other things too
@gauravsinghjethuri5405
@gauravsinghjethuri5405 Год назад
If you raise this series to the advance level only then it will help the folks. Because beginner stuff is a lot on youtube.
@cloudchamp
@cloudchamp Год назад
Sure will cover advance topics too, basic to advance
@amdtoon
@amdtoon Год назад
Does terraform provision resources or attributes in any particular order? Or it's all at once?
@cloudchamp
@cloudchamp Год назад
No particular order as such. But Terraform creates 10 resources parallely at a time but you can change the order using a depends_on argument which we will learn later 👍🏻
@gabrielvidovic8491
@gabrielvidovic8491 Год назад
Bro, How many videos do you plan to complete this course?
@cloudchamp
@cloudchamp Год назад
7-8 videos
@ramrushendra9140
@ramrushendra9140 11 месяцев назад
i see you applies tags but how come the name got created as helloworld,where i am not able to create it .when i create an instance in tags i see name="given name by me" but how come you got the name over there ?
@ramrushendra9140
@ramrushendra9140 11 месяцев назад
Never Mind i used name instead of Name in tags block
@deva_2022
@deva_2022 11 месяцев назад
Nice teaching bro , after ec2 creation unable to login, network error. Why it happenz ?
@cloudchamp
@cloudchamp 11 месяцев назад
Check security group
@gymvideos2809
@gymvideos2809 Год назад
can u explain about how to install tomcat in server, I'm beginner.
@cloudchamp
@cloudchamp Год назад
What operating system are you using?
@premierde
@premierde 3 месяца назад
Where can I watch your Terraform Template templatefile function tutorial👨‍🏫📓
@aravindhan1367
@aravindhan1367 10 месяцев назад
How to connect with AWS Configure brother?
@cloudchamp
@cloudchamp 10 месяцев назад
Have a separate video explaining exactly that check the playlist bro
@ashwinichivate3905
@ashwinichivate3905 Год назад
Provide video how to connect terraform with AWS.
@cloudchamp
@cloudchamp Год назад
Sure 💯
@datascience4336
@datascience4336 3 месяца назад
I saw ur Day 2 video and same in Day 3 you are doing the same mistake . You are just not give the right path as ur not doing here. nither u are telling to install terafform , nither showing us hoe to create access and secrte key
@marianodangelo8220
@marianodangelo8220 3 месяца назад
You should create an Udemy course
@cloudchamp
@cloudchamp 3 месяца назад
I should?
@rohitm958
@rohitm958 11 месяцев назад
bro please go slow bit, its too fast to conceptualize, even though ur teaching is sound due to your speed its hard to generalize the concepts.
@cloudchamp
@cloudchamp 11 месяцев назад
Noted
@looksmatteronly
@looksmatteronly Год назад
How long it takes to realistically be comfortable with DevOps?
@cloudchamp
@cloudchamp Год назад
6 months to 1 year atleast
@looksmatteronly
@looksmatteronly Год назад
@@cloudchamp how long you've been studying it a day?
Далее
Day 4 : Terraform Variables and Outputs Tutorial
22:56
UNO!
00:18
Просмотров 1,6 млн
The only Cloud services you actually need to know
17:17
Important AWS services for DevOps you need to know!
13:01
Why The Windows Phone Failed
24:08
Просмотров 56 тыс.
Terraform Remote State Backend using S3 and DynamoDB
15:33
What Does a Cloud Engineer ACTUALLY Do?
11:05
Просмотров 110 тыс.