What is infrastructure as code? // Terraform Tutorial

  Рет қаралды 33,886

Christian Lempa

Christian Lempa

Күн бұрын

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.

Пікірлер: 43
@YugimanTeam
@YugimanTeam 2 жыл бұрын
Terraform is SO AWESOME took a course not to long ago and its F***ing Brilliant!!! and so helpful. Especially if you use Modules!
@christianlempa
@christianlempa 2 жыл бұрын
^Thank you ;)
@qoutwest
@qoutwest 2 жыл бұрын
Great video. I have been using TF for a few months in a large environment and this was perfect!
@christianlempa
@christianlempa 2 жыл бұрын
Thanks that honors me!
@heyredux
@heyredux 2 жыл бұрын
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.
@christianlempa
@christianlempa 2 жыл бұрын
Cool! Thank you ;)
@cybersecurehacks
@cybersecurehacks 2 жыл бұрын
This dude reads brain man. Awesome tutorial again.
@christianlempa
@christianlempa 2 жыл бұрын
Thanks 😁
@180doman
@180doman 2 жыл бұрын
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!
@chrisumali9841
@chrisumali9841 Жыл бұрын
thanks for the demo and info, have a great day
@christianlempa
@christianlempa Жыл бұрын
Thanks, you too!
@foobar108
@foobar108 3 ай бұрын
Great explanation 🎉 Thanks a lot
@christianlempa
@christianlempa 3 ай бұрын
Glad it was helpful!
@bthegawd8113
@bthegawd8113 2 жыл бұрын
I use terraform daily for my job. It’s amazing and easy to track all the resources created for our cloud workloads.
@christianlempa
@christianlempa 2 жыл бұрын
Very cool!
@PetritK10
@PetritK10 2 жыл бұрын
Nice bro :D, i love Terraform,
@jnelly3426
@jnelly3426 Жыл бұрын
This is a good video. Great explanation
@christianlempa
@christianlempa Жыл бұрын
Thank you :)
@onemanops
@onemanops Жыл бұрын
very well done thx
@christianlempa
@christianlempa Жыл бұрын
Thx!
@TempestofTime
@TempestofTime 2 жыл бұрын
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 :/
@christianlempa
@christianlempa 2 жыл бұрын
Thanks ❤ awesome feedback!
@loserguy777
@loserguy777 2 жыл бұрын
Great video, which theme are you using?
@kenmurphy4259
@kenmurphy4259 2 жыл бұрын
Love Terraform…
@klemol5682
@klemol5682 2 жыл бұрын
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)
@christianlempa
@christianlempa 2 жыл бұрын
Cheers! I recently did a video about my terminal, it has changed a lot though :D
@marcbria6086
@marcbria6086 2 жыл бұрын
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?
@christianlempa
@christianlempa 2 жыл бұрын
Thank you mate! Terraform is a tool you can use in many different ways, it should be part of SysOp and DevOps toolset.
@Flako-dd
@Flako-dd 2 жыл бұрын
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!
@christianlempa
@christianlempa 2 жыл бұрын
Thanks mate! Yeah I think for Homelab Ansible makes more sense
@tonynekola8241
@tonynekola8241 2 жыл бұрын
The shell looks awesome , what shell do you use ?
@christianlempa
@christianlempa 2 жыл бұрын
I'm using Windows Terminal and Powershell or WSL2 ZFS and Starship prompt
@KaydotOrigin
@KaydotOrigin 2 жыл бұрын
Can this automate docker-compose files? This is amazing
@christianlempa
@christianlempa 2 жыл бұрын
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.
@bthegawd8113
@bthegawd8113 2 жыл бұрын
Terraform does not manage docker compose let alone docker itself. You can create eks, ecs resource in aws for example but thats about it.
@Samuel.Mwangi
@Samuel.Mwangi 2 жыл бұрын
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.
@ronnysimonsen
@ronnysimonsen Жыл бұрын
In a way Terraform make me think about IBM Openshift. How about making a tutorial about Terraform with VMWare? Maybe you already did?
@christianlempa
@christianlempa Жыл бұрын
Nah not yet, I'm not using VMWare so that would be a bit difficult for me to make
@Technik500
@Technik500 Жыл бұрын
how do i give you money?
@christianlempa
@christianlempa Жыл бұрын
Best is to support me on Patreon :)
@chswin
@chswin Жыл бұрын
What it is, is the world telling the non-programmer IT switch and knob tinkerers that it is time to learn how to code.
@m.mukunthan5536
@m.mukunthan5536 2 жыл бұрын
Hi bro
@TheOnlyEpsilonAlpha
@TheOnlyEpsilonAlpha Жыл бұрын
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
Docker Networking Tutorial, ALL Network Types explained!
19:46
Christian Lempa
Рет қаралды 191 М.
How to protect Linux from Hackers // My server security strategy!
30:39
Christian Lempa
Рет қаралды 217 М.
Red❤️+Green💚=
00:38
ISSEI / いっせい
Рет қаралды 84 МЛН
Simple automation for all your Linux servers with Ansible
26:00
Christian Lempa
Рет қаралды 68 М.
Why You NEED To Learn Terraform | Practical Tutorial
27:33
Travis Media
Рет қаралды 106 М.
I automated EVERYTHING in my HomeLab // Kestra #2
30:56
Christian Lempa
Рет қаралды 31 М.
Terraform Course - Automate your AWS cloud infrastructure
2:20:58
freeCodeCamp.org
Рет қаралды 1,9 МЛН
Using *HA* Kubernetes at home, was never so simple!
32:14
Christian Lempa
Рет қаралды 164 М.
Don’t run Proxmox without these settings!
25:45
Christian Lempa
Рет қаралды 155 М.
How to start your HomeLab journey?
17:32
Christian Lempa
Рет қаралды 72 М.
Best for Homelab? Traefik vs Nginx Proxy Manager
13:35
Christian Lempa
Рет қаралды 165 М.
Red❤️+Green💚=
00:38
ISSEI / いっせい
Рет қаралды 84 МЛН