# NodeJS Deployment

**URL:** <https://forum.freecodecamp.org/t/nodejs-deployment/162491>\
**Category:** General\
**Created:** [December 6, 2017, 12:12pm UTC](https://forum.freecodecamp.org/t/nodejs-deployment/162491 "2017-12-06T12:12:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![icanandiwill23](https://avatars.discourse-cdn.com/v4/letter/i/96bed5/32.png) [@icanandiwill23](https://forum.freecodecamp.org/u/icanandiwill23)\
**Post date:** [December 6, 2017, 12:12pm UTC](https://forum.freecodecamp.org/t/nodejs-deployment/162491/1 "2017-12-06T12:12:52Z")

</div>

Hi, I’m a beginner on web development and I decided to pursue NodeJS as backend development.

As of the moment I’m almost done with the tutorial I’m currently in, then it occur to me does deploying NodeJS website more expensive than PHP base website?

I mean NodeJS itself does not contain database and email and to do that I either need to use.

1. Cloudmailin / Mailgun - for emails
2. mLab - for databases

and those two are expensive and limited in storage unlike in PHP where if you subscribes in a hosting company emails and database are already unlimited not to mention far more cheaper.

I need guide from experience NodeJS Developers on how to they tackle cost on deploying NodeJS websites.

---

<div class="post-metadata">

**Author:** ![prohorova](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/prohorova/32/69080_2.png) [@prohorova](https://forum.freecodecamp.org/u/prohorova)\
**Post date:** [December 6, 2017, 2:24pm UTC](https://forum.freecodecamp.org/t/nodejs-deployment/162491/2 "2017-12-06T14:24:57Z")

</div>

mLab basic plan is free.  
For sending emails you could use nodemailer with gmail and this would also be free.

---

<div class="post-metadata">

**Author:** ![kevinSmith](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/kevinsmith/32/72934_2.png) [@kevinSmith](https://forum.freecodecamp.org/u/kevinSmith)\
**Post date:** [December 7, 2017, 6:01am UTC](https://forum.freecodecamp.org/t/nodejs-deployment/162491/3 "2017-12-07T06:01:42Z")

</div>

I use mLab for the databases and heroku to deploy the server.

---

<div class="post-metadata">

**Author:** ![raddevon](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/raddevon/32/96138_2.png) [@raddevon](https://forum.freecodecamp.org/u/raddevon)\
**Post date:** [December 8, 2017, 1:21am UTC](https://forum.freecodecamp.org/t/nodejs-deployment/162491/4 "2017-12-08T01:21:29Z")

</div>

You can use some of the lower-cost resources on AWS free for a year when you first create an account. You could deploy your app on ElasticBeanstalk and run your database on RDS (or use Dynamo if you want a NoSQL database).

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 17, 2021, 8:32pm UTC](https://forum.freecodecamp.org/t/nodejs-deployment/162491/5 "2021-01-17T20:32:45Z")

</div>

Closed on January 17, 2021, 8:32pm UTC


