EC2 Instance Ping

+2 votes
I have created a custom EC2 windows instance.

This EC2 instance is created within the public subnet but without public IP assigned to the EC2 instance, only private IP assigned. This public subnet has the Main Route Table with internet gateway(EIP) attached.

Added the ICMP protocol to the security group inbound rules with 0.0.0.0/0 ip subnets and also enabled the "File and Printer Sharing(Echo Request) firewall rules in the EC2 instance.

With the above configuration, I accept from my local machine I will not able to ping the EC2 instance. Why I am not able to ping ay public domain like(yahoo or goolge) from the EC2 instance. Note, I used Bastion machine to that EC2 instance.
May 11, 2020 in AWS by anonymous
• 140 points
232 views

1 answer to this question.

0 votes

Hi,

You set inbound rule to your instance. It means you are allowing outside traffic in your instance. But you are trying to connect to the outside world from your instance and you did not set your outbound rule. So set ICMP protocol for outbound rules and then try once.

answered May 11, 2020 by MD
• 95,360 points

Related Questions In AWS

+2 votes
3 answers

Is it possible to ping AWS EC2 instance

1.Go to EC2 Dashboard and click "Running ...READ MORE

answered Nov 13, 2020 in AWS by shivam
• 140 points

edited Nov 13, 2020 by Gitika 12,810 views
0 votes
1 answer

Unable to ping to my EC2 Instance.

Make sure the Amazon network rules allow Echo ...READ MORE

answered Jan 14, 2019 in AWS by Pranjali
981 views
0 votes
1 answer

Ping request failed to my AWS EC2 instance

Add a new EC2 security group inbound rule: Type: Custom ...READ MORE

answered Mar 13, 2019 in AWS by Mukesh
390 views
0 votes
1 answer

Cannot ping to my EC2 Instance

This problem mainly occurs because of the ...READ MORE

answered Mar 27, 2019 in AWS by Ritu
305 views
0 votes
1 answer

Using Shapely on AWS Lambda with Python 3

For some reason, the pip install of ...READ MORE

answered Oct 8, 2018 in AWS by Priyaj
• 58,080 points
1,570 views
0 votes
1 answer
0 votes
1 answer
+4 votes
2 answers

Access EC2 instance using Putty

I will tell you a descriptive way ...READ MORE

answered Nov 20, 2018 in AWS by Priyaj
• 58,080 points
20,071 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP