Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Hosting Node JS Apps

  • 12-12-2016 10:06AM
    #1
    Registered Users, Registered Users 2 Posts: 1,298 ✭✭✭


    Hey everyone,

    wondering if anyone has any advice about hosting node js apps. I'm currently looking at digital ocean but I notice that it requires an absolute ton of setup for basic security. I wouldn't be anywhere near a beginner never mind an expert in server side security.

    Anyone recommend a one for all package that could host something like this?

    Thanks.


Comments

  • Registered Users, Registered Users 2 Posts: 403 ✭✭counterpointaud


    I presume you mean Digital Ocean? That's what I am using for personal projects at the moment. If you are not comfortable configuring the deployment, maybe look into Modulus or Heroku? Will cost a bit more though.


  • Registered Users, Registered Users 2 Posts: 1,298 ✭✭✭off.the.walls


    I presume you mean Digital Ocean? That's what I am using for personal projects at the moment. If you are not comfortable configuring the deployment, maybe look into Modulus or Heroku? Will cost a bit more though.


    Yep meant digital ocean! long night trying to figure it all out! i know heroku gets much more expensive a lot faster. Haven't heard of modulus though cheers for that! :)


  • Moderators, Business & Finance Moderators Posts: 11,048 Mod ✭✭✭✭Jim2007


    Have a look at WebFaction, even on their shared plan you can do some interesting stuff:  Eddies.  This is actually a standalone web server listening on port to which their web environment forwards requests, each session gets a clone of the database so your edits will not impact other users and your changes are discarded after your session ends.
    Here is the documentation on running node applications.


  • Registered Users, Registered Users 2 Posts: 403 ✭✭counterpointaud


    Do any of the managed solutions offer an easy way to deploy a node app configured to run behind a reverse proxy (NGINX or similar)?


  • Moderators, Business & Finance Moderators Posts: 11,048 Mod ✭✭✭✭Jim2007


    Do any of the managed solutions offer an easy way to deploy a node app configured to run behind a reverse proxy (NGINX or similar)?
    Yes that is exactly what is happening with the demo application above, although it is a custom application (binary) rather than a node app.  Perhaps the image from their documentation can help:
    inside-the-server.png
    Disclosure: I'm not associated with Webfaction in any way.  Just a happy customer.


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 403 ✭✭counterpointaud


    Jim2007 wrote: »
    Yes that is exactly what is happening with the demo application above, although it is a custom application (binary) rather than a node app.

    Ah interesting... yeah that wasn't clear from the node app docs. Nice that it's by default. With Heroku you have to jump through a few hoops to get this.


  • Moderators, Business & Finance Moderators Posts: 11,048 Mod ✭✭✭✭Jim2007


    It is also very easy to install your own SSL certs etc.  And they also support Lets Encrypt SSL certs:
    https://cpbotha.net/2016/07/18/installing-free-lets-encrypt-ssl-certificates-on-webfaction-in-3-easy-steps/


Advertisement