Day-17 |Everything about Terraform |Write Your First Project |Remote Backend |Modules |Interview Q&A

Поділитися
Вставка
  • Опубліковано 28 січ 2023
  • Support my work
    www.buymeacoffee.com/abhishekprd Hi Everyone, Today's class (Day-17) is going to be about Terraform. We learn about most of the Terraform topics such as,
    - Terraform Use-Cases
    - Terraform Life Cycle
    - Write your First Terraform Project
    - Terraform State File
    - Terraform Best practices
    - Terraform Modules
    - Problems with Terraform
    - Terraform Interview Questions
    Telegram channel
    ===============
    t.me/abhishekveeramalla
    About me:
    -----------------
    LinkedIn: / abhishek-veeramalla-77...
    GitHub: github.com/iam-veeramalla
    Medium: / abhishekveeramalla-av
    UA-cam: / @abhishekveeramalla .
    .
    Disclaimer: Unauthorized copying, reproduction, or distribution of this video content, in whole or in part, is strictly prohibited. Any attempt to upload, share, or use this content for commercial or non-commercial purposes without explicit permission from the owner will be subject to legal action. All rights reserved.

КОМЕНТАРІ • 253

  • @sakthipriya7279
    @sakthipriya7279 3 місяці тому +10

    Thanks

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  3 місяці тому +1

      Thanks alot for contributing to the channel ❤️❤️❤️

  • @nasrathullashaik
    @nasrathullashaik 15 днів тому +3

    abhishek is my NEW GURU.....i hope i will get job earlist possible...pray for me guys

  • @amitbadyal7631
    @amitbadyal7631 7 місяців тому +13

    abhishek, i have seen so much videos on devops and its tools. but the clarity i got from your videos is like way ahead. now i will never forgot what i have learnt. it is the best content for devops and cloud on youtube.

  • @smritidn2781
    @smritidn2781 Рік тому +19

    Abhishek, u are an excellent teacher. after listening to your sessions i can't go to any other video tutorials in UA-cam or Udemy or ACloudGuru. U r too good! Thank you so much for this selfless service

  • @amitej8
    @amitej8 Рік тому +3

    Hi Abhi, You are too good. Thanks for making such a wonderful videos for community for free. People charge lot of money. Appreciate your efforts.

  • @Y-RavindraReddy
    @Y-RavindraReddy 8 місяців тому +3

    Hi Abhishek, You are doing a lot of good to our techies with free of cost. Even If we purchase some course outside those will not compete with your teaching. I really appreciate your thought in providing videos for free of cost. Jai Hind.. Jai Bharath.

  • @ramanag5680
    @ramanag5680 Рік тому +1

    awesome way of explanation Abhishek thank you so much.

  • @ranjithchary2620
    @ranjithchary2620 Рік тому +4

    I think it was first video never explain the before .simple way to learn terraform for beginners

  • @abushaji4056
    @abushaji4056 7 місяців тому +1

    u r really great thank you for your work.Everyone one can understand ur class .i think you already got lot of friends bcos of ur excellent work thank you so much.

  • @bhargavarisetty5109
    @bhargavarisetty5109 3 місяці тому

    Abhishek, Your way of explanation is simply awesome. TBH, I got intrest to learn devops only because of your videos and crystal clear explanation

  • @ashwinreddy2866
    @ashwinreddy2866 4 місяці тому

    Thanks Abhishek for clear and crisp explanation! I was gettign error when I used same script but when I googled for the error then there I found a fix by using Hashicorp version 3.47.

  • @user-dd5tc6lb5r
    @user-dd5tc6lb5r Рік тому +3

    great content for freshers and intermediate level.make the video of functions as well

  • @budurusanjeev7649
    @budurusanjeev7649 16 днів тому

    "Although 'thank you' is all I can say, it doesn't seem enough to express my gratitude."

  • @kalyanchanti7408
    @kalyanchanti7408 4 місяці тому

    Hi Abhishek, This is such a nice and clean explanation. I have already learned terraform in some other channel but In your channel I have learned so many real time scenario based use cases.I really loved it.🙌

  • @GouravSingh-vh6mt
    @GouravSingh-vh6mt Рік тому +2

    Awesome video . best teacher award goes to abhishek veeramalla

  • @invincink
    @invincink 26 днів тому

    Happy to be a part of learning with you brother , I loved the way you've explained the terraform and other topics. I have become a fan of your teaching method wish you all the success in life and keep motivating. I have already recommended this channel to some of my friends and will keep doing that for rest of the topics

  • @user-hh4fp6ru8t
    @user-hh4fp6ru8t 7 місяців тому +1

    Abhishek, You are the greatest tutor I have ever seen online. I credit my blog to you as everything Inhave learnt from my DevOps journeu is from you. I have recommended this channel to my friends too as there is a lot to learn from the approach you teach DevOps

  • @jainakash15
    @jainakash15 2 місяці тому +1

    Your work is truly commendable! The videos are concise and offer valuable insights into the subject matter. Your course content is fantastic - short yet comprehensive.

  • @reshmachowdary5883
    @reshmachowdary5883 2 місяці тому

    Awesome explanation Abhishek, really having a good time learning DevOps!!

  • @abhinaysalure
    @abhinaysalure Рік тому +1

    Thank you so much for such a detailed guide on Terraform✅💯

  • @madireddiudaykumar1732
    @madireddiudaykumar1732 Рік тому +1

    Thank you so much for your work...Hope This will continue further...

  • @PaulSmith-bx2fq
    @PaulSmith-bx2fq 2 місяці тому

    Thanks a lot Abhishek :-) . Excellent video. Really helpful.

  • @mira12050
    @mira12050 Рік тому +1

    Thank you for the great work, very clear and you are amazing

  • @SunitaSonawane2007
    @SunitaSonawane2007 Рік тому +1

    Informative Video. Thanks for sharing it.

  • @nallapaneniram766
    @nallapaneniram766 9 місяців тому +1

    thank you. the task is to practice running the terraform scripts that you have in git to learn better.

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  9 місяців тому

      There is also a dedicated terraform playlist on the channel

  • @PrasannaKumar-sv7tz
    @PrasannaKumar-sv7tz Рік тому +1

    Thanks Abhishek . explanation method makes easy to understand. thanks much🤝

  • @prudhvncky32854
    @prudhvncky32854 4 місяці тому

    Thankyou so much Abhishek❤

  • @mikunikentaro3940
    @mikunikentaro3940 24 дні тому

    Thank You Abishek for your valuable time ❤

  • @koteswararaorayi1489
    @koteswararaorayi1489 2 місяці тому +1

    00:06 Today's topic is about Terraform and its various aspects.
    05:39 Advantages of Terraform
    16:50 To use terraform, first initialize the provider and then write the terraform files.
    21:49 Terraform initialization and required providers
    31:50 Terraform requires authentication with the cloud provider CLI before use.
    37:11 Creating output.tf file in terraform
    47:54 Do not store or manipulate terraform state files locally
    52:54 Always store the state file in a centralized location like AWS S3 for better management and avoid conflicts.
    1:03:43 Implementing a remote backend using AWS S3 in Terraform
    1:08:45 State file corruption and manual changes to cloud provider are major challenges with Terraform

  • @AkhileshKM-se3bn
    @AkhileshKM-se3bn 3 місяці тому

    Really good video Thanks Abhishek

  • @bhupendrajaiswal7686
    @bhupendrajaiswal7686 Рік тому +3

    made it to day 17. thanks abhishek for making this awesome course

  • @SareenH
    @SareenH Рік тому +1

    Thanks for your Efforts sir !!
    you are the best teacher Ever !!

  • @ravinaborkar807
    @ravinaborkar807 Рік тому +1

    it is helpful thank you so much.

  • @shaffishaik3852
    @shaffishaik3852 Рік тому +2

    Abhi anna as usual u r morvelous..
    No one explains us the topic as clear as u r...
    Anna if you have a free time then plz a make a video on "wht are the real time errors will come on devops and how to troubleshoot them"

  • @manupriyar8169
    @manupriyar8169 5 місяців тому +1

    Thanks Abhi❤.. really very good.. will try the task given by you .

  • @DG-cd3jb
    @DG-cd3jb Рік тому +1

    Great explanation about terraform. If possible, pls make a complete Terraform session with GCP infrastructure project. Would really helps a lot for beginner. Thanks!

  • @vback4238
    @vback4238 Рік тому +13

    I've been waiting since Thurday like a kid during Christmas.

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  Рік тому +6

      Did u like it ?

    • @vback4238
      @vback4238 Рік тому +2

      @@AbhishekVeeramalla I love it! More and more I can picture myself in a work environment. I like the way you use examples like "they asked you to add a load balancer to the instances". To somebody who's not in IT, it tells me this is the kind of tasks that I might do day to day (which would help in interviews). Please continue to use these day to day scenarios as you teach us the tools. Thanks!!!

  • @shubhamsase4277
    @shubhamsase4277 Рік тому +1

    Amazing explanation...Thank You

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  Рік тому

      Glad it was helpful!
      Awesome. Please share the videos with your friends

  • @harisheoran
    @harisheoran 8 місяців тому +1

    awesome sir, excellant teaching.

  • @user-kk3sw2uv9o
    @user-kk3sw2uv9o 25 днів тому

    I learned a lot of content from this video thanks a lot sir

  • @smritidn2781
    @smritidn2781 Рік тому +4

    Hi Abhishek, can you please make a tutorial on how to implement terraform modules (and reference modules in other modules) with a simple example if you get a chance? Your time and efforts are greatly appreciated.

  • @11111kailash
    @11111kailash 9 місяців тому +1

    Considering any production critical scenario, would we land into updating the state file manually?
    Or it is meant to be only read-only at any cost?

  • @AnilKumar-kt8mv
    @AnilKumar-kt8mv Рік тому +2

    Vachina 3 days gap ni single video to cover chesaru boss, Thanks for the video

  • @schauhan21286
    @schauhan21286 Місяць тому

    great explanation....

  • @shanmugapriya7438
    @shanmugapriya7438 Рік тому +1

    Hello Abhishek, Tons of thanks for this DevOps series. Is this video of Terraform enough to crack interviews?

  • @hemantsharma6829
    @hemantsharma6829 Рік тому +1

    learned a lot i will try to write a blog on hashnode thanks a lot abhishek sir

  • @viswateja708
    @viswateja708 Рік тому +3

    Dear Abhishek, can you please make video on how to setup dev qa stage and prod environments, and what would be the services installed on those environments

  • @abhilashhasankar5768
    @abhilashhasankar5768 2 місяці тому

    Hi Abhishek, great content good learning so far.... one request can you please make a video on what are the possible mistakes/errors which we occured while working on REAL TIME devops tools for example while running an ansible dry run we will get few errors and how did u overcome this errors.. any such videos will help us know in and out of devops on real time basis...

  • @akylamoorthy5347
    @akylamoorthy5347 11 місяців тому

    Hi abhishek thank you for your great work. I have one doubt. In this video where did you installed terraform and aws cli configuration ? Is it in your local machine ?

  • @sahithipraveen3725
    @sahithipraveen3725 Рік тому +1

    Hi Abhishek , video is really helpfull to learn terrafor basics, can you please do a video on terraform functions because this is very much asked in interviews..!!

  • @user-jy6gb3xg7q
    @user-jy6gb3xg7q 8 місяців тому +1

    you're doing a great job sir

  • @reneshmlal2809
    @reneshmlal2809 5 місяців тому

    Thank you❤

  • @YogeshSharma-cs2pq
    @YogeshSharma-cs2pq 11 місяців тому +1

    Hi Sir
    Thanks for your Efforts Sir, can you please share the GIT HUB REPO link which you are used in this video.

  • @HarishKumar-ch5tq
    @HarishKumar-ch5tq 4 місяці тому +1

    Super Excellent video

  • @rameshch4706
    @rameshch4706 Рік тому +1

    Your playlists are really helping me a lot thank you so much anna. Easy and understanding thanks once again.

  • @SindhuM-xb7ud
    @SindhuM-xb7ud Місяць тому

    this session was sooo good

  • @jatin-motwani
    @jatin-motwani Рік тому +1

    Great session ❤

  • @KIRRUthedaredevil
    @KIRRUthedaredevil Рік тому +1

    Thank you so much abhishek for fantastic explanation. As terraform creates multiple ec2 instances, how do we download those keypairs in order to connect to those machines?
    Generally, during the creation of the machines, we would download the keypair but in this case, how do we download those keypairs and use them?

    • @albertjj5980
      @albertjj5980 Рік тому +1

      you should find it in state file

  • @sudheerchoudhary
    @sudheerchoudhary 3 місяці тому +1

    Thank You !!!

  • @pravinkhot3961
    @pravinkhot3961 Рік тому +1

    You are great bro👌

  • @mathewjoseph1348
    @mathewjoseph1348 4 місяці тому +1

    Hi can u make a video with this ideal set up of terraform, just show us a pipeline with s3 + DynamoDB

    • @swally5786
      @swally5786 4 місяці тому

      Yes need help with that, I am brand new to IT space.

  • @saverhub1458
    @saverhub1458 11 місяців тому +1

    wonderfull video

  • @umashanker3244
    @umashanker3244 11 місяців тому

    can you explain the jenkins pipeline for terraform using init validate plan and apply

  • @Zeliebenard639
    @Zeliebenard639 Рік тому +1

    excellent 💯

  • @bhavyabojanapalli7689
    @bhavyabojanapalli7689 Рік тому +1

    Nice explanation

  • @user-yn7vt7tf4i
    @user-yn7vt7tf4i 4 місяці тому

    #Question
    how do we decide the required version of the terraform CLI?
    are there any specific parameters or something?

  • @swally5786
    @swally5786 4 місяці тому

    hi, can please tell me when i create remote state file and create S3 bucket and dynamoDb do i need to create an account for dynamodb?

  • @jasmeenkaur6001
    @jasmeenkaur6001 Рік тому +3

    can you please make a tutorial on how to implement terraform modules (and reference modules in other modules) with a simple example

  • @MDSakib-hz1kh
    @MDSakib-hz1kh 3 місяці тому

    Xoss

  • @Pawan-1858
    @Pawan-1858 2 місяці тому +1

    Thanks!

  • @aditya8sharmaDevOps
    @aditya8sharmaDevOps 5 місяців тому

    Home Work Done!

  • @subash7777
    @subash7777 6 місяців тому +1

    on creating the ec2 instances using terraform where we will get the key pairs that we used to generate when doing the manual creation?

  • @prajjwalagarwal4314
    @prajjwalagarwal4314 Рік тому

    Which video are you referring to for "Terraform interview questions??"

  • @mathewjoseph1348
    @mathewjoseph1348 4 місяці тому

  • @vikky572
    @vikky572 Місяць тому

    Hi Abhishek Thanks a lot for this Knowledge share.
    having a doubt here what if we use multi cloud providers like AWS AZURE , will everything be saved in one state file only ?
    if yes and if we are using s3 remote backend will everything related to azure resource creation details stored in AWS s3 ?

  • @averagebadmin10player
    @averagebadmin10player 10 місяців тому +1

    Again out of the world explanation. But can you give example of module in one line ? I did not got those explained in Video ? That would be of great help if interviewer asked something about that.

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  10 місяців тому +1

      We will cover that in the coming terrafrom zero to hero series

    • @averagebadmin10player
      @averagebadmin10player 10 місяців тому

      @@AbhishekVeeramalla till time we can say for code reusability we use modules right ?

  • @Suraj.4108
    @Suraj.4108 7 місяців тому

    Next to the Downloads, it is followed by git:(argo-all-namespaces) x cd write_your_first_terraform_project.
    I am a bit unsure of how to get git written after Downloads and also 'git:(main)' in the next line. Though I am able to fully follow up with this tutorial but I need help with understanding the denotation. The help I need with this is to make sure to display the current branch of the git I am working with.

    • @gururajvandal906
      @gururajvandal906 7 місяців тому

      did you get the solution bro ? coz i am also dealing with the same problem can anyone anwer please.

  • @gummadinagalaskhmi
    @gummadinagalaskhmi Місяць тому

    Hi Abhishek,
    can anyone please explain whenever we run the local/main.tf the ec2 is getting terminated and creating the new one anything else I missed here.
    If it’s terminate each time by running the local/main.tf it will be problem right..

  • @KoundinyaG-ur4ci
    @KoundinyaG-ur4ci 16 днів тому

    Hi Abhishek,
    Thanks for providing this valuable content.
    These are the some of the issues found while installing the terraform in Linux(Ubuntu Destro).
    1)Able to install the terraform with sudo snap install terraform --classic, but the version is installed is lower than the latest version. When trying to install the updated version, getting gpg error NO_PUBLICKEY_FOUND with AE3B12.....
    if possible can you help me to rectify this issue.
    2) I had a question, what is the difference between the blocking and executing using the DynamoDB and cron jobs.
    3) Please Add Terraform destroy to destroy the infrastructure created using the Terraform.

  • @jishnooskumar9150
    @jishnooskumar9150 6 місяців тому

    Hi sir I have installed my terraform on windows. But I was not able to pass the command terraform init in my local machine

  • @sikhowithsatyam
    @sikhowithsatyam 16 годин тому

    Can you make a simple video on Ansible, i am not confident on that

  • @MitaliKaushik-qh1zr
    @MitaliKaushik-qh1zr 2 місяці тому

    Hi Abhishek.. Thank you for the great video. I just have one doubt, " at 1:04 you said, "append the backend details". I could not understand this part like in which file yo append the backend details and why?

  • @mpn_family
    @mpn_family 5 місяців тому +1

    Congars Abhi Anna 200K Subscriptions.

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  5 місяців тому +1

      Thanks

    • @mpn_family
      @mpn_family 5 місяців тому

      @@AbhishekVeeramalla Anna Meru Hyd Uppal area side vonnaru kada ?

  • @sandeepvemu794
    @sandeepvemu794 11 місяців тому

    Abhishek,If we delete the state file from S3 what will happen?

  • @maheshnagaladinne439
    @maheshnagaladinne439 11 місяців тому

    Hi Abhishek thanks for the free devops classes, able to understand how devops process is. When I'm using commands "init, plan and apply" I'm getting a error "Error aquiring the state lock". As I searched on google and stack overflow, getting answers like there might be another process running. I've checked no other process are running. As error suggests I did a "-lock=false" in the commands, it worked. My doubt is it a good practice to do that?

    • @maheshnagaladinne439
      @maheshnagaladinne439 11 місяців тому

      When the process is executed as you said it needs to create a terraform.tfstate file. I'm not able to see that file as well.

  • @mynameisram6795
    @mynameisram6795 Рік тому

    statefile is created at only one time or either when we are run "terraform" command at every time

  • @cloudarchitect2854
    @cloudarchitect2854 Рік тому +3

    Annaiah, whatever you explained about, making our own DevOps project on "DevOps pe Charcha" wala call was difficult to understand and comprehend. can you please make a video dedicated on this? PLEASE!!!!!!!!!!!!!!!!!!!!!!!!!!! I am on that call. Na per - Satish Sutar

  • @m.harshareddy7676
    @m.harshareddy7676 Рік тому +1

    Hi Abhishek
    How you have shorten the directory path in the terminal whenever you're trying to switch the directory its displaying only short path?
    Could you please explain how you're managing the short path
    Timestamp: 31.25

  • @VijethKalavarkar
    @VijethKalavarkar Місяць тому

    Hi sir, i cant able to push large file to github ... What to do .. i have even tried installing lfs but also not working.. please help

  • @sanyam_sm
    @sanyam_sm Місяць тому

    Hii, your videos are very nice. But this one is not for beginner friendly you have not shown many things just said I have shown how to create s3 or remote but not explained what is written, meaning. As a beginner this is very tough to understand please explain in detail.

  • @user-hs3np5lm2y
    @user-hs3np5lm2y 7 місяців тому

    Which certificate is best for beginner level in terraform

  • @gorideandflywithanand6237
    @gorideandflywithanand6237 Рік тому

    Great video..I have one question. how to rollback to previous state in terraform. How to undo the changes in terraform? Please guide me

    • @RakeshShivayyaGuttedar
      @RakeshShivayyaGuttedar 9 місяців тому

      I think Terraform State is immutable. AFAIK, you will not not be able to roll back. Somebody canelaborate or can add more details here.

  • @rajeshpandi5466
    @rajeshpandi5466 3 місяці тому

    Hi @abishek . Thanks for your sharing . I would like to know one thing . In git while pushing the file from local repo to remote repo ,we used to mention the file name which beeds to be pushed from local to remote using below commands
    git init
    git add filename or .(Add all files)
    git commit
    git push origin branch
    But in terra form ,in our scenario we have the file called master.tf which us having the scripts to create the EC2 instance . But if we have multiple terrraform files like first file will create the ec2 instance and the another one will create the s3 resource . How can we trigger only the second terra form file
    Below cli commands will pick up all the terraform files from local ?
    terraform init
    terraform plan
    terraform apply

    • @Jayant_k89
      @Jayant_k89 Місяць тому

      hey did you pushed it into git bcoz i am not able to push???

  • @adarshjha__1
    @adarshjha__1 10 місяців тому +2

    Day-17 Done ✅️

  • @franchescototti8283
    @franchescototti8283 2 місяці тому

    how can i download that file? the slides? thank you!

  • @rohanrustagi7857
    @rohanrustagi7857 Рік тому +1

    sir is it a good practice to make a seperate file for terraform block too which has provider info??

  • @rajansingh6242
    @rajansingh6242 Рік тому +1

    How is state locking handled in Azure storage containers?

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  Рік тому

      Azure storage blob lease mechanism.
      medium.com/developingnodes/how-to-manage-terraform-state-in-azure-blob-storage-870a80917450

  • @ajjum6121
    @ajjum6121 Рік тому +1

    Hey Abhishek,to create a new instance do we have to delete tfstate file?

  • @meenakshiannapureddy6301
    @meenakshiannapureddy6301 4 місяці тому +1

    can anyone explain about AMI ID written in terraform file,How did we declare it? from where we can check it?

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  4 місяці тому

      You will learn about that in aws series once u complete devops zero to hero

  • @ranineogadhikary5652
    @ranineogadhikary5652 11 місяців тому

    Hi. After creating an EC2 instance on AWS with terraform is it possible to SSH from that instance? I was successfull while creating the instance but while tried to connect to SSH, the error message says YOU DIDINT HAVE KEY PAIR WITH THIS INSTANCE. Please response. Thanks a lot.

    • @kallappaunakal4817
      @kallappaunakal4817 4 місяці тому

      you have to add the key during write code , which is alredy dowloaded in your local system