AWS VPC with a public and private subnet- instances can ping themselves but can't ping each other

552 Views Asked by At

I have a private subnet for the database server that has its own security group and a public subnet for the webserver with its own security group. both instances are in the same route table and ssh is inboud is enabled but still ping between the two instances is not reached

1

There are 1 best solutions below

3
On

You need to enable rules to allow ICMP in the security groups. Also verify your network ACL allows ICMP.