Sesiri Suranga
Sesiri Suranga

Reputation: 21

How to connect aws VPC's on two regions?

I have a requirement to host MySQL RDS on Sydney region and connect to it from Singapore region. RDS is hosted on VPC which is located on Sydney region. Connect to a DB over the internet is too slow.

Upvotes: 1

Views: 1962

Answers (3)

Shaun Bowe
Shaun Bowe

Reputation: 10008

Amazon recently announced inter-region VPC peering. You can now connect VPCs without having to create any instances.

Upvotes: 1

Ayush Sharma
Ayush Sharma

Reputation: 275

You may have to set up a VPN connection by using 2 EC2 with StrongSwan connected to each other. Then you can use private addresses to access the other VPC. I had to do the same some time back. Hope this helps:

https://notes.ayushsharma.in/2017/02/connecting-vpcs-in-2-aws-regions-site-to-site-vpn

Upvotes: 0

John Rotenstein
John Rotenstein

Reputation: 269091

Some options for connecting two Amazon VPCs that are located in different regions are:

A software VPN connection between the two regions:

Software VPN connection between two regions

Software-to-Hardware VPN connection taking advantage of a Virtual Gateway on one end:

Software-to-Hardware VPN connection

They both rely on running across the Internet. The only way to avoid the Internet would be to run across Direct Connect fibre links, hubbing back to your own data centre:

Direct Connect hubs

See:

Upvotes: 1

Related Questions