18
devTea
5y

Question again about hosting web apps, has anyone using the paid bills for heroku? Since they gave 1000 hours uptime for their free version, is it possible to still use it for a web apps? And mix the bills for another web apps? Or is it better to host under vps?

Comments
  • 3
    I'd say go vps all the way, get dirty with bash and perhaps docker, ci/cd and enjoy Iaas to its fullest.

    I've worked with heroku before and I find it personally easier to DIY than to figure out how to make feature X work in paas. But that's just personal experience

    So it really depends on your resources, use-case, requirements and experience
  • 3
    Try heroku first.

    - Business perspective
  • 2
    @alexbrooklyn @cursee never get dirty before, and heroku seems like going to be pricey with multiple apps, where do I read how to set up web apps on vps? It’s just multiple node.js apps, and what about the domain name?
  • 4
    @devTea domain name is quite easy, just add an A record with your ip address and that's usually all you need to get started (perhaps add a www A record too)

    Running a node server without docker on a vps requires most likely a different program or systemd configuration to make sure the process runs in the background and doesn't quit right after you close your ssh terminal, but there are quite a few tutorials out there on how to do that :D

    SSL/TLS might require some more work since you'd need a reverse proxy to handle that, basically a server running in front of your server that makes sure https is enforced. I'm not sure who your provider is/will be but DigitalOcean has some one-click vps instances so that you don't have to configure everything yourself :D

    I'm still relatively new to servers, so if I made any mistake in this comment please correct me so that I don't misinform anyone
  • 3
    Try the 12r server.

    https://www.1blu.de/server/vserver/

    You can run a different node app under each domain or subdomain. With plesk node support is build in.

    I have Ubuntu as OS and my own mongodb installed on it.

    And it runs 24/7 and no problem with traffic and so on
  • 2
    @alexbrooklyn damn seems like a worth of experience, I’ll take a look later

    @JackToolsNet I will, thanks
  • 2
    @alexbrooklyn yep that's correct

    To run nodejs app in background you can just use pm2
  • 3
    Heroku is nice and saves you time and effort, but it is more pricey.
  • 2
    @Root the rate per hour on hosting is calculated 24/7 or whenever someone access it?
  • 2
    Not sure which VPS you are planning to buy. Check digital ocean tutorial and knowledge base sections. They have some useful content there.

    If you use discord, feel free to buzz me at @cursemeslowly Or cursemeslowly@tutanota.com

    Fellow web developer here with 7yr-ish experiences with Digital Ocean droplets.
  • 2
    @cursee yeah either DO or Linode, whichever appeal to me based on pricing and simplicity

    Also need your discord tag
  • 1
    @devTea cursemeslowly#8699
  • 1
    @cursee blocked 😂 try mine @devtea#6234
  • 1
    @devTea strange 😶
  • 2
  • 3
    @cursee @devTea Added the both of you.
  • 2
    What the crap, @cursee?!
    Delete that!
  • 1
  • 2
    @devTea 🤦‍♀️🤦‍♀️🤦‍♀️
  • 1
    Ooops 😁
  • 3
  • 2
    @Root 😁😁😁 sorry. Consider it as a double espresso affect (FOC) 😛
Add Comment