2

I'm very fresh to AWS and have tested to launch an instance as shown below:

enter image description here

And below is the security group with the inbound rules attached

enter image description here

My problem is I couldn't ping this server. May I know if I understood something wrongly?

SuicideSheep
  • 5,260
  • 19
  • 64
  • 117
  • Possible duplicate of [Cannot ping AWS EC2 instance](https://stackoverflow.com/questions/21981796/cannot-ping-aws-ec2-instance) – anand Oct 11 '17 at 07:33

2 Answers2

6

You need to new Inbound Rule for it :

Type: Custom ICMP rule

protocol: Echo Request

port: N/A

source: your choice (My IP To be able to ping from Your IP)

Also Just an FYI You Should Never Show Details in Question (like Instance tag , Public IP )

Kush Vyas
  • 5,813
  • 2
  • 26
  • 36
  • I agree that it's often best to redact certain information from questions, but I don't think instance-id itself is typically considered sensitive. On the official AWS forums, it's fairly common for AWS personnel to ask customers for the ID of an instance or other resource. – Michael - sqlbot Oct 11 '17 at 12:23
1

This is applicable to windows machines only:

Opening the port solves the problem partially for windows VM.

With Windows 2019 server, I had to configure the firewall of the VM as well. Post the firewall change (window firewall), I was able to ping.

Jatin
  • 31,116
  • 15
  • 98
  • 163