AWS Linux EC2 instance

Hi Rob,

I have created one instance to replicate the same in AWS playground

Trying to create jenkins environment, basically to work on docker, kubernetes AWS EKS

The issue i am facing when i launch instance and login, I am not sure how to proceed further

Warning: Permanently added ‘ec2-100-52-255-106.compute-1.amazonaws.com’ (ED25519) to the list of known hosts.
ubuntu@ec2-100-52-255-106.compute-1.amazonaws.com: Permission denied (publickey).

I am not sure where i am going wrong here, I am in learning phase

image.png

Regards,

Ram

Your screenshot is not visible.

How are you trying to SSH into the EC2 server?
You need ssh ubuntu@<public-IP>

The private key (.pem file) must be strictly read-only for the owner. You need to run:
chmod 400 <your-key.pem>

its a pain such a small issue i have tried everthing prioir to raise this concern

I was able to connect using putty