Forem

StuartCreed
StuartCreed

Posted on • Edited on

Deploying a MERN stack

Solution 1: Heroku (https://www.heroku.com/)

Positives: Easy set up. Uses Docker containers within Amazon EC2 instances so that you only pay for what you use (PAAS).
Negatives: Costs £7 a month. Free tier times out your container after 30 mins of inactivity.

Solution 2: Amazon AWS EC2 Linux Instance.

Positives: This is a full machine (not a container) so you can configure it to your hearts content. This is available in the Amazon Free Tier for 12 months.

Negatives: Costs £14 a month after the first 12 months. You have to set up the server yourself, but you would be surprised how easy this is to do with NGINX or Apache. This article shows you how to set one up using NGINX https://link.medium.com/SvBPqJdXH5

Solution 3:
Amazon Lightsail

Positives: £3.50 a month so cost effective. MERN environment and apache server already set up.

Negatives: A restricted machine - but will allow a vast majority of what you need for Web Development. It is essentially streamlined EC2 machine with everything you should need for web development already set up.

💡 One last tip before you go

Tired of spending so much on your side projects? 😒

We have created a membership program that helps cap your costs so you can build and experiment for less. And we currently have early-bird pricing which makes it an even better value! 🐥

Just one of many great perks of being part of the network ❤️

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay