Prepare AWS EKS cluster

To install Istio in EKS, you will need to set up the Kubernetes context before.

If you create your cluster from the command line, Kubernetes context will be automatically set. Download and configure ekscli and aws cli. Now create your cluster. For example:

eksctl create cluster --nodes 3

This will deploy a EKS cluster with three nodes on it in your default region.

If you have created your cluster using AWS web UI, you are going to need to set the context manually. Ensure your aws cli is properly configured. Then, run the following command:

aws eks --region <region-code> update-kubeconfig --name <cluster_name>

Where is the region where you have deployed your cluster and <cluster_name> is the name of your cluster.

Verify your cluster if properly configure in your system:

$ kubectl get svc
kubernetes   ClusterIP   <none>        443/TCP   3d18h

When your Kubernetes context is set you are ready to use EKS add-on or install Istio using CLI.