Reputation: 21
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
Reputation: 10008
Amazon recently announced inter-region VPC peering. You can now connect VPCs without having to create any instances.
Upvotes: 1
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
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-to-Hardware VPN connection taking advantage of a Virtual Gateway on one end:
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:
See:
Upvotes: 1