Hello folks. I am designing our company multi-VPC AWS networking infrastructure and I am trying to make a case for transit gateway. Micro segmentation and high availability are some of our core requirements. I know with a single TGW, I eliminate the need to create many VPN tunnels back to my campuses and routing becomes easier. We have a few services that will be utilizing resources from different VPCs in different accounts. One of my colleague asked me why we couldn’t use VPC peering? I didn’t have a lot of answers though we both agreed for VPN connectivity, it’s more of a fit.
Do you see any trade-off apart from VPNs for choosing TGW over Peering?
If my TGW goes down, does Amazon automatically spin up an new one for me or I have to manually do that myself? Isn’t TGW a single point of failure?
Do you see a benefit in using both vpc peering and TGW?
I think the biggest issue is if you’re utilizing VPCs in multiple regions. Though it’s planned, TGW doesn’t currently support cross-region connections. Beyond that based on the way it’s presented TGW are the optimal way to connect VPCs now. There were a lot of issues with huge routing tables when you interconnected a lot of VPCs, which is less of an issue with TGW.
Then you might see a blip in connectivity but if it works like IGW and NATGW then it’ll be momentary and it’s completely managed behind the scenes. If you have a question on it, you cut a case about it.
What did you write when the business asked about what happens if VPC peering stops working or if the IGW stops working?
Look at the pricing and the complexity to provision it if your intent is automation. Also, yes you’re right: with the tgw, you create your VPN connections only once, which is a good thing.
I’m unsure but because it’s a managed service, it should come back automatically. That being said, AWS create two endpoints for the tgw, that’s why you feed two subnets when creating one. So, it’s a HA service by design.
Unless pricing or limitation I don’t see, avoid that as it will lead to a more complex infrastructure for no benefits.
Also, I would simply consider TGW because it is newer, so it has higher chance of being improved and maintained in the future whereas VPC peering might eventually get dropped.
I used TGW for multiple big projects and so far it’s robust.
I think AWS doesn’t talk about it much compared to Transit Gateway (or similar things) because it’s not a revenue generator like TGW is. Worded another way: it doesn’t cost you anything extra.
OP can get “micro-segmentation” and “high-availability” using security groups and availability zones.
Transit gateway is a simpler architecture, with higher limits. With VPC peering you will be limited by the route table, you will not be able to get the route table limit increased past 100 any longer.
If may seem high, but it’s really easy to hit if you have a lot of accounts and any central services.
Do you have to SNAT for east west vPC traffic across firewalls? All the examples I see just talk about going to the internet. Been trying to see if it’s the same for VPC to VPC via firewall services vPC.
i’m curious if those connecting VPCs have them numbered in the same range, like trying to merge them or have different address subnets, or have them numbered different?
maybe this question should be what is the first level where addresses are different, the VPC level, the subnet level, or the individual device/usage/instance level?