menu

Spectrum Support

Spectrum is a community platform for the future. This community is a great place to ask questions, request features, report bugs, and chat with the Spectrum team.

Channels
Team

How to deploy the Open Source project to production?

April 4, 2018 at 10:42am

How to deploy the Open Source project to production?

April 4, 2018 at 10:42am

April 4, 2018 at 10:44am

Thanks, I saw that. Was hoping there was more details. I tried deploying athena but got this error. Any ideas?

  • reply
  • like
  • reply
  • like

Are there any specific instructions around setting up Redis and RethinkDB on AWS?

  • reply
  • like

Running `now` to build the frontend app by itself, without anything else doesn't work either.. :(

  • reply
  • like

Sorry, we never thought we'd have anybody else also deploying it from scratch! In general, you're going to need to supply all the secrets listed in now.json

  • reply
  • like

We had a contractor set us up with a RethinkDB instance on AWS, I unfortunately don't know a ton about that part of the setup

  • reply
  • like

We also have two instances of Redis, one for caching the HTML that's rendered on the server (with an evict policy of lfu or lru I forget) and one for the background jobs queue. (with a no-evict policy since we remove completed and failed jobs automatically)

  • reply
  • like

We host those on Redis Labs, but anything works there

  • reply
  • like

Yeah, even the frontend rendering server needs access to the database so if you don't have RethinkDB setup it won't work

  • reply
  • like

April 4, 2018 at 11:45pm

I see.. Thanks for responding. Turns out there were some issues with Zeit last night so my deploys weren't working as expected. Still trying to figure out how to work RethinkDB though

  • reply
  • like

April 5, 2018 at 9:53am

@denny maybe try using compose.io? They have easy RethinkDB hosting, the only downside is that their datacenter isn't the same one as the Zeit one so you'll have some additional latency

  • reply
  • like

April 12, 2018 at 6:35am

@mxstbr I've already learned a lot from your deployments readme, 🤯thank you!

I noticed that people deploying the app have the opportunity to manually test the hyperion worker -- do you do anything to test deployed builds of the other worker servers before aliasing them?

  • reply
  • like

The worker servers are automatically connected to the production redis instance, so even if you don't alias them they're "live"

  • reply
  • like

There's currently no way to "stage" worker servers

  • reply
  • like

April 16, 2018 at 1:59am

Anyone deployed successfully using now-cli? I failed with https://github.com/zeit/now-cli/issues/1247 this issue, don't know if it's now's problem or my config problem.

  • reply
  • like

I tried build without now-cli, but seem to have to change many codes. I'll continue build manualy

  • reply
  • like

Yeah that's a Zeit bug at the moment unfortunately @xcaptain

  • reply
  • like

July 16, 2018 at 6:50pm

Docker deployment guide?

  • reply
  • like

January 5, 2019 at 3:02am

I also want to learn more details on self hosting.

  • reply
  • like

March 7, 2019 at 9:59pm

Has anyone been able to deploy using rethinkdb on aws? I thought I finally had it working but I'm having an issue with the rethinkdb TLS configuration . I created a key.pem and cert.pem and updated the service .conf file, but now the service won't start. I'm not really sure where to put the key and cert files so I think the service is failing without any logs because the files are in the wrong place.

  • reply
  • like

I ended up using Compose for both rethinkdb and redis for now.

  • reply
  • like

March 8, 2019 at 7:16pm

Fwiw we also use Compose for both RethinkDB and Redis again, we moved back after the acquisition.

like-fill
1
  • reply
  • like