Cannot ssh into Amazon EC2 instance, this seems to be very common problem but I have tried everything suggested in all available documents, anyone else have any idea what is missing from below?
- Created new EC2 instance and downloaded the
.pemfile - Created a new inbound rule in EC2 instance Security group allow my local IP
- Created a new inbound rule in EC2 instance Network ACL to allow my local IP
- Created a new outbound rule in EC2 instance Network ACL to reach my local IP
- Made sure the VPC route is attached to internet gateway
- Made sure EC2 instance is attached to correct security group
After all this when I try to ssh from my local machine I'm getting connection timed out ,is there anything else I have to do I have also disabled firewall and tested just incase
ssh -vvv -i key.pem ec2-user@********
OpenSSH_7.1p2, OpenSSL 1.0.1g 7 Apr 2014
debug1: Reading configuration data /etc/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to ec2-instance [********] port 22.
debug1: connect to address ****** port 22: Connection timed out
ssh: connect to host ******* port 22: Connection timed out