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

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 (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. 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
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
+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
+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
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
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP