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
전문가
답변함 일 년 전
profile picture
전문가
검토됨 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠