Connect to (Private) RDS from Nextjs on vercel

0

I want to connect my nextjs application deployed on vercel to rds postgres (single instance) but I want to keep it private, what would be ideal way to configure rds to allow this.

Looking for a pragmatic solution, thanks!

1 Answer
0

It looks like you would need to take out an Enterprise Plan to use Secure Compute with Vercel.

They look like they are hosted on AWS and there for you have 2 options..

  1. Setup a Site to Site VPN with your VPC so that your Front end can connect to your RDS privately.
  2. Use VPC Peering to peer your Front end VPC with your BackEnd RDS instance VPC

https://vercel.com/docs/security/secure-compute#vpc-or-vpn-support

profile picture
EXPERT
answered 4 months 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.

Guidelines for Answering Questions