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

Поделиться
HTML-код
  • Опубликовано: 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
    RUclips: / @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.

Комментарии • 250

  • @sakthipriya7279
    @sakthipriya7279 2 месяца назад +8

    Thanks

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  2 месяца назад +1

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

  • @nasrathullashaik
    @nasrathullashaik 7 дней назад +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.

  • @ramanag5680
    @ramanag5680 Год назад +1

    awesome way of explanation Abhishek thank you so much.

  • @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.

  • @abushaji4056
    @abushaji4056 6 месяцев назад +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.

  • @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.

  • @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

  • @smritidn2781
    @smritidn2781 Год назад +19

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

  • @ranjithchary2620
    @ranjithchary2620 Год назад +4

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

  • @GouravSingh-vh6mt
    @GouravSingh-vh6mt Год назад +2

    Awesome video . best teacher award goes to abhishek veeramalla

  • @SareenH
    @SareenH Год назад +1

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

  • @prudhvncky32854
    @prudhvncky32854 4 месяца назад

    Thankyou so much Abhishek❤

  • @mira12050
    @mira12050 Год назад +1

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

  • @abhinaysalure
    @abhinaysalure Год назад +1

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

  • @reshmachowdary5883
    @reshmachowdary5883 2 месяца назад

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

  • @PrasannaKumar-sv7tz
    @PrasannaKumar-sv7tz Год назад +1

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

  • @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.🙌

  • @ravinaborkar807
    @ravinaborkar807 Год назад +1

    it is helpful thank you so much.

  • @madireddiudaykumar1732
    @madireddiudaykumar1732 Год назад +1

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

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  Год назад

      Yes it will
      Awesome. Please share the videos with your friends

  • @PaulSmith-bx2fq
    @PaulSmith-bx2fq 2 месяца назад

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

  • @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

  • @SunitaSonawane2007
    @SunitaSonawane2007 Год назад +1

    Informative Video. Thanks for sharing it.

  • @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.

  • @mikunikentaro3940
    @mikunikentaro3940 15 дней назад

    Thank You Abishek for your valuable time ❤

  • @invincink
    @invincink 18 дней назад

    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

  • @shubhamsase4277
    @shubhamsase4277 Год назад +1

    Amazing explanation...Thank You

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  Год назад

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

  • @AkhileshKM-se3bn
    @AkhileshKM-se3bn 3 месяца назад

    Really good video Thanks Abhishek

  • @manupriyar8169
    @manupriyar8169 5 месяцев назад +1

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

  • @harisheoran
    @harisheoran 8 месяцев назад +1

    awesome sir, excellant teaching.

  • @user-kk3sw2uv9o
    @user-kk3sw2uv9o 17 дней назад

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

  • @nallapaneniram766
    @nallapaneniram766 8 месяцев назад +1

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

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  8 месяцев назад

      There is also a dedicated terraform playlist on the channel

  • @budurusanjeev7649
    @budurusanjeev7649 7 дней назад

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

  • @user-jy6gb3xg7q
    @user-jy6gb3xg7q 7 месяцев назад +1

    you're doing a great job sir

  • @schauhan21286
    @schauhan21286 Месяц назад

    great explanation....

  • @AnilKumar-kt8mv
    @AnilKumar-kt8mv Год назад +2

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

  • @jatin-motwani
    @jatin-motwani Год назад +1

    Great session ❤

  • @bhupendrajaiswal7686
    @bhupendrajaiswal7686 Год назад +3

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

  • @HarishKumar-ch5tq
    @HarishKumar-ch5tq 4 месяца назад +1

    Super Excellent video

  • @reneshmlal2809
    @reneshmlal2809 5 месяцев назад

    Thank you❤

  • @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!!!

  • @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"

  • @sudheerchoudhary
    @sudheerchoudhary 2 месяца назад +1

    Thank You !!!

  • @pravinkhot3961
    @pravinkhot3961 Год назад +1

    You are great bro👌

  • @Zeliebenard639
    @Zeliebenard639 Год назад +1

    excellent 💯

  • @SindhuM-xb7ud
    @SindhuM-xb7ud Месяц назад

    this session was sooo good

  • @hemantsharma6829
    @hemantsharma6829 Год назад +1

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

  • @bhavyabojanapalli7689
    @bhavyabojanapalli7689 Год назад +1

    Nice explanation

  • @Pawan-1858
    @Pawan-1858 2 месяца назад +1

    Thanks!

  • @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!

  • @saverhub1458
    @saverhub1458 11 месяцев назад +1

    wonderfull video

  • @rameshch4706
    @rameshch4706 Год назад +1

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

  • @aditya8sharmaDevOps
    @aditya8sharmaDevOps 4 месяца назад

    Home Work Done!

  • @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.

  • @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

  • @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..!!

  • @adarshjha__1
    @adarshjha__1 10 месяцев назад +2

    Day-17 Done ✅️

  • @abhilashhasankar5768
    @abhilashhasankar5768 Месяц назад

    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...

  • @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 ?

  • @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?

  • @MDSakib-hz1kh
    @MDSakib-hz1kh 3 месяца назад

    Xoss

  • @shanmugapriya7438
    @shanmugapriya7438 Год назад +1

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

  • @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 ?

  • @YogeshSharma-cs2pq
    @YogeshSharma-cs2pq 10 месяцев назад +1

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

  • @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

  • @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.

  • @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 ?

  • @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

  • @mathewjoseph1348
    @mathewjoseph1348 4 месяца назад

  • @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 11 месяцев назад +1

      you should find it in state file

  • @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?

  • @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?

  • @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 ?

  • @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?

  • @bhavyabojanapalli7689
    @bhavyabojanapalli7689 Год назад +1

    First view ❤

  • @user-yn7vt7tf4i
    @user-yn7vt7tf4i 4 месяца назад

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

  • @umashanker3244
    @umashanker3244 11 месяцев назад

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

  • @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

  • @gummadinagalaskhmi
    @gummadinagalaskhmi 23 дня назад

    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..

  • @zaffer2024
    @zaffer2024 Год назад +1

    can you please make more vidoes on terraform or (terraform playlist)

  • @KoundinyaG-ur4ci
    @KoundinyaG-ur4ci 8 дней назад

    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.

  • @ajjum6121
    @ajjum6121 Год назад +1

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

  • @rohanrustagi7857
    @rohanrustagi7857 Год назад +1

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

  • @Learn_IT_with_Azizul
    @Learn_IT_with_Azizul Год назад

    AWESOME ! But, plz deliver words just a bit slower then we the audience could grab your lessons perfectly quicker..!! Thank You

    • @srivsriv4217
      @srivsriv4217 11 месяцев назад

      Use RUclips playback speed option as you require

  • @maheshnagaladinne439
    @maheshnagaladinne439 10 месяцев назад

    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 10 месяцев назад

      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.

  • @nishanisha1266
    @nishanisha1266 9 месяцев назад

    Hi Abhishek if we isolate and store the tfstate file for each environment on S3 that doesn't increase the cost?

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  9 месяцев назад

      Not much .. we did that example in terraform zero to hero workspaces episode. You can watch that, you might like it.

  • @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

  • @sudheer0357
    @sudheer0357 4 месяца назад

    abhi anna,
    statefile ni maniplation prevented, but what if we modify the resources in the cloud, does terraform identify those changes, if yes, let me know the any resources like blog or docs of that topic

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  4 месяца назад

      Terraform cannot autoheal your cloud infrastructure drift

  • @pittavarun1647
    @pittavarun1647 Год назад +1

    Hi bro, I have question that, if we create a ec2 instance in linux in aws for free subscription account, if we use that instance to use it for terraform and kubernetes, will that be charged?

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  Год назад +1

      Hi Varun. If you are using with in the limits
      1. 750 hrs for all Linux EC2 instances per all month.
      2. Don't attach additional EBS volumes

    • @pittavarun1647
      @pittavarun1647 Год назад

      @@AbhishekVeeramalla sorry anna, ardam kaaledu

  • @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 8 месяцев назад

      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 25 дней назад

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

  • @sandeepvemu794
    @sandeepvemu794 10 месяцев назад

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

  • @mynameisram6795
    @mynameisram6795 Год назад

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

  • @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.

  • @prajjwalagarwal4314
    @prajjwalagarwal4314 Год назад

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

  • @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

  • @rohitgaikwad2848
    @rohitgaikwad2848 Год назад +1

    Abhishek sir where we store the AWS access & secret key ....in git repository or local machine

    • @AbhishekVeeramalla
      @AbhishekVeeramalla  Год назад +1

      U can store in any secure 🔐 apps or git secrets if you need them in pipelines .. Ensure you don't compromise the secrets

    • @tharun4767
      @tharun4767 Год назад

      @@AbhishekVeeramalla can we use hashi corp vault for this?

  • @user-hs3np5lm2y
    @user-hs3np5lm2y 7 месяцев назад

    Which certificate is best for beginner level in terraform