Neon Surge Blog

Follow Neon Surge:

Manage Kubernetes clusters on AWS with EKSCTL

I've been asked many times how I setup and manage Kubernetes clusters so easily. The secret weapon is EKSCTL, an Amazon co-engineered piece of software that manages the entire lifecycle of your AWS EKS cluster. In this post I'll explain what it is and why you should be using it.
"# to get EKS cluster: #eksctl cluster create"

The history of Kubernetes, AWS and EKS

Originally, Amazon Web Services (AWS) didn’t natively support Kubernetes. Amazon for a long while have been trying to push their own docker deployment technology, Elastic Container Service (ECS) instead. Any experienced AWS implementers would have war stories of its repeated shortcomings and the amount of oft-repeated effort migrating clients off of ECS.

Although AWS continues to try to improve ECS, it pales in comparison to what Kubernetes can do. Many engineers saw this, and the open-source community kicked into gear and authored the tool “KOPS” which makes creating a highly-available Kubernetes cluster on Amazon trivial, instead of a complex task.

Amazon realized they weren’t going to win the war of attrition, and implemented their fully managed Kubernetes support service – Elastic Kubernetes Service (EKS). Implementers like myself adopted EKS using the Infrastructure as Code (IaC) tools we know and love to automate AWS.

We quickly learned that Kubernetes is not something you can just automate from the “outside”. There was a gap in what IaC tools alone could (and couldn’t) do in order to reliably upgrade, update, rotate nodes, and manage a Kubernetes cluster. The missing component here was that they needed to “also” manage Kubernetes – to speak to the Kubernetes API and to check, verify, update, delete, and manage things inside of its API, not just give it more resources (eg: add nodes) via the AWS APIs from the outside. Enter EKSCTL.

Image via https://eksctl.io/ - Original Gophers drawn by Ashley McNamara, unique E, K, S, C, T & L Gopher identities had been produced with Gopherize.me.

Read the rest of this article over on DevOps Nirvana – and subscribe for more free DevOps articles, guides and resources.

Share this post:

Related Posts

All Blog Post Categories

Need help with DevOps?

Neon Surge can provide consulting, process review, strategy, planning or execution to ensure your company is working efficiently.

Join the Neon Surge mailing list

Subscribe to receive occasional email updates from Neon Surge. 
We won’t share your email address, but we will send you useful links.