How to deal with an existing Aurora MySQL database and serverless functions?

Viewed 207

I am stuck in my current situation: I have a regular Aurora MySQL RDS cluster and some apps that make use of it (some query the database constantly), now I also have a Next.js application hosted on Vercel, this moment I realised I cannot connect to the database in my serverless functions.

How can I deal with this situation? I figured one easy way would be to migrate to Aurora serverless but I think that will be expensive because of the apps that constantly query the database (both the serverless function and apps should access the same data)

0 Answers
Related