Getting Started with EKS and Terraform

  Рет қаралды 41,010

That DevOps Guy

That DevOps Guy

Күн бұрын

Пікірлер: 88
@MarcelDempers
@MarcelDempers 4 жыл бұрын
Kubernetes ☁ in ☁ the ☁ Cloud 👇🏽 kzbin.info/aero/PLHq1uqvAteVsUhzNBkn-rPzXtPNpJu1-k
@myleraghavendra
@myleraghavendra 4 жыл бұрын
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:"
@Koojav
@Koojav 2 ай бұрын
This channel has saved me literally whole days of reading docs and trying to glue stuff together. Much love
@muhaimintaib
@muhaimintaib 4 жыл бұрын
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 4 жыл бұрын
He is so underrated! Love your energy, keep it up Marcel.
@trentmurray2467
@trentmurray2467 3 жыл бұрын
That "Seriously underrrated" DevOps Guy strikes again. So much perfectly delivered content in this video. Well done.
@FreeSpeechWarrior
@FreeSpeechWarrior 2 жыл бұрын
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?
@gleepwurp1974
@gleepwurp1974 4 жыл бұрын
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!
@nicolassantos6824
@nicolassantos6824 3 жыл бұрын
Man, you are an amazing instructor. This tutorial is just awesome. You just earned a new sub.
@AbulHasanLakhani
@AbulHasanLakhani 2 жыл бұрын
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 2 жыл бұрын
For sure 💪🏽
@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.
@Han-ws8he
@Han-ws8he 3 жыл бұрын
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
@sudo-bandit
@sudo-bandit Жыл бұрын
Exactly what I was looking for. Thank you
@eam16707
@eam16707 2 жыл бұрын
Thank you - one of the best teachers out there
@JackLogan90
@JackLogan90 2 жыл бұрын
Bless you sir!
@OfficeNothanks
@OfficeNothanks 3 жыл бұрын
Super useful, I was searching for something like this for some time.
@sags3112
@sags3112 2 жыл бұрын
awesome video buddy..thanks for making such a super video
@08marciogeraldo
@08marciogeraldo 2 жыл бұрын
The best! Very good videos and your explanations are simple and clear. Thanks!
@lurhq343
@lurhq343 2 жыл бұрын
Always just what we need - Thanks Marcel!!! Great video!
@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 2 жыл бұрын
Exactly.
@musclecode
@musclecode 4 жыл бұрын
your vids are awesome ! keep it up
@fluorescent_axolotl
@fluorescent_axolotl 3 жыл бұрын
Beautifully explained, subscribed!
@bayramzengin7335
@bayramzengin7335 4 жыл бұрын
Perfect. Accumulation of information is not knowledge.Thank You.
@thesagarmatha
@thesagarmatha 3 жыл бұрын
Deserves million views. 🙌🙏
@jameswilford5225
@jameswilford5225 4 жыл бұрын
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.
@jaysistar2711
@jaysistar2711 4 жыл бұрын
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.
@lindelaninthangeni8221
@lindelaninthangeni8221 4 жыл бұрын
Dude, you are good. you really simplify it. well done!
@halilulrahamane8798
@halilulrahamane8798 3 жыл бұрын
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.
@OlawaleoOgundare
@OlawaleoOgundare Жыл бұрын
I ran into same error too same error, yet to fix it
@sirkarim1111
@sirkarim1111 3 жыл бұрын
Incredible! Love the attention to details, making sure you don't leave the important stuff behind. ++
@jaysistar2711
@jaysistar2711 4 жыл бұрын
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 4 жыл бұрын
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.
@davidblane8318
@davidblane8318 4 жыл бұрын
I’ve watched so many of your videos, amazing work dude keep it up
@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👍
@hotcake1336
@hotcake1336 3 жыл бұрын
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 3 жыл бұрын
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)
@klipseracer
@klipseracer 4 жыл бұрын
Love your videos dude, marginally entertaining and gets the important parts across. Request: Can you explain more about EKS node groups?
@Drety6
@Drety6 2 жыл бұрын
0:30 - 1:01 : hell yeah man
@carlosayalav
@carlosayalav 3 жыл бұрын
So powerfull !! Thanks Devops Guy
@christianibiri
@christianibiri 4 жыл бұрын
I'm loving your videos! I really Do! Keep doing stuff like this...
@smashit002
@smashit002 2 жыл бұрын
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 !
@j3bb9z
@j3bb9z 2 жыл бұрын
Would love similar videos about GKE and GCP services!
@camilovieira181
@camilovieira181 3 жыл бұрын
Great! Thanks a lot !!!
@davoodsahebsyed8514
@davoodsahebsyed8514 3 жыл бұрын
Superb!! Excellent Keep going
@germinikkii
@germinikkii 2 жыл бұрын
Nice video dude. Could you please explain how to implement Jenkins in EKS but using Terraform? Thanks
@smanihwr
@smanihwr 3 жыл бұрын
Great one. Thank you!!
@shreyaspatil498
@shreyaspatil498 2 жыл бұрын
Treid with your code but it is saying no nodes available to schedule pods how to tackle it?
@guyrawsthorn461
@guyrawsthorn461 3 жыл бұрын
Hi ThatDevOpsGuy - Amazon Video - Have you got an exmaple of deployments running on EKS using Fargate profiles?
@Kk-rl7nv
@Kk-rl7nv 11 ай бұрын
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?
@ajadavis2000
@ajadavis2000 2 жыл бұрын
would it be best practice to put an api gateway on top of the nginx ingress point?
@praxunix6122
@praxunix6122 4 жыл бұрын
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.
@renzochepar
@renzochepar 4 жыл бұрын
Awesome Overview !
@George-mk7lp
@George-mk7lp 2 жыл бұрын
which terraform version did u use?
@ynh2804
@ynh2804 3 жыл бұрын
Do you have recommended way to attach a new NIC to each eks node?
@koolkravi
@koolkravi 4 жыл бұрын
Nice video. Would setup a Bastian host to access k8s cluster .
@jdubeau007
@jdubeau007 4 жыл бұрын
Can you create a playlist for the K8 on mirror clouds providers as well AWS EKS playlist.
@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)
@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
@palanisamy-dl9qe
@palanisamy-dl9qe 3 жыл бұрын
Do you have terraform module video for cluster auto scale
@Maks-nf5bo
@Maks-nf5bo 2 жыл бұрын
How to connect to Docker via vscode?
@derencevoo9146
@derencevoo9146 4 жыл бұрын
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 4 жыл бұрын
@Valar Morghulis yes I did, but I forgot what fixed it
@aleksandrspiskunovs1867
@aleksandrspiskunovs1867 4 жыл бұрын
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.
@mdmoniruzzaman703
@mdmoniruzzaman703 2 жыл бұрын
This is awesome. could you please update this since it's bit old now..
@dqfold5557
@dqfold5557 4 жыл бұрын
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 4 жыл бұрын
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 4 жыл бұрын
​@@MarcelDempers Thank you Marcel :)
@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)
@bled_2033
@bled_2033 2 жыл бұрын
Really usefull!
@chrisscole
@chrisscole 2 жыл бұрын
Love your videos! Ever thought about doing a Kubernetes mysql replica tutorial with an operator?
@szihai
@szihai 4 жыл бұрын
Can you do one video about Tekton and another one on Flagger? Thanks.
@SureshKumar-ow2ji
@SureshKumar-ow2ji 4 жыл бұрын
Excellent 😍
@ravindarsinghchoudhary8244
@ravindarsinghchoudhary8244 4 жыл бұрын
any series service mesh intro with python + django + Kubernetes + Terraform
@saurabhchopra
@saurabhchopra 2 жыл бұрын
My eyes my eyes 😩
@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 4 жыл бұрын
You teach so many complicated things, what is your salary lol?over 10k? u genius
@ogbeisibor3193
@ogbeisibor3193 3 жыл бұрын
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" {
Kubernetes cluster autoscaling for beginners
12:55
That DevOps Guy
Рет қаралды 53 М.
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
Simplify Kubernetes YAML with Kustomize
20:37
That DevOps Guy
Рет қаралды 78 М.
Crazy fast Kubernetes Automation with Terraform
26:23
Christian Lempa
Рет қаралды 103 М.
What is Infrastructure as Code ?
12:44
That DevOps Guy
Рет қаралды 4 М.
[ Kube 77 ] AWS EKS Kubernetes cluster provisioning using Terraform
30:16
Just me and Opensource
Рет қаралды 48 М.
Introduction to Amazon EKS Kubernetes for beginners
26:57
That DevOps Guy
Рет қаралды 38 М.
Terraform with Azure Kubernetes Service
27:56
That DevOps Guy
Рет қаралды 24 М.
AWS EKS - Create Kubernetes cluster on Amazon EKS | the easy way
16:27
TechWorld with Nana
Рет қаралды 565 М.
Understanding StatefulSets in Kubernetes
28:44
That DevOps Guy
Рет қаралды 49 М.
Understanding CPU & Memory with the Kubernetes Vertical Pod Autoscaler
22:12
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН