Passer au contenu

Unable to Connect to EC2 Instance and Ping Timeout

0

I am unable to connect to my EC2 instance even though the instance status shows it is running. Ping also does not receive any response. There are no error messages or warnings. I have tried restarting the instance, but the issue persists. I am receiving the error message "Failed to connect to your instance. Error establishing SSH connection to your instance. Try again later."

demandé il y a 3 ans4,8 k vues

1 réponse
0

do this steps on ec2:

  • check the security group associated with the instance is listening SSH and ICMP
  • check if the instance is in a public subnet, otherwise you won't be able to connect
  • check if the instance has a public IP associated or an Elastic IP

on VPC:

probably with this steps you will be able to identify the issue and fix it

EXPERT

répondu il y a 3 ans

EXPERT

vérifié il y a 3 ans

AWS
EXPERT

vérifié il y a 3 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.