Troels
Troels

Reputation: 352

Cross-region access to database on AWS

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

Answers (1)

Bui Anh Tuan
Bui Anh Tuan

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

Related Questions