Migration to a Self-Hosted solution from Kubernetes

Hi All,

I have been running Discourse in a Kubernetes cluster for a while using the unsupported Bitnami image. Now that Bitnami are deprecating the image and going behind a paywall I am looking to migrate our server to a self-hosted solution on AWS.

I have a few questions that I would be grateful if the community could help with:

  • We use an external Postgres DB already for the installation and so this will stay in place. However, we updated some settings via the UI and also using environment variables that the Bitnami installation scripts maps to the Discourse, for example DISCOURSE_S3_BACKUP_BUCKET maps to S3_BACKUP_BUCKET.
    • Is it good enough to set the Discourse settings in the required yaml files or should we still use env vars?
    • If we do a backup from the UI what will that actually restore - does it update the database?
    • Is it better to create a brand new database with a fresh install and then do a backup/restore?
    • If the new install is a later version of Discourse will that cause a problem if a restore is attempted?
  • The standard installation guide uses Docker - how do you monitor the containers in a production environment as it looks like the standard install is a single VM with Docker.
  • Are there any documents that detail a migration and any gotchas?

Am sure I will have more questions as the migration goes on but any advice/help that can be given would be really appreciated.

Thanks.