Blog

Why can I not ping website on hosted in AWS EC2 instance

By Anish AWS EC2, amazon,

For Security reson EC2 instance disable the ICMP. This ICMP to prevent ping requests. Because of this when pinging the EC2 instance domain names or their associated IP addresses we'll receive a "Request timed out." or "100% packet loss responce "

For solve this issue you have to edit the 'Security Group' to which your EC2 instance and allow access. By default everything is denied so we need to edit the inbound rules and add new custom ICMP rule.

Type: All ICMP
Protocol: TCP
Port range: 0 - 65535
Source: Anywhere - 0.0.0.0/0