Reputation: 352
I have created a database(postgres) on AWS in region1. Now I want a developer from region2 to help me on the database located in region1.
I know AWS as default do not permit cross-region access. But is it possible to give access to the database for the developer in region2? If yes, how?
Upvotes: 0
Views: 280
Reputation: 920
Yes you can. Do as below:
- On region1: follow link to public you RDS
- On region2: add NAT for your VPC to make internet accessing.
So I illustrate the flow as:
[region2: your_app
-> NAT
] ---(internet)--> [region1: Internet_gateway
-> bastion_instance (optional)
-> RDS
]
With newly update, you can also use AWS Direct Connect Gateway
to connect 2 VPC cross-region for the same aws account. Ref
Upvotes: 1