Unable to Connect to AWS EC2


I am not being able to ssh to EC2 instances in any location! Whenever I try to connect I have been shown unable to connect, whether using the aws console or by using Windows cmd! Amazon EC2 AWS Command Line Interface, Compute, Linux Provisioning, Network and Content Delivery!

1 Answer

There may be few reasons

  • The security group or network ACL doesn't allow access.
  • There's a firewall on the instance's operating system.
  • There's a firewall between the client and the server.
  • The host doesn't exist.

Please find following resources for troubleshooting

  1. https://aws.amazon.com/premiumsupport/knowledge-center/ec2-linux-ssh-troubleshooting/
  2. https://aws.amazon.com/premiumsupport/knowledge-center/ec2-linux-resolve-ssh-connection-errors/
profile pictureAWS
answered 2 years ago
profile pictureAWS
reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions