0
votes

I have an instance in AWS and I'm trying to connect to it via SSH I already try in Windows with Putty and PowerShell and I already convert the key pair to readeable format for Putty but it's not connecting to the instance the error says:

Connection Time Out

Also I already try to connect with a Linux machine but it doesn't work too

This is my instance configuration

enter image description here

These are my security group policy

enter image description here

enter image description here

1
SGs look fine. Maybe something else blocks? NACLs or you have some firewall somewhere?Marcin
You lunched instance in custom VPC i see. Public subnet correclty setup?Marcin
It's look like I have an inbound ACL associated to my subnet that is denying all traffic source 0.0.0.0/0Eduardo Noyola
It seems that probably I have something wrong with my custom VPC I going to check and compare what is wrongEduardo Noyola
Thank You Marcin!Eduardo Noyola

1 Answers

1
votes

Things to check:

  • Security Group permitting inbound access for port 22 (SSH) (Looks good!)
  • Network ACLs set to default (Looks good!)
  • Instance launched in public subnet (??)
  • Linux AMI used (Ubuntu, looks good!)
  • Instance has a public IP address (Looks good!)

The one thing that isn't clear is whether the instance was launched in a public subnet. This is defined as a subnet that has a Route Table pointing to an Internet Gateway.

If you can connect to other instances in the same subnet, then this would be configured fine. If you have not been able to connect to anything in the subnet, then check your Route Table configuration.