Using Terraform with Azure

Поділитися
Вставка
  • Опубліковано 9 лип 2024
  • This video provides an overview of getting started with Terraform, configuration structure, key phases of deployment and then deploying to Azure.
    github.com/johnthebrit/Random... for my sample files.
    Other useful URLS:
    Terraform download - www.terraform.io/downloads.html
    Azure Provider - www.terraform.io/docs/provide...
    Azure Terraform Quickstarts - github.com/Azure/terraform/tr...
    Azure DevOps Terraform - marketplace.visualstudio.com/...
    GitHub Actions Terraform - github.com/hashicorp/setup-te...
  • Наука та технологія

КОМЕНТАРІ • 98

  • @ketanshah9082
    @ketanshah9082 3 роки тому +1

    Another awesome introduction John! Thank you so much for this.

  • @amritarora8897
    @amritarora8897 4 роки тому +12

    As always , you are AMAZING sir ! Your videos are the first and single source of true information.

    • @NTFAQGuy
      @NTFAQGuy  4 роки тому

      Very kind, thank you.

  • @gustavomendez6279
    @gustavomendez6279 3 роки тому +2

    This was FANTASTIC. I am just now getting into Terraform and this has helped so much to just understand how things work. THANK YOU FOR WHAT YOU DO!

  • @dianepetermann2877
    @dianepetermann2877 2 роки тому +1

    Your Azure videos are the best! Thanks so much for making learning so interesting and easy to absorb.

    • @NTFAQGuy
      @NTFAQGuy  2 роки тому

      That is very kind, thank you

  • @soumyarahul007
    @soumyarahul007 4 роки тому

    unparalleled!! By following your videos, I always find what I need. Thanks, John.

  • @justinfinkelstein5804
    @justinfinkelstein5804 2 роки тому

    Really good to see such a clear presentation; thank you!

  • @gurupa686
    @gurupa686 3 роки тому +10

    I don't think any online courses or even books provide such an in-depth knowledge in a common language and a simple methodology as you do. Thank you sir 😊

    • @NTFAQGuy
      @NTFAQGuy  3 роки тому

      Glad it’s useful. Thank you for watching.

  • @rajeshberi8204
    @rajeshberi8204 2 роки тому

    Great explanation...looking forward for more on terraform John thank you

  • @davidkuda7074
    @davidkuda7074 3 роки тому +2

    Thank you so much for sharing your insights and your knowledge, John, your content is invaluable and very helpful!

    • @NTFAQGuy
      @NTFAQGuy  3 роки тому +1

      I appreciate that!

  • @srikanthmatsa4724
    @srikanthmatsa4724 3 роки тому +1

    Great insightful session for beginners. Thank you so much John!. Your videos are always inspiring me.

    • @NTFAQGuy
      @NTFAQGuy  3 роки тому +1

      Glad you like them!

  • @idonowhattoputhere23
    @idonowhattoputhere23 2 роки тому +2

    John you absolute legend! Everything I want to know about cloud tech and you have it covered in a video :) you are appreciated!

  • @tompaget83
    @tompaget83 2 роки тому

    John, you are awesome! Learning so much from you!

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

    Just the right amount of detail - thanks!

  • @henrypieterse5857
    @henrypieterse5857 4 роки тому +1

    Extremely useful John, started learning Terraform for a project and this helps set the foundations, great work thanks!!

    • @NTFAQGuy
      @NTFAQGuy  4 роки тому

      Great to hear!

    • @henrypieterse5857
      @henrypieterse5857 4 роки тому

      @@NTFAQGuy Can the next one be around ARM Templates, the basics, because it's a rare thing.

  • @kidslogo
    @kidslogo 2 роки тому

    Excellent video, Just grabbed terraform knowledge within an hour 👏

  • @psymonious
    @psymonious 4 роки тому

    Another great video that helped me to get into the topic. Very well done!

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

    Thank you very much you give a great introducction for a variables and outputs files and also the used of data.

  • @AsmithaSP
    @AsmithaSP 3 роки тому +1

    best tutorial on terraform i have seen so far...thanks

    • @NTFAQGuy
      @NTFAQGuy  3 роки тому +1

      Glad it was useful. Thanks

  • @mireillemedhat6356
    @mireillemedhat6356 4 роки тому

    This is very helpful. Thank you for your time and effort!

    • @NTFAQGuy
      @NTFAQGuy  4 роки тому

      Great to hear, thank you.

  • @lightyagami0ben
    @lightyagami0ben 3 роки тому

    Splendid ! Thanks John..very helpful

  • @patrickboucher892
    @patrickboucher892 3 роки тому

    merci John. Perfect as usual.

  • @sunical
    @sunical 4 роки тому

    Nicely done again John.

  • @nileshingole4326
    @nileshingole4326 3 роки тому

    Very Very useful, nothing complicated and stick to basic. Thanks a lot

    • @NTFAQGuy
      @NTFAQGuy  3 роки тому

      Thanks for watching.

  • @arifshaikh213
    @arifshaikh213 4 роки тому

    Very well explained, precise to the point 👍🏼

  • @pavleenify
    @pavleenify 2 роки тому

    Very well structured information, Thanks a Ton!!!

  • @dragonknight320
    @dragonknight320 3 роки тому

    Very basic and useful. Thanks, John :)

  • @dinaakaar954
    @dinaakaar954 3 роки тому

    Thanks a lot :-) , its pretty clear to work with implementation of Azure Infra using Terraform ..have a great day :-)

  • @packlimo
    @packlimo 2 роки тому

    Thank you ever so much for your amazing explanations! Time to terraform!

  • @omkarnadkarni4765
    @omkarnadkarni4765 3 роки тому +1

    Really helpful. Another masterpiece. Thanks a lot

    • @NTFAQGuy
      @NTFAQGuy  3 роки тому

      Glad it was helpful!

  • @teemurainio3181
    @teemurainio3181 2 роки тому

    This was super useful! Thank you!

    • @NTFAQGuy
      @NTFAQGuy  2 роки тому

      Glad it was helpful!

  • @TylerTechUTube
    @TylerTechUTube 3 роки тому

    perfect layout and presentation!

  • @fghhfgh54657tghjgj
    @fghhfgh54657tghjgj 3 роки тому

    Thank you, Dude. You've helped me a lot!)))

  • @magnaanimation7186
    @magnaanimation7186 2 роки тому

    Very well explained. I have looked lot of videos but no information in so much details

    • @NTFAQGuy
      @NTFAQGuy  2 роки тому

      You are very welcome

  • @brianschroeder9301
    @brianschroeder9301 3 роки тому

    The goat is doing magic again 🔥

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

    thank you sir! great content

  • @sylvainlarocque9404
    @sylvainlarocque9404 3 роки тому

    Amazing thank you so much for this!

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

    Great job!!

  • @lifechamp007
    @lifechamp007 2 роки тому

    Super helpful - Thank you so much !! #StayBlessednHappy

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

    Got a devops interview tomorrow. Saw free code camps learn teraform in 2 hours, aint nobody got time for dat. Our boy John getting it done in 45 minutes! Lets hope I get the job tomorrow!

  • @agassijoel3343
    @agassijoel3343 4 роки тому

    Thanks John mate 👍

  • @maharajabhattacharya7339
    @maharajabhattacharya7339 3 роки тому

    Awesome 👍🏼

  • @manavgupta0
    @manavgupta0 3 роки тому

    very helpful.

  • @ememech
    @ememech 3 роки тому +1

    I have a question regarding key vault and password storing. I want to use random generator inside Terraform resource and save password to a key vault after initial deployment and I'm wondering if I will modify and add something later for example two new vms will existing secrets get overwritten or they will not be touched as they exist?

    • @NTFAQGuy
      @NTFAQGuy  3 роки тому

      if you write to the same secret it would overwrite as its single value but the history of values would be stored. if you create a new secret per VM then that would not touch other values.

  • @danielheidemann7531
    @danielheidemann7531 3 роки тому

    Hi John,
    just starting with Terraform and compare it against ARM + PowerShell. You absolutely nailed it with your video. One question that came to my mind was what you think about to always do a "terraform refresh" before you execute a terraform plan/apply to avoid config drifts in state file? This would give you and the customers departments and so on the "freedom" to even use other tools like the Portal, but always have the latest infrastructure state in your terraform state file.

    • @NTFAQGuy
      @NTFAQGuy  3 роки тому +1

      The issue is a refresh is not perfect and also since it’s declarative if you made a change somewhere else then reapplied the config (assuming refresh did detect the change) then it will put it back per the tf file desired state. If you wanted to change it outside tf you would be better not doing refresh however then you get into inconsistency. Basically the guidance is if you are going to use tf then you need to only use tf :)

  • @souravmitra7764
    @souravmitra7764 3 роки тому

    Please help . I am not able to import my configuration of WVD already deployed using terraform import

  • @ranu__12
    @ranu__12 3 роки тому

    is there any video of using Terraform using azure devops ?

  • @luanau
    @luanau 3 роки тому

    Awesome John! I wonder how you limit the scope of a Terraform workspace? Does it apply to the whole of my azure subscription or can I limit it to a resource group for example?

    • @NTFAQGuy
      @NTFAQGuy  3 роки тому

      Whatever permissions the account it runs as has

    • @luanau
      @luanau 3 роки тому

      @@NTFAQGuy Thanks John!

  • @allthebeesaredead188
    @allthebeesaredead188 4 роки тому

    Great video yet again, I'm looking to use terraform and Azure DevOps to spin up an AKS cluster for UAT or to deploy an app to for testing an upgrade, then to tear it all down. Is this a good use of Terraform or are there better ways to achieve this? When someone pushes to a branch called UAT for an app ideally i'd like the entire DevOps pipeline to create the infrastructure needed, deploy the app to it, then remove it all. Maybe I'm being too ambitious, do people do this?

    • @NTFAQGuy
      @NTFAQGuy  4 роки тому +1

      Great idea, thats an awesome use for terraform. It can trigger on commit on the new version of the app.

  • @kyleinthecloud415
    @kyleinthecloud415 4 роки тому +1

    Awesome and well put together content John! When comparing using Terraform over ARM templates, I’m curious as to whether you would consider Terraform more of a DSC tool rather than deployment-specific tool from an Azure perspective in the case where changes to the deployed infrastructure or service WILL undergo changes from other teams via portal or other imperative means. From what I’ve gathered from your video, if imperative changes are being made using other tools, then using terraform will create issues because of the environment not matching the terraform configuration (config drift) - Can you confirm this? Thanks!

    • @NTFAQGuy
      @NTFAQGuy  4 роки тому +2

      Today I still think of Terraform more around the resource management, i.e. management plane of resources across many providers rather than deep configuration inside actual guest OS instances. For DSC inside guest I still think PowerShell, Chef, Ansible etc. And yes if you go Terraform you need to stay Terraform :-) Trying to modify things outside will cause confusion.

  • @vini007mca1
    @vini007mca1 4 роки тому +1

    Perfect video on Terraform with Azure.
    is there any reference link/video, where we can see more information on terraform integration with devops pipelines ?
    or perhaps a video from you would be much appreciable.
    once again, thanks a lot for this video.

    • @NTFAQGuy
      @NTFAQGuy  4 роки тому +2

      I'll work on that. :-) Hopefully will upload something in next week or so.

    • @psymonious
      @psymonious 4 роки тому

      ​@@NTFAQGuy I'd really love to to see an example on how to integrate that into source control and automated deployment pipelines.

    • @karthikr8050
      @karthikr8050 3 роки тому

      @@NTFAQGuy Hi John, can you pls share the link for terraform integration with devops pipelines if ready... thanks in advance.

  • @reddysiva8281
    @reddysiva8281 3 роки тому

    This is best video for beginners. this helped me so much. Thank you so much John for the session. i have one query, I have the existing infrastructure, now i want adopt terraform for future enhancements of my infra. Could you please let me know is that possible, if yes guide me correct documentation to adopt that

    • @NTFAQGuy
      @NTFAQGuy  3 роки тому

      You can import existing resources into the terraform state. www.terraform.io/docs/state/import.html is a start. Thanks

    • @reddysiva8281
      @reddysiva8281 3 роки тому

      @@NTFAQGuy Thank you for your quick response. i will check

  • @nasarazam
    @nasarazam 3 роки тому

    Should we abandon ARM and go with Terraform?

    • @NTFAQGuy
      @NTFAQGuy  3 роки тому +1

      If you are just azure I would go to bicep. I just created video on that

    • @nasarazam
      @nasarazam 3 роки тому

      @@NTFAQGuy , I saw couple of vidoes oh Pulumi and was impressed as I have a programming background. Any thoughts on that?

  • @labib8aug
    @labib8aug 3 роки тому +8

    I am a Simple Man. I unsubscribe Pluralsight and just follow John Savill UA-cam channel

    • @ZaneT531
      @ZaneT531 3 роки тому +1

      LOL thats dope