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 ?

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달 전

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

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

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

관련 콘텐츠