routing traffic between VPC

1

Hello, I have two VPC(VPA A & VPC B) in same region. Both are associated with direct connect gateway and than to direct connect using private virtual interface.

Question.

How can I route traffic between two VPC without using transit gateway? Can we use VPC peering ?

Thanks in advance

asked a year ago713 views
1 Answer
1
Accepted Answer

Hello,

Recommend checking below link which lists all the options for VPC to VPC connectivity and to answer your question, yes VPC Peering would work in your scenario.

Amazon VPC-to-Amazon VPC connectivity options


Specifically regarding DXGW (Direct connect gateway) you can not use it for east-west traffic between the VPCs, see below from the FAQ

Q: Can I send traffic from a VPC that is associated with an AWS Direct Connect gateway to another VPC associated to the same AWS Direct Connect gateway?

No, AWS Direct Connect gateway's only support routing traffic from AWS Direct Connect VIFs to VGW (associated with VPC). In order to send traffic between two VPCs, you must configure a VPC peering connection.


In a rare edge case you can make it work which is discussed here.

profile pictureAWS
EXPERT
answered a year ago
profile pictureAWS
EXPERT
reviewed a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions