Creating an EKS cluster

Now that you have a solid understanding of Kubernetes and have defined the core resources required to deploy and run the todobackend application locally, it is time to shift our attention to the Elastic Kubernetes Service (EKS).

The core resource supported by EKS is the EKS cluster, which represents a fully managed, highly available cluster of Kubernetes managers that take care of the Kubernetes control plane for you. In this section, we will focus on creating an EKS cluster in AWS, establishing authentication and access to the cluster, and deploying the Kubernetes dashboard.

Creating an EKS cluster consists of the following primary tasks:

At the time of writing, EKS clusters are not part of the AWS free tier and cost $0.20 USD per minute to run, so bear this in mind before you continue (see https://aws.amazon.com/eks/pricing/ for latest pricing information). We will be using CloudFormation templates to deploy both the EKS cluster and EKS worker nodes, so you can easily tear down and recreate your EKS cluster and worker nodes as required to reduce costs.