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

질문됨 2년 전755회 조회
1개 답변
1
수락된 답변

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
전문가
답변함 2년 전
profile pictureAWS
전문가
검토됨 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인