Pinging EC2 instances [closed]
开发者_开发知识库
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this questionI'm new to managing EC2 instances. I have created one, and I can run it and remotely login with Windows Remote Desktop. I can ping external servers from inside my instance, but I cannot ping the instance from my machine using its DNS public name. I guess I'm doing something wrong with security groups. Any thoughts anybody?
To ping an EC2 instance, you need to allow ICMP traffic in the instance's security group.
As far as I am aware, Amazon is blocking ICMP (ping) requests. If you want to perform some sort of "is it up" request you may want to implement some other routine like a web based "ping" page; just have it display the time when you hit it.
精彩评论