All threads / How should I go about setting up a staging environment on Hatchbox w/ DigitalOcean?

Ask A Question

Notifications

You’re not receiving notifications from this thread.

How should I go about setting up a staging environment on Hatchbox w/ DigitalOcean?

Mario asked in Servers

So I've set myself up with Hatchbox on DigitalOcean. I don't think I want to deploy seperate environments on the same server. But if I create an entirely seperate cluster I am afraid of racking up costs (ideally I'd want costs of the staging environment to be negligible).

Should I just replicate the steps I took to set up my production cluster for my staging cluster and somehow "turn off" these droplets when I do not use them to avoid racking up costs? Would this approach work?

Generally for staging, you can just deploy the app to a single server to save money compared to the production fully load balanced cluster.

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 35,909+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.