- Newest
- Most votes
- Most comments
Hi Tudvari,
It seems you are having trouble establishing communication between your two EC2 instances located in the east(VPC-East) and west region(VPC-West).
It looks like your main issue is you only added a route table in the VPC-East and not a route table to your VPC-West. In order to enable the flow of traffic between the VPCs using private IP addresses, you need to manually add one or more route in both VPCs. Here is AWS peering documentation that will help walk you through the steps in creating the route tables for your VPCs[1].
Secondly, verify your security group for the EC2 instances and the NACLs for each resource in each VPC is configured to allow traffic to the peered VPCs. Here is documentation on the proper configuration for both the security groups[2] and NACL[3].
Let us know if we can be of anymore assistance!
References: [1] https://docs.aws.amazon.com/vpc/latest/peering/vpc-peering-basics.html [2] https://docs.aws.amazon.com/vpc/latest/peering/vpc-peering-security-groups.html [3] https://docs.aws.amazon.com/vpc/latest/peering/troubleshoot-vpc-peering-connections.html
Relevant content
- Accepted Answerasked 16 days ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago