Sharing AWS NAT Gateway with multiple VPCs

If you already have multiple VPCs connected through Transit Gateway, we can leverage that and share one NAT gateway with other VPCs.

NAT gateway is a gateway device and performs NAT for outbound traffic. Every private subnet needs a NAT gateway to access the internet. In most cases, it is a good idea to have 2 or more NAT gateways in a VPC, diverse across AZs. That gives the maximum redundancy. But in some cases, cost may be a higher priority. If you already have multiple VPCs connected through Transit Gateway, we can leverage that and share one NAT gateway with other VPCs.

Continue reading “Sharing AWS NAT Gateway with multiple VPCs”