We already have set of ec2 key pairs in the aws env and have correponding .pem files in my laptop.
I am trying to spin up with eks using node groups and provided "keyName" as one the ec2 pair names(String) for nodeGroup. I am not able to ssh into worker nodes using root or ec2-user. Command: ssh -I <pem file> ec2-user@<ip of the node> (root@ip of the node>. It says connect to host <host name>. Port 22: Operation time out.
I am definitely missing something and unable to debug this. Please advise.