How to deploy an app to production (self-hosted Teams plan)

Hi everyone!
So i'm nearing the end of building of an app and very excited about it.
I have some questions below.

  1. My goal:
    I want to deploy a finished Retool app from the staging environment to the production environment on our self-hosted instance, with separate DBs and Retool resources configured for each.

  2. Issue:
    It's unclear whether the recommended deployment flow is simply:

  • Exporting the app from staging
  • Importing it into production
    ...or if there’s a more formal way to promote apps between environments on the Teams plan.

I want to be sure I’m following best practices.

  1. Retool version & hosting setup (Docker, K8s, cloud provider, etc.):
  • Retool Teams Plan (self-hosted)
  • Hosted via Docker on an AWS EC2 instance
  • One container running both staging and production environments (via environment config)
  • Separate Retool resources for staging DB and prod DB
  1. Error message(s) or screenshots:
    N/A – this is more of a deployment workflow clarification.

  2. What I’ve tried so far:

  • Created two DBs on the same PostgreSQL server
  • Hooked the staging DB to the staging environment
  • Hooked the prod DB to the production environment
  • Looked through Retool docs but couldn’t find a definitive guide on promoting apps from staging to production in a self-hosted context

Thanks in advance!
Jana

Hi @Jana_Rink,

I would love to hear from some other users in the forum that have done this with the Teams plan :sweat_smile:

It sounds like you are following best practices as you migrate the resource over from user staging DB/env to a production env.

If the app is working as intended, then you just need to import/export and then make sure the resources/queries are wired up to the new data sources.

I was just going over our docs and our details on Multi-instance deployments as well as our version control features are listed as being for Enterprise only currently.

Definitely refer back to our docs on any specific questions for self hosting!

Hi @Jana_Rink,

Any other questions or updates on how this process went for you? Moving an app from staging to production for self hosted is at the end of the day, up to you as a user to determine what changes need to be made besides the data sources and any logic you want running on your live app :sweat_smile: