Why hosted NodeBB is so expensive?
-
@jminer said in Why hosted NodeBB is so expensive?:
it's a lot of work to do it yourself.
I completely understand and agree
-
@macfan ...so expensive compared to what?
Summary of the price entry points:
FREE - On your time, on your dime - light & heat, food to eat
Free at a price - $5 p/month / $60 annual - DIY install, 3rd party Host (e.g. Digitalocean base droplet)
Paid Tiers: Start form $250... up to "how deep is your pockets"
-
@julian Were I needing to minimize costs as much as possible, I would be considering repurposing a retired PC running Unix/Linux (whatever whomever is going to undertake this endeavor favors), set up DynamicDNS, and then route everything to that PC. Maybe put an OpenBSD packet filtering router ahead of everything to keep packets sorted. Toss an inexpensive but high VA UPS into the mix....
Zero additional costs since piggybacking on existing internet connection. Presume low traffic/development box. Once you need more, you will hopefully be able to afford a virtual machine from your preferred provider.
My shootin' from the hip $0.02. You get what you pay for. Caveat emptor.
-
@gotwf The reason why we went with DigitalOcean (or Linode, or Hetzner, or any other "VPS as a service" offering) is because I explicitly don't want to handle bare-metal servers.
There are significant cost-savings to be had, but at the same time, if things go belly-up on a Sunday at 3 in the morning, who gets paged? Me!
On the other hand, using DO give us significant cost savings compared to if we had built our infrastructure on Heroku, GCP, AWS Lambda, etc...
On the latter point, I haven't actually done the math, so maybe a deployment on Lambda could end up being more cost effective, so who knows.
All I know is I also like shell access
-
@julian Indubitably.
But for five bucks at an yard sale even the most financially challenged can play around with NodeBB, for near free, presuming an existing Internet connection, if they are willing to do the work.
Cost benefit ratios are not static bottom line beans, but rather fluid, dynamic, contingent upon perspective. The cost of a $5/mo vitrual machine is, indeed, in the eye of the beholder... errrmmmmm..... responsible party.
Peace. Out.
-
If you're a small user, are willing to spend some time tinkering without considering it a form of payment and can accept signing your soul to Oracle, forever doomed to enterprise marketing calls (actually seems like they stopped that some time ago, used to be that when you created a free account you'd get at least one call asking you about what were your needs and what would you need from Oracle Cloud to realize them or something like that), you can actually host NodeBB entirely for free.
Oracle Cloud seems fairly desperate to grab customers and as such is offering a fairly absurd Always Free tier, with a max of 4 VPS servers with 4 ARM cores (and a single hyperthreaded x86 core) to divide between them.
NodeBB works totally fine on ARM - Node is thankfully mostly platform agnostic - so after getting through some small networking hurdles if you're using Ubuntu (just install
firewalld
. It's the easiest way to make their default iptables config just work without the risk of making the VM unbootable by blocking its iSCSI boot disk, which ufw can apparently do), or just going through a normal config on Oracle Linux (Oracle packaged RHEL) or CentOS*, it works totally fine.
I didn't test it on a single core instance, but on 2 cores (admittedly, with some other things running in the background) a full build takes 63 seconds in total, with webpack responsible for 53 of those, which seems reasonable enough.A fresh server hosted on the VPS I was testing the build times on, if someone wants to check how well it works: https://demo.nodebb.opliko.dev/ (I will probably shut it down in a few days though)
You can host for free without a standard VPS too. There is always Heroku, Railway and Glich, which both offer essentially a small server with a shared core and 512MB of RAM, (and fly.io which lets you run 3 apps with a shared core and 256MB of RAM, but I think it might be worse for this purpose) though under slightly different models than a VPS. I've seen people run NodeBB on Heroku here before, and have got it to work on Glitch as an experiment, though I'm not sure how the switch to Webpack affected build times - at least on Glitch they were quite slow before 2.0 already. But it's not like you need to do that often.
When it's running though it works fine, but I wouldn't try to run a DB alongside them there even if you could - for that you'll probably want a free MongoDB Atlas instance, which is quite neat, but limited to 512MB of storage, so not suitable for a large forumSo on the topic directly - NodeBB hosting isn't really more expensive than any other app that requires a connection with a server-side component and a database.
It's just that few PHP applications had the connection part and since they were so popular received first class support across web hosts, but we're currently seeing a major change in that paradigm as newer universal (railway, fly, heroku was really ahead of its time) and "serverless" (every cloud host now has one...) runtimes become commonplace.
The latter are probably now starting to become feasible for a NodeBB-like app, as more and more start supporting websockets for real-time communication (AWS Lambda, Cloudflare Workers, Deno Deploy/Netlify Edge Functions).
So as an aside @julian I just wanted to note that you probably didn't do math on Lambda paritally because it only made sense since 2019 when it WebSocket support via API GatewayIn the meantime, just renting a small VPS has also become absolutely affordable for individuals - there are many hosts that offer something reasonable for <$5 a month (Hetzner that was mentioned before, OVHCloud which I used for some time and was also totally fine, Vultr, Hostinger and quite a few others with similar models and pricing. Even on AWS you can get something decent for that price if you're willing to reserve it for a year or more).
The managed hosting is for larger sites and aimed at businesses/groups, not people who just want a place for a few dozen people. And for them labor costs might eclipse the managed hosting quite quickly.
Also, the hosting pays for development and maintenance of the software, so I find a bit of a premium to be quite reasonable. OSS doesn't make itself yet, and I personally find the "offer managed version" to be one of the most reasonable ways of maintaining it that doesn't rely on pure goodwill of the community.
-
@julian said in Why hosted NodeBB is so expensive?:
On the latter point, I haven't actually done the math, so maybe a deployment on Lambda could end up being more cost effective, so who knows.
Uhh... only the shawdow...??
Seriously, this is some cool 'chit.
And I agree completely about offloading the hassle of maintaining the metal onto someone else's plate.
But that does not necessarily satisfy my initial constraint:
@gotwf said in Why hosted NodeBB is so expensive?:
Were I needing to minimize costs as much as possible, I would be considering repurposing a retired PC running Unix/Linux
Cuz I presume this would be free! And adequate at least for the purposes of:
@gotwf said in Why hosted NodeBB is so expensive?:
Presume low traffic/development box. Once you need more, you will hopefully be able to afford a virtual machine from your preferred provider.
The price of "cheap" is still not "free", however, as you'll need to invest greater time and energy to offset a lack of funds.
But at least yer' still getting to explore NodeBB, eh?
Heh, corollary: I learned a helluva' lot of cool stuff bitd prior to the existence of clouds and vm's from tinkering around on stuff I picked up for near free at yard sales.
-
@gotwf said in Why hosted NodeBB is so expensive?:
Were I needing to minimize costs as much as possible, I would be considering repurposing a retired PC running Unix/Linux
My first ever home server was actually a Compaq PC running an AMD K6. It was slow as molasses and slower still because I tried to have it serve MediaWiki.
It's funny how you get more computing power out of a Raspberry Pi now (which you can also run NodeBB on, FYI.)
-
@julian Hmmm..... nostalgic waxing...
I wonder if these Cray's could have run NodeBB bitd...
Which is "about equivalent" to modern iPhone.