Q:

I can't ping from my server to google.com, how can I diagnose issue?

I'm on my server and I can't ping anything outside.  I tried for example google.com. How can I diagnose this issue? I can ping my localhost (ping works)
This is my traceroute to google.com:
[root@ip-10-112-63-16 tony]# traceroute google.com
traceroute to google.com (74.125.113.147), 30 hops max, 40 byte packets
 1  * * *
 2  * * *
 3  * * *
 4  * * *
 5  * * *
 6  * * *
 7  * * *
 8  * * *
 9  * * *
10  * * *
11  * * *
12  * * *
13  * * *
14  * * *
15  * * *
16  * * *
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *

And this is the result of route -n:
[root@ip-10-112-63-16 tony]# /sbin/route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.112.62.0     0.0.0.0         255.255.254.0   U     0      0        0 eth0
0.0.0.0         10.112.62.1     0.0.0.0         UG    0      0        0 eth0

And these are my iptables:
[root@ip-10-112-63-16 tony]# /sbin/iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

A:

According to this (http://aws.amazon.com/articles/1145) EC2 blocks ICMP by default. You need to issue this command to allow it

ec2-authorize default -P icmp -t -1:-1 -s 0.0.0.0/0

