Not able to SSH EKS Worker Nodes

Karthik picture Karthik · Jan 28, 2019 · Viewed 8.4k times · Source

I have create EKS cluster as specified in https://docs.aws.amazon.com/eks/latest/userguide/getting-started.html

Added worker nodes as specified in above link Step 3: Launch and Configure Amazon EKS Worker Nodes

In security Group also I added rule for enabling ssh to worker nodes. When I tried to login to worker node with 'ec2-user' username and with valid key SSH Login is not happening.

Can anyone help me in debugging this issue ?

Answer

Karthik picture Karthik · Jan 29, 2019

I found a workaround. I created an EC2 instance with same VPC which is used by worker node, also used the same security group and Key Pair for newly created EC2 instance. I tried to login to newly created EC2 instance which works like charm ( don't know Why it won't work for worker nodes). Once I logged into the instance tried SSH to worker nodes from there with Private IP which is working as expected.

Again this a workaround. Not sure why I wasn't able to login to worker node.