Allow PING
The Internet Protocol (IP) supports more than just TCP and UDP traffic; it can also carry ICMP messages. By default, all ICMP requests are closed on your instances. However, adding an ECHO REPLY ICMP traffic rule to your security group allows you to ping your instance. Enabling PING makes it easier to integrate with your preferred monitoring tool or service.
To enable ingress ping connectivity to your instance, follow these steps:
Choose the Security Group
Navigate to the instance list in the Portal and select the security group associated with your instance to which you want to add ping traffic. Note that enabling ping will also apply to all instances attached to this security group.Add a Rule
Within the selected security group, create anINGRESSrule. Be sure to restrict the source IP or network range, and select theICMPprotocol.Configure Echo
Set the type toECHO (type 8)and the code toNO CODE.Save
Click ADD to save your rule. Please allow some time for the rule to propagate.

The resulting rules appear like this:

