Best approach for test and production instance of discourse

Hello,
I’m about to create a discourse instance on a Digital Ocean cloud server as per the guide.

For the beginning, we are using discourse in a slim/default configuration but extending step by step. For familiarizing we would like to use the test instance occasionally.
What approach is smarter doing so

  1. same server behind a reverse proxy
  2. multisite

as summarized on Sandbox and test discourse on host?.

I know that first requires more RAM, as answered in Two standalone instances on one server? - #26 by schleifer but it runs only occasionally.
There are other topics around this question:

  1. Multiple discourse instances in a single server
  2. Running other websites on the same machine as Discourse
    but there is pro | con comparison.

Another goal of this exercise is to familiarising with:

  1. backup
  2. relocating
  3. migrating content
  4. migrating settings
  5. migrating single discussions

a use case is that we discuss something in the prod. instance, move the forum content (entire database), test it on the test instance and move the discussion back to podc. by single discussion export/import and copying the changed settings as may we test and approved a plugin.

Multisite does no good for a test server. If you upgrade to test if there’s a broken plugin, both sites are hosed.

Same server behind reverse proxy is OK, but lots of trouble; it it’s not hard for you, then one of the “multiple discourse instances” solutions could be good for you. The easiest is a separate server and have them both share an S3 backup bucket so that it’s easy to restore data from the production site to the dev site to see how things look. That’ll also convince you that you can crank up a new server with the most recent backup.

that is really cheap :slight_smile: better than OD solution, how to push backups automatically to S3 from DO?

could you tell me what is the trouble :upside_down_face:
as we are on low cost approach (for the very beginning). So

is preferred to be avoided

You could then just have both containers have the same backup volume and skip searching for how to configure S3 backups.

nginx proxy rings a bell, will see how I get along with it :yum:

1 Like

Best approach imo is to minimize fussing and complication. Just get 2 droplets and call it a day.

2 Likes

I did it with one but ended up not being able to send the verification email, DigitalOcean + Siteground Email via port 465 won’t work (2525 will work) :face_with_symbols_over_mouth:.
Now I start from scratch following the installation guide, including a mailgun account :face_vomiting:.