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,200 points
20,526 views

3 answers to this question.

0 votes

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

You can get a better understanding from the AWS Certification

I hope this helps

answered Apr 9, 2018 by hemant
• 5,790 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 0.0.0.0/0 (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.

Get ready to level up your skills as an AWS Developer! Join our comprehensive AWS Developer Associate certification Course!

answered Sep 7, 2018 by eatcodesleeprepeat
• 4,710 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.
2.click on the "Inbound" tab
3.Click "Edit" Button (It will open an popup window)
4.click "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 "0.0.0.0/0" 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
0 answers
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 21, 2018 in AWS by Flying geek
• 3,280 points
2,186 views
+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 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,034 views
+2 votes
1 answer
0 votes
3 answers

What is CPU Credit Balance in EC2 for AWS?

When you use fewer CPU resources then ...READ MORE

answered Nov 30, 2018 in AWS by Aniket
2,462 views
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,790 points
6,321 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP