Why You NEED To Learn Terraform | Practical Tutorial

Sdílet
Vložit
  • čas přidán 13. 06. 2024
  • Whether you are a DevOps Engineer, Site Reliability Engineer, Cloud Engineer, or a Developer, yes Developer, you need to learn Terraform asap. More and more job listings are mentioning it as a requirement. Most list Infrastructure as Code, and sometimes other options like CloudFormation or Pulumi, but almost always Terraform.
    In this video, we'll talk about what Infrastructure as Code is, what Terraform is, some benefits, and finally a practical tutorial to get you up to speed so you can embrace the technology yourself.
    Timestamps
    0:00 - Intro
    0:29 - Why You NEED To Learn Terraform
    2:19 - What is Infrastructure as Code?
    3:01 - What is Terraform?
    4:07 - 8 Benefits of Terraform
    7:40 - Terraform Tutorial Hands-On
    22:57 - Realistic Example of Terraform Usage
    Terraform Course Suggestions
    Learn Terraform Certification - geni.us/W6H5x
    Terraform Associate 2023 - geni.us/BiZoMl9
    ** My Coding Blueprints **
    Learn to Code Web Developer Blueprint - geni.us/HoswN2
    AWS/Python Blueprint - geni.us/yGlFaRe
    ** I write regularly **
    travis.media
    ** FREE EBOOKS **
    📘 travis.media/ebooks
    LET'S CONNECT!
    📰 LinkedIn ➔ / travisdot. .
    🐦 Twitter ➔ / travisdotmedia​
    🙋🏼‍♂️ Website ➔ travis.media
    #devops #devopstutorialsforbeginners #devopsfastrack
    ** Some of the links in this description may be affiliate links that I may get a little cut of. Thank you.
  • Věda a technologie

Komentáře • 109

  • @kicknotes
    @kicknotes Před 10 měsíci +33

    I really like your teaching style. No slide decks, no reading verbatim from notes, just real demos. This was a lot of great info in 27m. Thanks so much!

    • @gervaisngah5644
      @gervaisngah5644 Před 3 měsíci

      Thanks a lot.its more easier when listening to your teaching ❤

  • @escrimo23
    @escrimo23 Před rokem +6

    Love how I stumbled on your channel for a monitor review, now I am hooked with all your other content! Thank you for this great video, been playing around with it lately, so this is some good reminders!🙌🏾

  • @arcanernz
    @arcanernz Před rokem +15

    Terraform is multi-cloud but that doesn't mean you can take your aws template and move it gcp or azure, you still need to research and rewrite your whole infrastructure for the targeted cloud provider. And any differences in services you still need to be aware of and understand. Kubernetes is more portable but it still relies on cloud provider servers such as load balancers, vpcs, etc. which can work differently between cloud providers.

  • @nati4536
    @nati4536 Před měsícem

    Absolutely love your teaching style, easy to follow, understand and remember. Great work!!!

  • @owenrooneycloudtech
    @owenrooneycloudtech Před rokem +1

    I've only recently put on my Terraform training wheels. I'm really loving it so far and this video has helped me to cement things in my brain. As a non programmer that's trying to launch myself into a new career I struggle with a few concepts but you have really helped me to understand them. However, I followed along with this project and I cant seem to figure out where I have gone wrong. My user data script runs fine and index.html is created. I need to fine tune my networking so I am able to view it in browser. I only get as far as a loading wheel so not sure if my SG or VPC are working as expected at the minute.
    Really love the content and your story resonates with me. One day I'll get there too!

  • @unclehugo3413
    @unclehugo3413 Před 11 měsíci +1

    Not me searching for another stuff and stumbling on your video, now i am hooked. Thank you so much, big ups.

  • @SuperBlugh
    @SuperBlugh Před rokem +6

    Travis has a very soothing voice

    • @Fishamble
      @Fishamble Před rokem +3

      Kinda reminds me of Obama.

  • @ndefoemma2101
    @ndefoemma2101 Před 8 měsíci +1

    Superb!!! Straight to the point no long story . Thank you.

  • @zeeshawnali4078
    @zeeshawnali4078 Před 6 měsíci

    This was an amazing intro, lots of great information in under 30 minutes!

  • @anassnasserallah9883
    @anassnasserallah9883 Před rokem +1

    Thank you Travis for sharing knowledge !

  • @sharadkumar8353
    @sharadkumar8353 Před rokem +1

    Hi Travis! First of all Super Thankyou!!
    I m new to terraform learning .. the way you have explained here with just one example that compelled me to like and subscribe.
    You channel is my new addiction.🤩

  • @jebotipasmater
    @jebotipasmater Před rokem +1

    Awesome, just what I was curious about! Thank you! 🤙

  • @mohammedhossain5041
    @mohammedhossain5041 Před 2 měsíci

    Thats an amazing “Intro to Terraform” Thanks Travis

  • @neusprach
    @neusprach Před 9 měsíci +1

    Great tutorial! Thanks for sharing!

  • @RaymondYee
    @RaymondYee Před rokem +3

    Thanks for your video! Very helpful for consolidating my understanding of terraform as a newbie. (I wrote my first terraform configuration file today.)

  • @bilalahmedkhan5876
    @bilalahmedkhan5876 Před 11 měsíci +1

    great video, really loving your content. Subscribed!

  • @savingday
    @savingday Před 15 dny

    Thank you for this video Travis!

  • @oyedeoluwafunbi9635
    @oyedeoluwafunbi9635 Před rokem +15

    I’m currently using terraform at work and I’m loving it ❤

  • @michelramirez6682
    @michelramirez6682 Před 16 dny

    Your teaching style is awesome! it will be great to have a second part of this terraform video in which you go more in-depth of other advanced topics such as modules, filters, terraform cloud providers, etc.

  • @highoctaneharry
    @highoctaneharry Před 5 měsíci

    So glad for this video, I just started having to touch terraform code last week. This got me up to speed at work.

  • @rufaiadeniyi7019
    @rufaiadeniyi7019 Před 6 měsíci

    i think this is one of the best i have seen online..... 100 thumbs up for you

  • @adityakhedkar7754
    @adityakhedkar7754 Před rokem +29

    Hi Travis. Your videos are really helpful. It would be great if you increase the font size a bit for better visibility.✌

  • @ikshvak
    @ikshvak Před měsícem

    another awesome video, thanks Travis

  • @EnglishRain
    @EnglishRain Před rokem +1

    Thank you this is a God sent I was looking to automate infrastructure using code!

  • @rushabhjain584
    @rushabhjain584 Před 9 měsíci +1

    You explained a lot in short time. Great video. Very knowledgeful. Thanks and love from India ❤

  • @ThabeloRamabulana
    @ThabeloRamabulana Před rokem +2

    Keep it up man...I love the content

  • @pmioduszewski
    @pmioduszewski Před rokem +1

    Great content thx! instant sub

  • @AaronGayah
    @AaronGayah Před 8 měsíci

    I enjoyed this video. Thank you for making it.

  • @LouayMelliti
    @LouayMelliti Před měsícem

    That was really helpful ❤and professional 👏 thank you so much

  • @Ciommi
    @Ciommi Před rokem +3

    Hi Travis, here after my succeful asw saa exam. A video about the next routes after that would be fantastic, for exaple best routes to get hired or just like your thoughts. Even some resource to practice before get hired would be apprectiated. Love you!

  • @lwazingcongo6995
    @lwazingcongo6995 Před 26 dny

    All the way from South Africa. Thank you sir

  • @stevenbarkley5067
    @stevenbarkley5067 Před 3 měsíci

    Bro those first 8 minutes helped me a lot. Thank you.

  • @egidfertal8240
    @egidfertal8240 Před 20 dny

    Thank you :) nice video

  • @PANDApoopish
    @PANDApoopish Před rokem +1

    Thanks for the informative video! Ended a sub! Post more DevOps stuff please

  • @Raghugowni
    @Raghugowni Před 7 měsíci +1

    I like the way you explain. You don't refer any sheet for configuration with that you covered more content in short video. Thank you so much.

  • @macolul
    @macolul Před 2 měsíci

    I just saw terraform this word recently, and saw your video now. Then I noticed this video was published 1 year ago😅. Thanks for making so many enlightening videos.

  • @thrisharamkumar9566
    @thrisharamkumar9566 Před 12 hodinami

    THANK YOU VERY MUCH!

  • @rahulsood81
    @rahulsood81 Před měsícem

    Love you Travis for this video..

  • @fabrice9848
    @fabrice9848 Před rokem +1

    Great tutorial

  • @mulengamulenga5449
    @mulengamulenga5449 Před měsícem

    This is so wonderful; straight to the point. Do you have anything done for use with Azure as a Provider?

  • @yannkefeleck1974
    @yannkefeleck1974 Před rokem

    Hi Mr Travis, U're a master chief ..wooowww...thank u

  • @bendibhafed1687
    @bendibhafed1687 Před 9 měsíci

    Just amazing !

  • @johnnybegood948
    @johnnybegood948 Před 6 měsíci

    Im trying to get into Data Engineer. Thanks for the tuts.

  • @famousartguymeme
    @famousartguymeme Před 2 měsíci

    He is right, this is entry level door rn in the industry!

  • @lvbio
    @lvbio Před rokem +3

    One thing I think was a missed opportunity here is that you didn't cover "terraform plan". Very important TF option to have in your toolbelt. That said, your stuff is great!

  • @K71947
    @K71947 Před rokem +1

    Thanks for the video...i wonder what is the step to integrate with existing vpc?..normally the use case is to integrate with our existing infrastrucutre..please advice..

  • @timecircle8420
    @timecircle8420 Před rokem +1

    After watching some of your vids it seems like your journey started with webdev and you’re now in devops. I’m learning webdev now. Was the transition easy once you understood the webdev languages?

  • @vinvvinv7460
    @vinvvinv7460 Před rokem +3

    Hi can you please make a video & explain the writing/structure of Ansible & Terraform in a simple manner & in layman's terms, like when & where to add spaces, hyphens, what is variable, etc it's a bit confusing ... please it's a request, do reply

  • @kemekenneth
    @kemekenneth Před 7 měsíci +1

    I love your videos Travis. Your VS Code and Terminal font sizes are really tiny something. 🙏

    • @TravisMedia
      @TravisMedia  Před 7 měsíci +1

      Thanks for the feedback. I’ll increase it in future videos.

  • @kofiantwi5678
    @kofiantwi5678 Před 3 měsíci

    great video Travis but please any chance you can add the codes or have them some where in a git repo we can sort of copy and follow along the video ?

  • @Qzbub
    @Qzbub Před 8 měsíci

    Amazing video

  • @fabrice9848
    @fabrice9848 Před rokem +1

    When using "terraform destroy" while having multiple instances, how to terminate a specific instance ?

  • @andreacarvajal3098
    @andreacarvajal3098 Před 10 měsíci +1

    Hi Travis, what if the provider is local servers, does terraform work on that as well?

  • @emmanuelevbuomwan2665
    @emmanuelevbuomwan2665 Před 3 měsíci

    I was first in incognito mode, I had to switch over just to hit the subscribe button.

  • @nikola4628
    @nikola4628 Před 7 měsíci

    where did you get id from? did you really type that think? is there some link or using aws cli to get list of that ids?

  • @underflowexception
    @underflowexception Před 4 měsíci

    is there a way to build out and test the entire infra locally before deploying to the cloud? can all this be done using a free tier?

  • @Gaijin101
    @Gaijin101 Před rokem +2

    Memorizing the entire config for aws is however a nightmare.

  • @mohittandon1931
    @mohittandon1931 Před 11 měsíci +1

    Travis, that is good - but again for the purpose of revising; what if I do not know terraform at all. I am looking for a video wherein i can learn how the terraform documentation be brough to use to set up infra through code, what do cloud/devops engineers calculate to deploy their infra.....(i mean following through the documentation)

    • @rmt3589
      @rmt3589 Před 6 měsíci +1

      You can always ask Phind for help. That's my plan.

  • @SowedCastelli
    @SowedCastelli Před 9 dny

    Sooo goood.

  • @youwillyou7905
    @youwillyou7905 Před 10 měsíci +1

    Great video 👍 A question: suppose I want to change my instance from micro to large, are all processes in the instance be stopped and started? I see you can run shell commands which can interact with our servers ( jaguardb vector database) to make adjustments to server configuration. That is cool. If processes do not get interrupted, it would really really cool.

    • @TravisMedia
      @TravisMedia  Před 10 měsíci +1

      TF can hadle that request, but AWS will stop the instance to upsize it (that's an AWS thing), so processes will get interrupted for that brief time. May be able to bring in a load balancer and add an extra instance that stays up while upsizing?

    • @youwillyou7905
      @youwillyou7905 Před 10 měsíci +1

      @@TravisMedia yes, extra instance and load balancer would work perfectly for computing nodes or stateless nodes. Here in database servers, they use sharding for data distribution, the extra node needs synchronization with the main one. This can be done one by one, (with one extra node), for all nodes to be upgraded . it would just take time to copy data.

  • @enpassant7358
    @enpassant7358 Před rokem +5

    It would be so nice to have a job doing this. I'm learning so much but it would be a lot easier to retain that knowledge if I was putting it to real world use.

    • @omarperez6308
      @omarperez6308 Před rokem +3

      I feel this to the core!! With every technology honestly!

  • @galleon8129
    @galleon8129 Před měsícem

    19:22 and 22:53 seems to be the same thing, or is the user data for Nginx server the unique thing in 22:53?

  • @freakphysics
    @freakphysics Před rokem +1

    Great video and content. But i agree with some of the comments below: it would be nice if you could zoom to your code or increase fontsize. It‘s hard to read

    • @TravisMedia
      @TravisMedia  Před rokem +1

      I appreciate the feedback! Will do so going forward.

    • @freakphysics
      @freakphysics Před rokem +1

      @@TravisMedia Do you have a best pick course for terraform on Udemy (for all platforms)? You completely convinced me with this video.

  • @nileshbhandirge4638
    @nileshbhandirge4638 Před 5 měsíci

    Nice vedio, can this useful in vmware

  • @shaileshntikhe
    @shaileshntikhe Před 7 měsíci +1

    This is the terraform intro video I was looking for.

  • @gurugamer8632
    @gurugamer8632 Před rokem

    Is it better to do Devops or Azure Cloud?

  • @memyself4ever1
    @memyself4ever1 Před měsícem

    I'm learning Terraform with Github and it's interesting.

  • @devopsjockey
    @devopsjockey Před 3 měsíci

    Any prerequisites

  • @1apocalyps
    @1apocalyps Před rokem +1

    how was the AMI ID created or how did come to be? Thanks in advanced

    • @TravisMedia
      @TravisMedia  Před rokem +1

      Hey Gil! It’s hardcoded. When you go to launch an EC2 instance you can choose “Browse More APIs” and find an AWS provided AMI and get the ID there. I just found an Amazon Linux 2 AMI and got the AMI Id and used that.

  • @behrad8860
    @behrad8860 Před 3 měsíci

    what is VPC? virtual port Channel ?

  • @rmatveev
    @rmatveev Před 7 měsíci +1

    12:25 - I was not able to find this image in AMI registry. Suppose that it was replaced with a new one.

    • @TravisMedia
      @TravisMedia  Před 7 měsíci +1

      Probably. If you go to AMI Catalog, you'll see the latest Amazon Linux 2023 AMI. Currently it's ami-05c13eab67c5d8861 (64-bit (x86)) / ami-0840becec4971bb87 (64-bit (Arm))

    • @rmatveev
      @rmatveev Před 7 měsíci +1

      ​@@TravisMediaI was not expecting such a swift answer :) Thank you for commenting on this, Travis!

  • @twosaibackbot
    @twosaibackbot Před 7 měsíci +1

    What are your thoughts on Wing/Winglang?

    • @TravisMedia
      @TravisMedia  Před 7 měsíci +1

      Looks neat! Though I’ve never used it.

  • @jasonassaf2482
    @jasonassaf2482 Před 7 měsíci +1

    Hi do you plan on doing an ansible video ?

    • @TravisMedia
      @TravisMedia  Před 7 měsíci +1

      I can, what would you like to see?

    • @jasonassaf2482
      @jasonassaf2482 Před 7 měsíci +1

      @@TravisMediasame as you have done with Terraform, intro and basic demo.

  • @PushpinderSingh2751
    @PushpinderSingh2751 Před 6 měsíci

    The value of your content has won my subscription fair and square

  • @mchannel1365
    @mchannel1365 Před rokem +1

    why use Terraform when you can do all by Rest APIs ?

    • @rmt3589
      @rmt3589 Před 6 měsíci +1

      What's Rest?

  • @markn8755
    @markn8755 Před rokem +1

    You use ~/Desktop as your dev directory? I feel sick.

    • @markn8755
      @markn8755 Před rokem +2

      Jokes aside great video, thanks.

  • @manojkumar-jt3fw
    @manojkumar-jt3fw Před rokem +1

    Is JAVA needed for Kubernetis ?

    • @TravisMedia
      @TravisMedia  Před rokem +2

      Nope

    • @manojkumar-jt3fw
      @manojkumar-jt3fw Před rokem +1

      @@TravisMedia Many of my friends told me to learn Java & python b4 getting into DevOps. So, Java will not help me in any way during my DevOps preparation ?

    • @TravisMedia
      @TravisMedia  Před rokem +2

      @@manojkumar-jt3fw oh it can help, sure. But it doesn’t help with Kubernetes specifically.

    • @TravisMedia
      @TravisMedia  Před rokem +6

      You should learn a language before or while learning DevOps, yes. I would lean Python over Java

    • @manojkumar-jt3fw
      @manojkumar-jt3fw Před rokem +1

      @@TravisMedia Tanx for the suggestion.
      As of now i only have Udemy bootcamps to learn Python. Can u suggest which one to pick up, Angela Yu or Jean-Paul Roberts+ TimBuchalka ?

  • @Scarface1337_
    @Scarface1337_ Před 2 měsíci

    As a complete new person to Terraform you lost me on how you got the ami number for the linux instance.. I eventually figured it out but lol cmon man

  • @Albertux
    @Albertux Před 7 měsíci +1

    Terraform is not cloud agnostic you need to write each terraform definition based on the cloud provider

  • @everyonesview
    @everyonesview Před 5 měsíci

    You say 30 seconds to spin things up, right? How long did it take you to wirite all the Terraform code to do all that? Playing the devil's advocate 😃

  • @Bayo106
    @Bayo106 Před 11 měsíci +6

    Feedback: Remove the music from your videos. It's quite enough that it doesn't disturb the average person but it's very annoying for me, and perhaps other headphone users. Very distracting

    • @TravisMedia
      @TravisMedia  Před 11 měsíci +5

      Thanks, I appreciate the feedback!

  • @softcolly8753
    @softcolly8753 Před 4 měsíci

    I like your tutorials, it's a shame that your accent reminds me of Obama.