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 Risposta
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
ESPERTO
con risposta 4 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande