I'm getting an error when trying to connect to my Amazon Elastic Compute Cloud (Amazon EC2) instance? Why can't I connect to my EC2 instance?
To connect to your EC2 instance, complete the following prerequisites:
If the preceding prerequisites are met and you can't connect to the instance, do the following:
1. Verify that your EC2 instance is passing status checks. For more information. see the following:
2. If your instance passed the status checks and you're getting connection errors on your instance when trying to connect, see the following:
Troubleshoot EC2 Linux instances
Troubleshoot EC2 Windows instances