Cannot ping EC2 instance. Inbound rules set

1

I've read several threads but can not find a solution to following problem:

I have just set up a new instance of an EC2 server running Windows Server 20xx.

I have set up an inbound rule for this instance via the EC2 web interface as follows:

Inbound Rules EC2 instance

However, I cannot ping the Instance.

Instance sits at ec2-xx-xxx-xxx-x.us-east-2.compute.amazonaws.com

Here is the output of ping (from ping.eu/ping):

packets transmitted     9
received    0
packet loss     100 %
time    8187 ms

Server is up and running according to AWS

ChrisC

Posted 2018-03-09T12:26:25.433

Reputation: 111

but is your OS set to respond to ICMP? By default, I believe it does not. – Garr Godfrey – 2018-03-09T15:12:05.380

Answers

2

The software firewall is still running by default on AWS Windows instances.

To enable ping in the OS,

  • run "Windows Firewall with Advanced Security"
  • Find the "File and Printer Sharing (Echo Request - ICMPv4-In)" Rule with Remote Address "Any"
  • Enable it.

Garr Godfrey

Posted 2018-03-09T12:26:25.433

Reputation: 394

Good point. Solved my issue. – Stryker – 2018-10-15T17:47:09.173

0

This is becuase PING is disabled by default. We have to enable it. See below post for more infor. https://www.screwlinux.com/2019/09/why-i-cant-ping-to-my-aws-ec2-instances.html

user1017463

Posted 2018-03-09T12:26:25.433

Reputation: 11