Search code examples
amazon-web-servicesamazon-ec2connection-timeout

How can I find out the reason of 'request timed out' on AWS?


I can't access my website suddenly hosted on AWS EC2. ping example.com gets the following result:

PING example.com

Pinging example.com [xx.xx.xx.xx] with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.

PS: the security group associated with my instance is as follows:

Ports   Protocol    Source  launch-wizard-2
22  tcp 0.0.0.0/0   ✔
80  tcp 0.0.0.0/0   ✔
443 tcp 0.0.0.0/0   ✔

I can't connect to my instance using ssh as well (can't access log file). All what I can do is to check the EC2 dashboard aws.amazon.com. Everything looks fine.

In Status Checks,

System Status Checks System reachability check passed Instance

Status Checks Instance reachability check passed

Here is a screenshot.

enter image description here

How can I find out the reason?

PS: the last backup file downloaded to dropbox is backwpup_b9aba0_2015-07-12_03-03-25.tar.gz.


EDITT: Now it works. I guess that the issue is caused by the limitation of CPU credits (t2.micro) but I am not sure.

enter image description here


Solution

  • The reason is that I host an OSQA site under the same instance and dozens of spammers on OSQA keep posting poker-related questions, which consumes almost all CPU credits.