Is it possible to ping AWS EC2 instance

+2 votes
I wish to ping a running  EC2 instance in AWS. But when I try to ping it from my local box it is not available.

Can I Ping it?
Apr 9, 2018 in AWS by brat_1
• 7,180 points

3 answers to this question.

+1 vote

Start by adding a new EC2 security group inbound rule. That should solve your problem, following are the details

  • Type: Custom ICMP rule
  • Protocol: Echo Request
  • Port: N/A
  • Source: your choice
I hope this helps
answered Apr 9, 2018 by hemant
• 5,810 points
0 votes

You have to edit the Security Group to which your EC2 instance belongs and allow access (or alternatively create a new one and add the instance to it).

By default everything is denied. The exception you need to add to the Security Group depends on the service you need to make available to the internet.

If it is a webserver you will need to allow access to port 80 for (which means any IP address).

To allow pinging the instance you need to enable ICMP traffic.

The AWS Web Console provides some of the most commonly used options in the relevant dropdown list.

answered Sep 6, 2018 by eatcodesleeprepeat
• 4,790 points
0 votes

1.Go to EC2 Dashboard and click "Running Instances" on "Security Groups", select the group of your instance which you need to add security. on the "Inbound" tab
3.Click "Edit" Button (It will open an popup window) "Add Rule"
5.Select the "Custom ICMP rule - IPv4" as Type
6.Select "Echo Request" and "Echo Response" as the Protocol (Port Range by default show as "N/A)
7.Enter the "" as Source
8.Click "Save"

answered Nov 13, 2020 by shivam
• 140 points

edited Nov 13, 2020 by Gitika

Related Questions In AWS

0 votes
1 answer

Is it possible to stop nodes in AWS ElastiCache cluster

At this time there is not a ...READ MORE

answered Jun 20, 2018 in AWS by Flying geek
• 3,260 points
0 votes
1 answer

Is it possible to stop nodes in AWS ElasticCache cluster?

In AWS, ElastiCache clusters cannot be stopped. ...READ MORE

answered Aug 17, 2018 in AWS by Archana
• 4,150 points
0 votes
2 answers
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
+2 votes
1 answer
0 votes
3 answers
0 votes
1 answer

AWS:Using S3 with EC2 instances

Yes, it can be used for instances ...READ MORE

answered Jun 26, 2018 in AWS by hemant
• 5,810 points