Elastic Kubernetes Service (EKS)

Installation

Amazon's Elastic Kubernetes Serviceopen in new window (EKS) is a fully managed, production-ready environment for deploying containerized applications, without needing to install, operate, and maintain your own Kubernetes control plane or nodes.

One of the best ways to work with Amazon EKS is by using the eksctl tool, a simple command line utility for creating and managing Kubernetes clusters on Amazon EKS. The eksctl command line utility provides the fastest and easiest way to create a new cluster with nodes for Amazon EKS. In order to install eksctl follow the AWS official documentationopen in new window

Start a Cluster

Note: This procedure requires eksctl version 0.24.0 or later. You can check your version with the following command:

> eksctl version
1

To start a cluster:

  1. Create a cluster with the Amazon EKS lastest Kubernetes version in your default region. Replace my-cluster with your own value.
> eksctl create cluster \
 --name my-cluster \
 --version 1.17 \
 --without-nodegroup
1
2
3
4

Note: To see most options that can be specified while creating a cluster with eksctl, use the eksctl create cluster --help command.

Cluster provisioning takes several minutes. Finally, the last output line should be similar to the following example:

> []  EKS cluster "my-cluster" in "region-code" region is ready
1
  1. When your cluster is ready, test that your kubectl configuration is correct.
> kubectl get svc
1

You should receive the following output:

> NAME             TYPE        CLUSTER-IP   EXTERNAL-IP   PORT(S)   AGE
svc/kubernetes   ClusterIP   10.100.0.1   <none>        443/TCP   1m
1
2

TIP

Now you have a working Kubernetes cluster running locally using EKS and have proper authentication using kubectl to connect to the cluster you can proceed to Kubernetic Installation guide.