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 個回答
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
專家
已回答 4 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南