Reputation: 3410
I have created a linux node on Amazon (AWS) machine. I can ssh into the node but I cannot do ping into its IPv4 Public IP. What should I do to fix this issue?
Works:
ssh -v -i "my_pem.pem" ubuntu@<AmazonNode's_IP>
Does not work (returns %100 failure):
ping <AmazonNode's_IP>
I have also added following setting from https://stackoverflow.com/a/30544572/2402577 but it did not helped.
Please note that when I did this setting, I can ping from another amazon node to an amazon node. But from a non-amazon node still I cannot do ping to the amazon node.
Thank you for your valuable time and help.
Upvotes: 1
Views: 1873
Reputation: 2449
ICMP port is closed by default on AWS instances. You need to enable it in a security group.
Upvotes: 5