I, recently, switched to the EC2 virtual instance. I wanted to check if the website is online. As usual I used the “ping” command. I thought my server was down (kinda freaked out) but the website on the browser was working fine.
All I needed to do was to enable the ICMP requests:
1) Log into AWS account.
2) Click on “Security Groups”. Choose the required security group.
3) Click on the “Inbound” tab.
Create a new rule: Custom ICMP rule
Type: Echo request
Source: 0.0.0.0/0
0.0.0.0 will allow everyone to ping your server. You can specify your own addresses if you want.
That’s it.

Comments
Archived WordPress comments (4)
rajneesh sharma
Good info. “Security Groups” are visible inside EC2 service.
Wei Chen
thanks for your answer.
Boston Howie
That just won’t work for me for some reason. Still can’t ping.
Ndianabasi
Thank you for the answer!