How to connect two VPCs which have the same CIDR Blocks in the same account but two different regions ?

0

I have a VPC in region A which holds the RDS Aurora Instance and a VPC in region B which holds an EC2 instance. Currently the EC2 instance connected to the RDS instance by allowing all the MYSQL connections in the Security Group of the RDS, but since this is not best practice , I am trying to create a VPC Peering Connection. The problem is both VPCs share the same CIDR Blocks and each VPC has its own resources, so it will be difficult to create a new VPC and migrate the resources from the old VPC to the new VPC. Is there a way to connect the two VPCs or update the CIDR Block in one of the VPCs ?

Mahmoud
已提問 2 個月前檢視次數 406 次
1 個回答
2

The easiest way to resolve this is to create a new VPC in one of the regions with a non-overlapping CIDR range. I know that you say it is difficult but trust me (as the author of this blog post) it is by far the least expensive and simplest way to solve the problem.

profile pictureAWS
專家
已回答 2 個月前
profile picture
專家
已審閱 2 個月前
profile picture
專家
已審閱 2 個月前

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

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

回答問題指南