Reputation: 315
Is there a way to connect one database in a private subnet in a VPC to another database in a private subnet in another VPC? Both have same master account but separate accounts each.
Upvotes: 4
Views: 53
Reputation: 2546
This could be done with VPC Peering.
A direct connection between the VPCs is established and all traffic is conducted with private IPV4 addresses. You can even do this with VPCs in different regions, where the traffic is encrypted and routed via the AWS backbone.
Peering is established when the Owner of the first VPC sends a peering request to the owner of the second VPC, and they can reside in different accounts.
Upvotes: 1