caltonjiC
Convex Community6mo ago
3 replies
caltonji

Multi Tenant Automated Deployments

Hello! We're onboarding Convex for our NextJS service. We run multiple deployments of our service (single tenancy), we package our NextJS app with Docker and deploy to AWS using CDK. Do you have any advice for how to integrate the Convex prod deployment steps into our workflow? We want to make sure that Convex code is always in sync with our NextJS code.

Alternatives I've considered:
- Run an additional script with every deployment of our NextJS server that will run npx convex deploy with the /convex that we packaged with the NextJS image
- Run npx convex deploy as a startup script for our NextJS project

Do you have any recommendations?
Was this page helpful?