There are several options available for creating an Amazon Elastic Kubernetes Service (Amazon EKS) cluster on AWS. Among those are the following:
The Modular and Scalable Amazon EKS Architecture reference deployment developed by AWS solutions architects.
The CircleCI aws-eks
Orb.
The eksctl
command-line tool.
For the purposes of these exercises, eksctl
will suffice. To create the cluster, run the following command:
eksctl create cluster \--name snyk-circleci-eks \--version 1.16 \--region us-west-2
You can replace us-west-2
with any Amazon EKS Fargate supported Region. However, do not replace the name as it will be referenced in subsequent instructions.
It can take approximately 15 minutes for your cluster to be provisioned. When your cluster is ready, you will be able to run kubectl get svc
and see results.