Hello all! Out of curiosity - what is most people’...
# orm-help
s
Hello all! Out of curiosity - what is most people’s set up in terms of creating a local, test, staging, and production environment? I haven’t found a solid recipe as I know you can deploy to AWS, but manage your DB’s via Heroku, but at that point why don’t you just manage all workflows/environments on Heroku? Any comments are appreciated and for reference i’m planning to go with Prisma 2.
r
Hey Stefan 👋 As I'm using AWS, my setup for this would be creating RDS DB's on AWS for
staging
and
production
. The dev DB would be local to my machine itself. The deployment would be handled via different branches for those environments and DB endpoint would change accordingly for the
schema.prisma
file. Also, I would host the application on an Instance or Beanstalk, whichever is easier on AWS.
s
Hey Ryan! Thank you for your response - much appreciated! Overall - was deployment something you looked to configure from the beginning of your projects or after? I’m looking to create and deploy each environment from the beginning. Let me know if you recommend any docs for deployment to AWS as the only ones i’ve seen for Prisma is AWS Lambda.