What is infrastructure as code? // Terraform Tutorial
Vložit
- čas přidán 6. 06. 2024
- Let's talk about Infrastructure as code with Terraform. What is it? And why do we need that in IT? I also show you how to get easily started with Terraform and use it to deploy Docker Infrastructure. But I also show you a Cloud Deployment and how to use Terraform within your projects. #Terraform #Infrastructureascode #CloudComputing
Automate Docker Deployments with Ansible: • Automate your Docker d...
Teleport-*: goteleport.com/thedigitallife
Follow me:
TWITTER: / christianlempa
INSTAGRAM: / christianlempa
DISCORD: / discord
GITHUB: github.com/christianlempa
PATREON: / christianlempa
MY EQUIPMENT: kit.co/christianlempa
Timestamps:
00:00 - Introduction
01:10 - Why do we need Infrastructure as code?
03:25 - Terraform vs Ansible
06:50 - Install Terraform and prepare our projects
09:58 - Simple example with Docker
17:11 - Mistakes you should avoid
19:32 - Cloud Deployment example
________________
All links with "*" are affiliate links.
Great video. I have been using TF for a few months in a large environment and this was perfect!
Thanks that honors me!
Terraform is SO AWESOME took a course not to long ago and its F***ing Brilliant!!! and so helpful. Especially if you use Modules!
^Thank you ;)
Very detailed explanation, thank you very much.
I started using Terraform and Ansible two days ago to learn about Infrastructure as Code.
Your video comes in very handy.
Cool! Thank you ;)
This dude reads brain man. Awesome tutorial again.
Thanks 😁
thanks for the demo and info, have a great day
Thanks, you too!
I would only add that nowadays Cloudflare encourages to use api_token instead of api_key. Also in civo provider its good to use region - It took me a short moment to figure out why i dont see created server in civo dashboard - it was placed in NYC1 zone by default which i dont use:). A word of explanation of how terraform interprets many files would also be usefull. Just my 2 cents as feedback. Anyway, this tutorial and setup is simplest i could find in internet. Thank you!
Great explanation 🎉 Thanks a lot
Glad it was helpful!
This is a good video. Great explanation
Thank you :)
Great video, which theme are you using?
Nice bro :D, i love Terraform,
very well done
thx
Thx!
Awesome tutorial. It's nice that TF is finally in 1.x version, using 0.x versions on production felt kinda.. off, even though it worked fine.
One comment regarding the video: That "buzzing" while showing "chapter name" was kinda annoying :/
Thanks ❤ awesome feedback!
I use terraform daily for my job. It’s amazing and easy to track all the resources created for our cloud workloads.
Very cool!
Big fan of your work. Thanks!
I have a stupid doubt about terminology... as terraform is for infrastructure would be more a SysOp tool than a DevOps?
Thank you mate! Terraform is a tool you can use in many different ways, it should be part of SysOp and DevOps toolset.
Thank you for this video. Can you perhaps share which shell are you using in this video and its config file ? I really like type-ahead prediction (like at 9:18)
Cheers! I recently did a video about my terminal, it has changed a lot though :D
Love Terraform…
The shell looks awesome , what shell do you use ?
I'm using Windows Terminal and Powershell or WSL2 ZFS and Starship prompt
From a Homelab perspective I prefer ansible + docker I don't really have servers standing around like cattle. All my servers are trash to treasure snowflakes :)
Enterprise use cases are of course a different thing.
At any rate, great video!
Thanks mate! Yeah I think for Homelab Ansible makes more sense
In a way Terraform make me think about IBM Openshift. How about making a tutorial about Terraform with VMWare? Maybe you already did?
Nah not yet, I'm not using VMWare so that would be a bit difficult for me to make
Can this automate docker-compose files? This is amazing
I don't think so, as docker-compose is another container management tool. Maybe there is a way but I haven't found it yet.
Terraform does not manage docker compose let alone docker itself. You can create eks, ecs resource in aws for example but thats about it.
If used in combination, yes you can use ansible to orchestrate anything including docker but the fact you can doesn't make it the best way to do it.
how do i give you money?
Best is to support me on Patreon :)
What it is, is the world telling the non-programmer IT switch and knob tinkerers that it is time to learn how to code.
OUCH 😣 that transition sound on the chapters or when a title appears is so annoying and makes that video so hard to hear. Especially if you want to focus and learn something from it. Hope there will be a new version someday where that sound is not present
Hi bro