Getting Started with EKS and Terraform

  Рет қаралды 40,267

That DevOps Guy

That DevOps Guy

Күн бұрын

Subscribe to show your support! goo.gl/1Ty1Q2 .
Patreon 👉🏽 / marceldempers
In this video we take a look at creating an EKS cluster using Terraform!
This is an extension of our Kubernetes in the Cloud series.
If you're new to EKS, checkout my "How to" on EKS
Intro to EKS 👉🏽 • Introduction to Amazon...
Kubernetes in the Cloud👇🏽
• Kubernetes in the Cloud
Checkout the source code below 👇🏽 and follow along 🤓
Also if you want to support the channel further, become a member 😎
marceldempers.dev/join
Checkout "That DevOps Community" too
marceldempers.dev/community
Source Code 🧐
--------------------------------------------------------------
github.com/marcel-dempers/doc...
If you are new to Kubernetes, check out my getting started playlist on Kubernetes below :)
Kubernetes Guide for Beginners:
---------------------------------------------------
• Kubernetes development...
Kubernetes Monitoring Guide:
-----------------------------------------------
• Kubernetes Monitoring ...
Kubernetes Secret Management Guide:
--------------------------------------------------------------
• Kubernetes Secret Mana...
Like and Subscribe for more :)
Follow me on socials!
marceldempers.dev
Twitter | / marceldempers
GitHub | github.com/marcel-dempers
Facebook | thatdevopsguy
LinkedIn | / marceldempers
Instagram | / thatdevopsguy
Music:
Track: Amine Maxwell - Memories | is licensed under a Creative Commons Attribution licence (creativecommons.org/licenses/...)
Listen: / memories
Track: Fox Beat 2 - Joakim Karud - Summer Vibes - Royalty Free Vlog Music [BUY=FREE] | is licensed under a Creative Commons Attribution licence (creativecommons.org/licenses/...)
Listen: / joakim-karud-summer-vi...
Track: n0tavailable - mourner - sad trap beat | is licensed under a Creative Commons Attribution licence (creativecommons.org/licenses/...)
Listen: / mourner
Track: souKo - souKo - Parallel | is licensed under a Creative Commons Attribution licence (creativecommons.org/licenses/...)
Listen: / parallel

Пікірлер: 86
@MarcelDempers
@MarcelDempers 3 жыл бұрын
Kubernetes ☁ in ☁ the ☁ Cloud 👇🏽 kzbin.info/aero/PLHq1uqvAteVsUhzNBkn-rPzXtPNpJu1-k
@myleraghavendra
@myleraghavendra 3 жыл бұрын
I tried to use your code , Im facing this issue while I give terraform apply "Error running command 'for i in `seq 1 60`; do wget --no-check-certificate -O - -q $ENDPOINT/healthz >/dev/null && exit 0 || true; sleep 5; done; echo TIMEOUT && exit 1': exec: "/bin/sh": file does not exist. Output:"
@muhaimintaib
@muhaimintaib 3 жыл бұрын
Not sure why this guy still don’t have millions subscribers. He’s the master of sharing knowledge with absolute clarity.
@hlinc2
@hlinc2 2 жыл бұрын
This channel is a textbook definition of a hidden gem
@roylee3196
@roylee3196 3 жыл бұрын
He is so underrated! Love your energy, keep it up Marcel.
@gleepwurp1974
@gleepwurp1974 3 жыл бұрын
You're a lifesaver! I've been trying to get that running for the last 2 weeks, and you've made it clear in 18 minutes!
@jainkrohit
@jainkrohit 3 жыл бұрын
your videos are just superb Marcel. Whenever I want to learn something new around DevOps.. the first that I do is just follow ur videos & it gives me a lot of good foundation. Love you mate.
@trentmurray2467
@trentmurray2467 3 жыл бұрын
That "Seriously underrrated" DevOps Guy strikes again. So much perfectly delivered content in this video. Well done.
@nicolassantos6824
@nicolassantos6824 2 жыл бұрын
Man, you are an amazing instructor. This tutorial is just awesome. You just earned a new sub.
@davidblane8318
@davidblane8318 3 жыл бұрын
I’ve watched so many of your videos, amazing work dude keep it up
@lurhq343
@lurhq343 2 жыл бұрын
Always just what we need - Thanks Marcel!!! Great video!
@PANDApoopish
@PANDApoopish Жыл бұрын
Exactly what I was looking for. Thank you
@eam16707
@eam16707 2 жыл бұрын
Thank you - one of the best teachers out there
@OfficeNothanks
@OfficeNothanks 3 жыл бұрын
Super useful, I was searching for something like this for some time.
@lindelaninthangeni8221
@lindelaninthangeni8221 3 жыл бұрын
Dude, you are good. you really simplify it. well done!
@fluorescent_axolotl
@fluorescent_axolotl 2 жыл бұрын
Beautifully explained, subscribed!
@FreeSpeechWarrior
@FreeSpeechWarrior Жыл бұрын
Your videos are like accelerated versions or courses that I can stop, backup, try as I please without all the nonsensical time wasting of an entire course. You rock man. Can you please make a video of setting up Rancher to work with the same types of Kubernetes clusters that you're creating please?
@08marciogeraldo
@08marciogeraldo Жыл бұрын
The best! Very good videos and your explanations are simple and clear. Thanks!
@sirkarim1111
@sirkarim1111 2 жыл бұрын
Incredible! Love the attention to details, making sure you don't leave the important stuff behind. ++
@klipseracer
@klipseracer 3 жыл бұрын
Love your videos dude, marginally entertaining and gets the important parts across. Request: Can you explain more about EKS node groups?
@TheChihuhua
@TheChihuhua Жыл бұрын
Bless you sir!
@musclecode
@musclecode 3 жыл бұрын
your vids are awesome ! keep it up
@christianibiri
@christianibiri 3 жыл бұрын
I'm loving your videos! I really Do! Keep doing stuff like this...
@jaysistar2711
@jaysistar2711 3 жыл бұрын
Nice! I just did this process with Terraform, and I had to have some Windows worker nodes. Taints and Tollerations are really helpful there, since pods will schedule on a Windows node, and fail to start if you don't have them.
@sagarchamlagai
@sagarchamlagai 2 жыл бұрын
Deserves million views. 🙌🙏
@renzochepar
@renzochepar 3 жыл бұрын
Awesome Overview !
@sags3112
@sags3112 Жыл бұрын
awesome video buddy..thanks for making such a super video
@smanihwr
@smanihwr 3 жыл бұрын
Great one. Thank you!!
@davoodsahebsyed8514
@davoodsahebsyed8514 3 жыл бұрын
Superb!! Excellent Keep going
@carlosayalav
@carlosayalav 3 жыл бұрын
So powerfull !! Thanks Devops Guy
@jameswilford5225
@jameswilford5225 3 жыл бұрын
Your videos are the best! We are actually already using terraform with eks but I watched to see if you did it differently. One thing I noticed, you exported the kubectl_config from the eks module, but then you don't actually use it in the kubernetes deployment like you said. You actually used the cluster certificate and token, which is a better way to do it.
@camilovieira181
@camilovieira181 3 жыл бұрын
Great! Thanks a lot !!!
@Han-ws8he
@Han-ws8he 2 жыл бұрын
Thanks! I realized that the latest terraform version (>= v1) having issue with this tutorial. I downloaded the older version (0.14) and it works.
@elibukin4840
@elibukin4840 2 жыл бұрын
+1
@SureshKumar-ow2ji
@SureshKumar-ow2ji 3 жыл бұрын
Excellent 😍
@bled_2033
@bled_2033 2 жыл бұрын
Really usefull!
@burnsnewman
@burnsnewman 2 жыл бұрын
Would love similar videos about GKE and GCP services!
@kingsleyattuah9015
@kingsleyattuah9015 Жыл бұрын
Hello Marcel, nice tutorial. Still very much relevant in 2023. But you might want to updated version because quite a number of the modules have been deprecated. Well done👍
@andyhails4847
@andyhails4847 2 жыл бұрын
This is great and really helpful - although examples are somewhat out of date now. At the time of writing this, version 18.9.0 is out for terraform-aws-modules/eks/aws module with some significant differences.
@180doman
@180doman Жыл бұрын
Exactly.
@Drety6
@Drety6 2 жыл бұрын
0:30 - 1:01 : hell yeah man
@jaysistar2711
@jaysistar2711 3 жыл бұрын
Something else that I've found while using Terraform with Kubernetes: Helm Charts can, and really need to, be used to add Terraform expressions to a deployment. The Kubernetes provider can create some resources, but the Kubernetes Alpha version has to be used to specify CRDs, and everything has to be done in HCL (the base language of Terraform). With the Helm provider, you just use Helm Charts (templated yaml), and you're good. You can basically use your existing yaml files. That way, you never have to use kubectl apply for anything.
@jaysistar2711
@jaysistar2711 3 жыл бұрын
I guess I should leave my comment alone. I corrected a spelling error, and it removed the heart! I guess that makes sence. I could have said A with which you agreed, and edited it to say B with which you disagreed. In this case, though, it was just a spelling correction.
@AbulHasanLakhani
@AbulHasanLakhani Жыл бұрын
I assume we could just create a dockerfile for that initial container setup as well? This is just to save some manual installation steps everytime we want to repeat this process
@MarcelDempers
@MarcelDempers Жыл бұрын
For sure 💪🏽
@koolkravi
@koolkravi 3 жыл бұрын
Nice video. Would setup a Bastian host to access k8s cluster .
@praxunix6122
@praxunix6122 3 жыл бұрын
Outstanding, EKS Terraform to the point explanation !! could you elaborate on map_roles = var.map_roles, map_users = var.map_users - incase role need to be created via Terraform. Thank again.
@aleksandrspiskunovs1867
@aleksandrspiskunovs1867 3 жыл бұрын
Hi, thanks for great videos. But in this one, i cant see any compute node in created EKS cluster. How can i get just created autscaling work_group to EKS? I need it, to be able to modify Compute node count (maximum, desire, minimum) if needed through aws web ui.
@ynh2804
@ynh2804 2 жыл бұрын
Do you have recommended way to attach a new NIC to each eks node?
@hotcake1336
@hotcake1336 2 жыл бұрын
Terraform says "list" is now deprecated as of v0.12 and is no longer supported, so I try using tolist([...]) like it recommended. Now I get errors saying tolist is not a valid constructor and I can't terraform apply it. WHAT!??
@hotcake1336
@hotcake1336 2 жыл бұрын
Well anyway, that deprecation broke everything, so I can't even use this example anymore. I don't know what I'm supposed to replace "list" with since "tolist" isn't working and terraform doesn't even explain properly how to fix it, especially the two lists with Objects inside them.
@Vera150607
@Vera150607 2 жыл бұрын
@@hotcake1336 easy fix, this whole problem is related wit the versions of terraform you're using, so just replace list("")), 0) with tolist([""])), 0)
@germinikkii
@germinikkii 2 жыл бұрын
Nice video dude. Could you please explain how to implement Jenkins in EKS but using Terraform? Thanks
@ajadavis2000
@ajadavis2000 2 жыл бұрын
would it be best practice to put an api gateway on top of the nginx ingress point?
@halilulrahamane8798
@halilulrahamane8798 2 жыл бұрын
Error: Error in function call │ Thanks, followed video instructions with git repo reference and end up with version issue. any thought ..? │ on .terraform/modules/vpc/outputs.tf line 518, in output "vpc_endpoint_ecs_telemetry_id": │ 518: value = "${element(concat(aws_vpc_endpoint.ecs_telemetry.*.id, list("")), 0)}" │ │ Call to function "list" failed: the "list" function was deprecated in Terraform v0.12 and is no longer available; use tolist([ ... ]) │ syntax to write a literal list.
@user-uh6th6kv4c
@user-uh6th6kv4c 6 ай бұрын
I ran into same error too same error, yet to fix it
@shreyaspatil498
@shreyaspatil498 2 жыл бұрын
Treid with your code but it is saying no nodes available to schedule pods how to tackle it?
@chrisscole
@chrisscole 2 жыл бұрын
Love your videos! Ever thought about doing a Kubernetes mysql replica tutorial with an operator?
@Kk-rl7nv
@Kk-rl7nv 4 ай бұрын
Can you please suggest how we can declare our own custom vpc if we have suppose 5 vpc called VPC A,B, C, D,E and wants to spin up EKS separately in VPC A and vpc B only then how?
@jdubeau007
@jdubeau007 3 жыл бұрын
Can you create a playlist for the K8 on mirror clouds providers as well AWS EKS playlist.
@derencevoo9146
@derencevoo9146 3 жыл бұрын
Hi Marcel, I follow your steps but not sure why I don't see node groups in the eks console and the worker ec2, although created not registeres as a node in the cluster, what might have gone wrong?
@derencevoo9146
@derencevoo9146 3 жыл бұрын
@Valar Morghulis yes I did, but I forgot what fixed it
@George-mk7lp
@George-mk7lp 2 жыл бұрын
which terraform version did u use?
@guyrawsthorn461
@guyrawsthorn461 3 жыл бұрын
Hi ThatDevOpsGuy - Amazon Video - Have you got an exmaple of deployments running on EKS using Fargate profiles?
@alexbrewers6685
@alexbrewers6685 3 жыл бұрын
love your videos. instead of creating a worker group, can you help me modify the code to include a node group? the worker group isn't technially a node group ( at least in the front end Console)
@smashit002
@smashit002 Жыл бұрын
Hello Sir, Needing your help to understand the combination of Terraform, EKS & Helm. Could you please make a video? I have been added to a project at work recently with all these 3 combinations and I am new to all 3. I see you have EKS with Helm and EkS with Terraform. Can you please make a short video with all 3 with an example? It will be of great help, thank you !
@mdmoniruzzaman703
@mdmoniruzzaman703 Жыл бұрын
This is awesome. could you please update this since it's bit old now..
@Maks-nf5bo
@Maks-nf5bo 2 жыл бұрын
How to connect to Docker via vscode?
@palanisamy-dl9qe
@palanisamy-dl9qe 3 жыл бұрын
Do you have terraform module video for cluster auto scale
@szihai
@szihai 3 жыл бұрын
Can you do one video about Tekton and another one on Flagger? Thanks.
@anonymous3472
@anonymous3472 3 жыл бұрын
Nice Video, @That DevOps Guy what VS code Theme are you using?
@MarcelDempers
@MarcelDempers 3 жыл бұрын
Amethyst Dark 💪🏽
@anonymous3472
@anonymous3472 3 жыл бұрын
@@MarcelDempers Thank you
@saurabhchopra
@saurabhchopra Жыл бұрын
My eyes my eyes 😩
@georgelza
@georgelza 2 жыл бұрын
any chance you have a video where you marry the creation of a EKS cluster with a pre created VPC with subnets (created by another team using CloudFormation)
@dqfold5557
@dqfold5557 3 жыл бұрын
Hi, This video is interresting because it's an alternative with your previous video "Introduction to Amazon EKS Kubernetes for beginners" You replace kubetctl + eksctl by Terrafom. I like very much Terraform but it seems strange to write the YAML manifest in HCL. With manifests in HCL, we also loose the power of Kustomize tool as seen in you previous video "Simplify Kubernetes YAML with Kustomize" We also loose the possibility to make CI/CD with flux as seen in "Kubernetes GitOps with Flux CD" I am lost here. I know you prefer simple solutions (so you prefer exclude things like Helm). What's better for you : - This solution : Using Terrafom ? And kuberctl is only here to query the cluster ? - Or you previous solution : Using eksctl + kubectl + kustomize (and optionnaly flux) ? And thanks again for your excellents videos !
@MarcelDempers
@MarcelDempers 3 жыл бұрын
Thanks 💪🏽 There is a third scenario of storing all cluster manifests in cluster using Flux too. Ultimately, I don't think there is a right or wrong approach. Some go eksctl + full on ArgoCD, others Flux, others Terraform. I think it really depends on what you and your team are comfortable with. If you're a Terraform shop, stick to Terraform. Hashicorp is releasing a new K8s Alpha provider with a k8s-to-tf conversion tool. If you're a Terraform shop, it makes sense to go that path in sync with what you do. You may just use shell\bash\powershell and spin up your clusters and that's ok too. (Keep that in Git). OR - You may keep static templates in Git, package it as Helm charts and roll it out manually or via CI and that's ok too. Or go Flux and keep every cluster as a Git Repo. Personally I'd start by keeping my cluster creation scripts in Bash (
@dqfold5557
@dqfold5557 3 жыл бұрын
​@@MarcelDempers Thank you Marcel :)
@ravindarsinghchoudhary8244
@ravindarsinghchoudhary8244 3 жыл бұрын
any series service mesh intro with python + django + Kubernetes + Terraform
@kojitechs
@kojitechs 2 жыл бұрын
Great content Dude, but terraform have updated this module using ur code as is would break
@aujwalyaj
@aujwalyaj 3 жыл бұрын
Getting Failed to install providers
@aujwalyaj
@aujwalyaj 3 жыл бұрын
This is a MAX_PATH issue and is now resolved.
@teste-yh5df
@teste-yh5df 3 жыл бұрын
You teach so many complicated things, what is your salary lol?over 10k? u genius
@ogbeisibor3193
@ogbeisibor3193 2 жыл бұрын
too fast for beginners. thanks anyway.
@karan12399
@karan12399 Жыл бұрын
Any leads will be profoundly helpful. Got this error while running the code in VS code in windows os: Error: Your query returned no results. Please change your search criteria and try again. on .terraform/modules/eks/data.tf line 27, in data "aws_ami" "eks_worker_windows": 27: data "aws_ami" "eks_worker_windows" {
Simplify Kubernetes YAML with Kustomize
20:37
That DevOps Guy
Рет қаралды 74 М.
Why I use Windows as a DevOps Engineer
21:07
That DevOps Guy
Рет қаралды 16 М.
孩子多的烦恼?#火影忍者 #家庭 #佐助
00:31
火影忍者一家
Рет қаралды 35 МЛН
EKS Blueprints for Terraform Explained
9:17
Containers from the Couch
Рет қаралды 13 М.
Istio Service mesh explained
33:14
That DevOps Guy
Рет қаралды 53 М.
What is Kubernetes AFFINITY ?
17:28
That DevOps Guy
Рет қаралды 6 М.
Crazy fast Kubernetes Automation with Terraform
26:23
Christian Lempa
Рет қаралды 93 М.
Free SSL for Kubernetes with Cert-Manager
19:14
That DevOps Guy
Рет қаралды 71 М.
Kubernetes cluster autoscaling for beginners
12:55
That DevOps Guy
Рет қаралды 50 М.
Understanding KUBECTL - Learning Kubernetes
40:34
That DevOps Guy
Рет қаралды 10 М.
How to Manage Secrets in Terraform?
15:54
Anton Putra
Рет қаралды 23 М.
1$ vs 500$ ВИРТУАЛЬНАЯ РЕАЛЬНОСТЬ !
23:20
GoldenBurst
Рет қаралды 1,4 МЛН
Хотела заскамить на Айфон!😱📱(@gertieinar)
0:21
Взрывная История
Рет қаралды 4,7 МЛН
cute mini iphone
0:34
승비니 Seungbini
Рет қаралды 6 МЛН