NAT Gateway can be shared via VPC peering

0

Hi Team,

We have two VPC's in same region and same account. We are using separate NAT gateway for each VPC. So we are planning to remove one NAT gateway.

Is it achieved with VPC peering.?

Or are there any other solutions for it?

1 個回答
0
已接受的答案

You can't (easily) share a NAT Gateway between peered VPCs.

You can do it by placing a proxy server in the VPC with the shared NAT Gateway - but then you have to configure that proxy server on everything in the VPC without the NAT Gateway which may be inconvenient (at best) or impossible (at worst - if applications don't support the proxy).

You can share a NAT Gateway by using Transit Gateway to connect the VPCs together. However, that adds extra cost (perhaps more than you are saving by removing a NAT Gateway). For more than two VPCs this could be a viable option-wise.

profile pictureAWS
專家
已回答 1 年前
profile picture
專家
已審閱 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南