I have a VPC, inside there is a public subnet and two private subnets. I configured security groups as well as route tables and I can access ES2 instances in the two private subnets from the instance in the public subnet.
Now I want to know if I can directly connect to the instances in one private subnet from the instances in the other private subnets. If yes, how.
Thanks, Philip
All subnets within a VPC can communicate with each other by default. In fact, the only way to prevent this is by defining Network ACLs that Deny traffic.
So, yes, an instance in one private subnet can connect to an instance in another private subnet (in the same VPC). Just use the Private IP address to connect.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With