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

How to Ping AWS EC2 instance?

For Security reason AWS 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 response "

For solve this issue you have to edit the 'EC2 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

How to Ping AWS EC2 instance?