AWS EKS from scratch - terraform or eksctl? [closed]
Asked Answered
S

3

7

Are there any benefits to spawn a new AWKS EKS cluster by using terraform or eksctl?

Are there some long-term maintenance benefits of one vs another?

Sclerite answered 29/12, 2020 at 18:32 Comment(2)
Check this #57279936Imperception
yes, I saw it - what I would like to understand is long term benefits of one vs another. For example eksctl can handle cluster and internal Kubernetes services upgrades (when we upgrade the cluster to the next version), etc. i.e. the question if I go with eksctl - what do I lose compared with terraform and vice versa. Thanks for your comment!Sclerite
H
6

Well, although I haven't actually tried this out with Terraform, I can definitely say that the eksctl way is not recommended. At least not if you're interested in manageing your infrastructure as code. With eksctl, most changes to an existing cluster need to be made with specific eksctl commands. Just changing the (declarative) cluster.yaml (or whatever you name) does not apply anything relevant. You want to scale a nodeGroup? Well, please use eksctl scale nodegroup, as changing the size in the YAML file is not applying anything. I think you get the pattern. It's really sad that, of all companies, Weaveworks, the "inventors" of GitOps, provide a tool that does not even support basic IaC :(

Hortense answered 6/5, 2021 at 6:20 Comment(0)
S
4

So this is me 3 years later...go with terraform - don't even think about eksctl or cloudformation. Say me thank you later!

Sclerite answered 6/10, 2023 at 1:25 Comment(2)
would you mind taking the time to elaborate? why terraform and why not the others?Breault
yes please share your insight with us.Kremlin
A
2

I would highly recommend using terraform. It is declarative and provides an interface that can be used to support all of your infrastructure and not just your EKS cluster(s).

The time and effort you put into learning terraform and implementing it in your pipeline can be easily re-used for other infrastructure needs unlike eksctl.

Abscond answered 24/2, 2022 at 18:10 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.