Cannot Ping Aws Ec2 Instance

I have an EC2 instance running in AWS. When I try to ping from my local box it is not available.

How can I make the instance pingable?

1

27 Answers

Add a new EC2 security group inbound rule:

  • Type: Custom ICMP rule
  • Protocol: Echo Request
  • Port: N/A
  • Source: your choice (I would select Anywhere to be able to ping from any machine)
13

A few years late but hopefully this will help someone else...

1 - First make sure the EC2 instance has a public IP.

If has a Public DNS or Public IP address (circled below) then you should be good. This will be the address you ping.

Sophia Al-Mansoor

Sophia Al-Mansoor

Global Business & E-Commerce Reporter

Sophia analyzes international trade, startup ecosystems, retail transformation, and supply chain logistics for modern digital publications.