The easiest way to do this is with PlanetScale which has a free tier to get started. When using PlanetScale, make sure your database's region matches

Search code, repositories, users, issues, pull requests...

submited by
Style Pass
2024-11-22 14:30:27

The easiest way to do this is with PlanetScale which has a free tier to get started. When using PlanetScale, make sure your database's region matches the region that Vercel or Netlify will use. This is usually us-east-1.

If deploying to AWS with the Serverless Framework for the first time, check the Serverless Framework docs to get up to speed and run serverless deploy when ready.

For more information about creating environment variables, see here for Vercel and here for Netlify. Remember to redeploy your project after updating the environment variables if you update them after initially deploying your project.

Leave a Comment