Skip to content

Accessing Private RDS in AWS Without Bastion, VPN, or Direct Connect

0

I'm working with an RDS instance that resides in a private subnet and is not publicly accessible. I want to grant our developers direct access to this RDS for development purposes. However, we’re facing some constraints:

No Bastion Host: We want to avoid managing a bastion as this is a dev database, and our developers need to connect frequently using various tools. No VPN: VPN solutions are also not ideal due to the additional setup and maintenance overhead for each developer. No Direct Connect: Direct Connect is not an option for us due to our office location. Is there a recommended alternative solution within AWS that could meet these requirements? Any insights on securing and simplifying direct access to the RDS instance would be greatly appreciated!

2 Answers
0

You can try deploying an NLB in front of the RDS, you may have to tweak some settings on the load balancer (such as timeout etc)

answered 2 years ago

0

You could use AWS SSM Port forwarding via an EC2 similar to this example. Instead, you can port forward RDS SQL Server. The EC2 can be throw away and launch via an ASG or Launch Template.. Just update the AMi ID each month to the latest to keep it patched or automate patching with SSM Patch Manager. This way you dont need to maintain it

Enter image description here

https://aws.amazon.com/blogs/aws/new-port-forwarding-using-aws-system-manager-sessions-manager/

EXPERT

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.