Ready to Experiment on a local EKS Instance in Minutes

Image for post
Image for post
Photo by Agê Barros on Unsplash

Experimenting with EKS

How to setup an EKS cluster in minutes

Install the EKS cluster

# snap install eks --classic --edge
# eks start
# eks status
eks is running
high-availability: no
datastore master nodes:
datastore standby nodes: none

Join the nodes to the cluster

# eks add-node
From the node you wish to join to this cluster, run the following:
eks join
If the node you are adding is not reachable through the default interface you can use one of the following:
eks join
eks join
eks join
# eks join
Contacting cluster at
Waiting for this node to finish joining the cluster. ..

Configure kubectl to work with the cluster

# eks config
apiVersion: v1
- cluster:
name: microk8s-cluster
- context:
cluster: microk8s-cluster
user: admin
name: microk8s
current-context: microk8s
kind: Config
preferences: {}
- name: admin
token: Y2R3bTRzUDdsRlhzY0pnbFJ2VnU2UVpmR21jYWJ5R2szRGI2TkpiakpOTT0K
# kubectl config set-cluster experimental \
--server= \
# kubectl config set-credentials exp-admin \
# kubectl config set-context experimental \
--user=exp-admin \
# kubectl config use-context experimental
# kubectl cluster-info
Kubernetes master is running at
CoreDNS is running at
Metrics-server is running at
To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.

Problemsolver & Lifehacker | Photo by Alin Rusu

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store