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 in AWS by anonymous
• 140 points
123 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 by MD
• 56,480 points

Related Questions In AWS

+2 votes
2 answers

Is it possible to ping AWS EC2 instance

Start by adding a new EC2 security group inbound ...READ MORE

answered Apr 9, 2018 in AWS by hemant
• 5,800 points
1,541 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
460 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 12, 2019 in AWS by Mukesh
154 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
122 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer