There are two EC2 windows instance placed in same VPC and same public subnet having same security group. I want to check if both are able to communicate with each other using ping command. I have added rules at both security group and NACL level. ALL ICMP is also been included exclusively other than "all" traffic. but I am not able to test the same. kindly suggest if there is any other way I can check connectivity between two ec2 windows instances?
0
votes
What is the output of the ping from one EC2 to another EC2 instance?
- PassionInfinite
It is giving "Request time out"!
- Vidya
Can you please show me the security inbound rules for EC2 instances?
- PassionInfinite
HTTP TCP 80 0.0.0.0/0 – All traffic All All 0.0.0.0/0 SSH TCP 22 0.0.0.0/0 – All ICMP - IPv4 ICMP All 0.0.0.0/0 –
- Vidya
Sorry, not able to add image here!
- Vidya
1 Answers
1
votes
If the two EC2 instances are in the same VPC, Subnet, and Security Group you just need to check that the following is in place:
- Security Group allows inbound ALL ICMP is from self (self reference the security group id)
- Security Group outbound ALL TRAFFIC is allowed.
- Subnet has a route to LOCAL in the VPC