How Do I Set Up a Staging and Production Environment With a MERN Stack?

Linode Staff

In layman’s terms, what is the best way to setup a staging and production environment on Linode? We are using a MERN stack, but I would like to setup a workflow so we can deploy to staging and then to production when we are ready. Any ideas or tools you have seen work well on Linode?

I just need some direction if possible, I have a team of devs I'll relay it too.

1 Reply

Hey there,

There are a few things that should be able to help out here. The first is our MERN Stack One-Click App you can find in the Linode Marketplace. This will automatically deploy a Linode and configure it with the MERN Stack for you, which should help you migrate over to Linode a little quicker.

After you've moved your app over and it's up and running, I'd highly recommend looking into Terraform to help automate and setup a staging environment. Terraform has a great guide on some of their best practices to get this set up, and we have an official Terraform Provider which makes integrating with Linode that much more seamless.

If you have any other questions, feel free to let us know!

Regards,
Ryan L.
Linode Support Staff

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct