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

demandé il y a 2 ans754 vues
1 réponse
1
Réponse acceptée

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
répondu il y a 2 ans
profile pictureAWS
EXPERT
vérifié il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions