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 Antwort
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
EXPERTE
beantwortet vor 4 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen