April 2018
Intermediate to advanced
280 pages
8h 37m
English
This is one of the most common problems faced by AWS users. If you try to connect to your EC2 instance and get the following error message, it usually indicates a problem with the security group configuration:
Network error : Connection timed out
The ping command may also fail because the ICMP protocol is not allowed in the inbound connections of the security group rules.
In such situations, ensure that the instance has an elastic IP address and the AWS security group that is associated with the EC2 instance has the required ports open. For example, a Linux instance may require port 22 to be open for SSH access. Similarly, a Windows instance may require port 3389 for remote desktop access. Also, enable ICMP inbound ...