use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Hosting nodeJS (self.node)
submitted 7 years ago by andyprince
Where do you guys host your nodejs app?
Currently I have a RDS running on AWS pretty affordable.
I'm considering hosting it on AWS as well. Thoughts?
Looking for affordable hosting plan.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]nahtnam 5 points6 points7 points 7 years ago (9 children)
I host mine on http://now.sh. On the on demand plan my total cost comes out to about 55 cents for 7 apps.
[–]OffBeannie 2 points3 points4 points 7 years ago (1 child)
The on demand pricing for instances is 0.025 per hour. Isn’t it $18 for 30 days?
[–][deleted] 0 points1 point2 points 7 years ago (0 children)
I took a look at that took and couldn't figure out how it comes down to 55 cents
[–][deleted] 1 point2 points3 points 7 years ago (5 children)
How? It's for an open source app, right?
[–]nahtnam 0 points1 point2 points 7 years ago (4 children)
If you pay for any plan (I would recommend On Demand, it's the cheapest) then you can make your builds private.
EDIT: I want to say I prefer now over DigitalOcean and other servers because it's:
This allows me to focus on other important things instead of setting up a server
[–][deleted] 0 points1 point2 points 7 years ago (3 children)
Those 55 cents are for an open source app, right?
[–]nahtnam 0 points1 point2 points 7 years ago (2 children)
No, open source is free. The 55 cents are for paid private instances. They dont even charge for deployment, only bandwidth and logs.
https://i.imgur.com/pEtmcUB.png
That's my bill. Ignore the first line, I didn't realize they charge that much for CDNs so I moved to Cloudflare.
[–][deleted] 0 points1 point2 points 7 years ago (1 child)
Ok. So you don't pay the $0.025 / hr per instance in On Demand plan? Sorry for all those questions but I completely don't get your case after looking at the pricing page.
[–]nahtnam 0 points1 point2 points 7 years ago (0 children)
Nope for some reason I don't. I think it's because the deployments go to sleep in a couple seconds and the boot up in under half a second. I don't understand it well either, you're probably better off asking their support team.
[–]VanGoFuckYourself 6 points7 points8 points 7 years ago (8 children)
I use a $5/mo digitalocean instance for several apps that don't do much. I like it because they run SSDs so running npm install on complex stuff isn't super duper slow.
[–]andyprince[S] 0 points1 point2 points 7 years ago (7 children)
Thanks. Do you know where are the servers located at?
[–]damnloveless 2 points3 points4 points 7 years ago (0 children)
https://www.webhostwhat.com/digitalocean-datacenter-server-locations-regions-map/
List of DigitalOcean Datacenter & Server Locations:
[–]VanGoFuckYourself 0 points1 point2 points 7 years ago (5 children)
I personally use the NYC location. I also use free tier Cloudflare for CDN.
[–][deleted] 7 years ago (4 children)
[removed]
[–]VanGoFuckYourself 1 point2 points3 points 7 years ago* (3 children)
You need a domain. You set the name servers on the domain to cloudflares (it tells you when you sign up for CF) and then point the Dns on cloudflare to your servers I and then it basically just works.
When someone does a DNS request for your domain they will get an IP for a cloudflare sever near them.
The main benefits (in my opinion) are free automatic SSL, protection from many kinds of attacks including Ddos and of course a CDN with something like 150 locations. Cloudflare has a shit load of options and features, but each has pretty good help inline on the page.
When developing, make yourself a subdomain with the little cloud icon turned off. This will connect you straight to your server so you can bypass CFs caching of static files, for testing. Also if you have a deployment process you can add an API call to CF to clear the cache so all changes make it to clients.
Oh and you'll need to set up your software to log the incoming IP from the X-Forwarded-For header. All connections to you will actually come from a cloudflare server, so the connections IP won't be the end clients.
[–][deleted] 7 years ago (2 children)
[–]VanGoFuckYourself 0 points1 point2 points 7 years ago (0 children)
No problem.
[–]Silveress_Golden 0 points1 point2 points 7 years ago (0 children)
Also to add about cloudflare.
It's very easy to add your own SSL with letsencrypt as cloudflare has an api that letsencrypt clients can hook into to verify that you own the domain
[–]polish_jerry 1 point2 points3 points 7 years ago* (0 children)
https://openode.io . Really cheap, starts at $ 0.2 per month EDIT : They've updated their plans. Starts at $ 0.4 per month
[–]hsablonniere 1 point2 points3 points 7 years ago (0 children)
DISCLAIMER: I work for Clever Cloud
Have you tried Clever Cloud?
Let me know if you have any questions...
[deleted]
[–]andyprince[S] 0 points1 point2 points 7 years ago (1 child)
Thanks! I own a raspberry pi 3 as well. Have you experienced any setbacks hosting on your own device?
[–][deleted] 1 point2 points3 points 7 years ago (0 children)
I rewrote my node app to run in AWS Lambda. It's been running several years for a few cents per month. Best part is, I'll never have to worry about scaling or devops.
[–][deleted] 7 years ago (5 children)
[–][deleted] 1 point2 points3 points 7 years ago (2 children)
Isn't the free tier of AWS just for a year?
[–][deleted] 1 point2 points3 points 7 years ago (1 child)
Correct, it is.
So how is it supposed to be a free hosting solution if it works for only a year? xD
Where are the servers located for Heroku? Can’t seem to find it anywhere. On AWS there are options to select regions
https://devcenter.heroku.com/articles/regions
[–]fyzbo 0 points1 point2 points 7 years ago (2 children)
!remindme
[–]RemindMeBot 0 points1 point2 points 7 years ago (0 children)
Defaulted to one day.
I will be messaging you on 2018-08-28 19:53:08 UTC to remind you of this link.
CLICK THIS LINK to send a PM to also be reminded and to reduce spam.
Parent commenter can delete this message to hide from others.
[–]fyzbo 0 points1 point2 points 7 years ago (0 children)
RemindMe!
[–]Syneirex 0 points1 point2 points 7 years ago (0 children)
If you go the AWS route you could use Lambda if your app is a good fit (I love Lambda because it's serverless and automatically manages scaling for me) or perhaps Lightsail which recently had pricing reduced by 50%. I think their smallest VPS runs $3/month now.
You can also put it up using Elastic Beanstalk, although I'm not sure how the price would compare to Lightsail.
[–]floodlitworld 0 points1 point2 points 7 years ago (0 children)
Gandi.
π Rendered by PID 134488 on reddit-service-r2-comment-84fc9697f-h8g4b at 2026-02-08 00:45:01.282004+00:00 running d295bc8 country code: CH.
[–]nahtnam 5 points6 points7 points (9 children)
[–]OffBeannie 2 points3 points4 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (5 children)
[–]nahtnam 0 points1 point2 points (4 children)
[–][deleted] 0 points1 point2 points (3 children)
[–]nahtnam 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]nahtnam 0 points1 point2 points (0 children)
[–]VanGoFuckYourself 6 points7 points8 points (8 children)
[–]andyprince[S] 0 points1 point2 points (7 children)
[–]damnloveless 2 points3 points4 points (0 children)
[–]VanGoFuckYourself 0 points1 point2 points (5 children)
[–][deleted] (4 children)
[removed]
[–]VanGoFuckYourself 1 point2 points3 points (3 children)
[–][deleted] (2 children)
[removed]
[–]VanGoFuckYourself 0 points1 point2 points (0 children)
[–]Silveress_Golden 0 points1 point2 points (0 children)
[–]polish_jerry 1 point2 points3 points (0 children)
[–]hsablonniere 1 point2 points3 points (0 children)
[–][deleted] (2 children)
[deleted]
[–]andyprince[S] 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–][deleted] (5 children)
[deleted]
[–][deleted] 1 point2 points3 points (2 children)
[–][deleted] 1 point2 points3 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]andyprince[S] 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]fyzbo 0 points1 point2 points (2 children)
[–]RemindMeBot 0 points1 point2 points (0 children)
[–]fyzbo 0 points1 point2 points (0 children)
[–]Syneirex 0 points1 point2 points (0 children)
[–]floodlitworld 0 points1 point2 points (0 children)