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 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则