Launch EKS

This workshop has been deprecated and archived. The new Amazon EKS Workshop is now available at

DO NOT PROCEED with this step unless you have validated the IAM role in use by the Cloud9 IDE. You will not be able to run the necessary kubectl commands in the later modules unless the EKS cluster is built using the IAM role.


How do I check the IAM role on the workspace?

Expand here to see the solution

Create an EKS cluster

eksctl version must be 0.58.0 or above to deploy EKS 1.21, click here to get the latest version.

Create an eksctl deployment file (eksworkshop.yaml) use in creating your cluster using the following syntax:

cat << EOF > eksworkshop.yaml
kind: ClusterConfig

  name: eksworkshop-eksctl
  region: ${AWS_REGION}
  version: "1.21"

availabilityZones: ["${AZS[0]}", "${AZS[1]}", "${AZS[2]}"]

- name: nodegroup
  desiredCapacity: 3
  instanceType: t3.small
    enableSsm: true

# To enable all of the control plane logs, uncomment below:
# cloudWatch:
#  clusterLogging:
#    enableTypes: ["*"]


Next, use the file you created as the input for the eksctl cluster creation.

We are deliberatly launching at least one Kubernetes version behind the latest available. Please review Amazon EKS Kubernetes versions to determine what supported versions are currently available. This allows you to perform the cluster upgrade lab.

eksctl create cluster -f eksworkshop.yaml

Launching EKS and all the dependencies will take approximately 15 minutes