AWS Instance Error

0

Hi every time I try to connect to my AWS instance in diffrent ways like with PuTTY or on the AWS web, I can't connect to my instance. And this is what it always say on the AWS web:

Failed to connect to your instance
Error establishing SSH connection to your instance. Try again later.

Can anyone please help me? This solving problem is very important to me.

Evoker
질문됨 일 년 전184회 조회
2개 답변
0

Let's start with the networking area.

  1. Does the inbound rule for the security group allow SSH?
  2. Are the required communications allowed by the network ACLs for the subnet on which the EC2 is running?
  3. Is a route to Internet Gateway configured in the route table of the subnet on which EC2 is running?

We also recommend that you review the following document, which describes general troubleshooting methods when you cannot connect to EC2.
https://repost.aws/knowledge-center/ec2-linux-ssh-troubleshooting
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstancesConnecting.html

profile picture
전문가
답변함 일 년 전
  • Everything is ok for 1, 2, and 3 and those website didn't help very much...

0

we may have a long list for troubleshooting (in addition to Riku)

  • Check your security group rules to make sure that inbound traffic for SSH (port 22) is allowed from your IP address.
  • If your instance is in a VPC, ensure that the associated Network Access Control Lists (NACLs) allow inbound and outbound traffic for SSH (port 22).
  • Make sure your VPC has the correct route to the internet. This typically means having a route to an Internet Gateway (IGW).
  • Make sure you're using the correct SSH key pair to connect to your instance.
  • You can check whether SSH service is running or not
  • If you're behind a corporate firewall, it might be blocking SSH connection
profile picture
전문가
답변함 일 년 전
  • Every there are all good, but it's still not running...Actually, NACL rule number * is denied.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠