Score:0

Is it possible to use both VPC peering and Transit Gateway?

es flag

I currently have 2 VPCs with an InternetGateway each VPC1 and VPC2.

  • I need VPC2 to use VPC1's public IP.
  • I'd rather modify VPC1 as little as possible.
  • There is a lot of traffic between these 2 VPCs.

I know I can setup a TransitGateway between these 2 VPCs and have VPC2 use the VPC1's IGW.

Would it be possible to have the "non-internet" traffic still going through VPC peering to reduce cost?

What I'm not sure about is the route back from VPC1 to VPC2 that would need to be the same for peering and TransitGateway.

Is there any way to achieve this? Is there any other alternative?

Many thanks!

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.