We run on the cheapest Hetzner VPS we can, which is about $8 USD/month. Pictrs are on cloudflare R2. Pictrs storage hovers around 14GB and we have yet to get a non-zero invoice.
Our active users are super low (I think). I don’t think the lemmy interface tells you the number of active users for in instance, just for communities, but since it’s a niche instance I can safely say it’s around 10 people.
So that’s a little less than a dollar per month per user. On the existing VPS I think we could safely add a bunch of users without needing to upgrade.
I don’t think the lemmy interface tells you the number of active users for in instance
I think what you see on the main page (at the bottom right, just below the instance description/rules) is the instance’s specific stats.
Oh that’s cool. I was right, only 9 monthly users.
Good question!
Mine’s a small instance and runs on my existing infrastructure, so my only real cost (aside from a crazy amount of time and stress) is the domain name which is about $20/year.
If I moved it to dedicated infrastructure, I’ve estimated it would cost me about $65/mo for just the backend, UI, and database services (to maintain the same level of performance, anyway. Could probably host it for less and take a performance hit). Object storage for pict-rs would probably be around $10/mo since I force it to use
webp
and have a 512 KB limit for user uploads.Thanks for sharing! What would be the reason to move it to a dedicated infrastructure, you not needing your existing infrastructure?
What would be the reason to move it to a dedicated infrastructure, you not needing your existing infrastructure?
Yeah, that, or if I decide one day I don’t want to deal with my own hardware anymore. I’ve got a hybrid cloud setup currently, but most of the heavy services run on my own hardware for cost/performance reasons (and I have fiber, so might as well use it lol)
Would you mind sharing your active user count?
its public across the verse at https://fedidb.org
ptz’s for instance (heh) https://fedidb.org/network/instance/dubvee.org
For others, the number is 8 “monthly active users”.
As this instance is partially operating on “free” hardware, it’s unlikely one can host an instance for much cheaper.
For me it’s zero. In addition to reusing existing hardware, I have a subsidized internet connection that I reuse to connect my instance, and even the domain name is free.
Of course I also have fewer users - excluding me, zero.
Ditto
k8s cluster + nix flakes
Oh man, I feel like eviltoast.org is on the expensive side of things now. There’s less than 20 mau, but I pay close to $400/mo. Not including object storage or hardware running at home.
Realistically this is hosted on hardware I was already renting for other reasons, so actual cost is zero for lemmy itself. I could probably migrate to a small vm for $20/mo and only lose redundancy.
There’s less than 20 mau, but I pay close to $400/mo.
Wait, what?
It’s infra that was already hosting other things. Lemmy got added to it because there were spare resources in the cluster.
Lemmy.zip stats can be found here: Lemmy.zip
Our Admin gives us a monthly report. We are at 54$ while visitor count, rewlquest count can be seen at the report.
$54/504, so around $0.11 per user
There are additional costs that aren’t factored in (although they’re not specifically lemmy, and I pay for them myself rather than use donations) such as a very cheap vps for our status.lemmy.zip page and i got a 3 year deal for an external email provider for less than some email providers wanted a month.
Our server is the same one feddit.uk use (a hetzner auction server) although lemmy.zips I think was a touch more expensive per month. But it’s got a lot of room for growth.
Also we now host all our backups offside too, which adds a little on top. I’ll probably cover this in the next server update.
Yes about 0.10$ per user. But we know only a few pay a bit more. Look at the open collective link on the post
6.84€ per month. And that’s 6.84€ per user.
This instance runs on the cheapest Hetzner VPS, so €4.18 per month plus yearly domain cost. Right now there is only one active user on this instance so the price for an active user is a bit high, but I don’t really care because I would pay for a VPS even when I don’t run a Lemmy instance on it.
I managed to bring down ani.social’s monthly costs to only ~14 USD when converted (which includes everything except backups). With 165 monthly users, that comes to around ~0.08 USD with a lot of accomodation.
Lemmy is efficient in resources except in storage (database and images) which grows infinitely. Unless you’re purging older posts and images, it keeps growing (very slowly).
How much storage per user per time, would you estimate?
Right now: 0.3GB per user per month. This number is probably much higher for other instances because I don’t keep copies of federated images anymore and I’ve been compressing images early on.
This doesn’t include bandwidth and backups.
That’s pretty high… Leads me to consider hosting an instance on local hardware. I know that’s a whole security mess to deal with, but it night be worthwhile since I have lots of spare storage.
Is the shutdown about cost per user? why not just limit signups in a case like that? I sorta assumed some instances were personal instances with no real signups and some where more open public. I don’t see why someone can’t run something with the intention of carrying like 10 users max or 100 or 1000 or what not.
I think a lot of people start up a server because at the time it fits with what they want to do. Once you realize this is not a job (correct description) you wanted to take on it becomes much harder to motivate it.
As soon as you run a server for others outside of the immediate friends/family circle it can be really difficult to deal with the expectations of uptime and service. Also, some don’t want to ask for help but also take on all the moderation themselves too.
how much can someone limit the instance? Like can they not allow magazine creation? It would be good for the good folks who run instances to think about scope and set limits. That does mean some large instances will be the backbone but that does not change that small instances will lighten the load and increase robustness.
From the comments I see, feddit.uk seems to have the lowest unit costs with 11 pennce.
Reminds me of Mary Poppins
I pay around 80€ per month for the lemmy.ml server, plus a few euros for image hosting and domain. So that’s around 3 cents per active user.
that’s quite low. There must be a lot of barely active users
2.39K monthly active users
4th most active instance (https://fedidb.org/software/lemmy/ )
Hosts 10 of the 100 most active communities (https://lemmy.ca/post/26878531 )
Why is it low? Lemmy scales very well and isn’t resource intensive
ML became an echo chamber and many have fled.
I have heard it is ban heavy, but it is still quite active in the memes and the Linux communities, and I enjoy both.
If you are interested, there is !linux@programming.dev and !opensource@programming.dev for linux and open source communities which are not on .ml nor .world
Thanks! I like programming.dev and will participate in those more now (however I don’t have a problem with Linux @lemmy.ml. I believe the ban heaviness of lemmy.ml is politically motivated, but that doesn’t effect Linux content much.
Until you mention that you don’t mind select proprietary packages or drivers.
An echo chamber that if you say something they don’t want to hear, you know, like the truth, you catch a ban.
It’s lower than every other number I’ve seen in this thread by far
Looking at the domain name, they’re in Mali. Things must be cheap out there.
They don’t live in Mali, they chose the TLD for its acronym’s meaning
Are you sure? Check again. I didn’t scroll too far, but saw $6, $35, $20, $65 and $30. All are lower.
I meant the cost per user. You can’t really compare total costs
You can compare total better than per user at these scales.
Lemmy needs a certain amount of performance to keep up with federation, but once you have all the images and posts and comments you don’t need second versions until you scale to a size that mandates multiple machines. Which I would guess is more in the 6+ digit user range, where you start averaging requests per second not minute.In some sense, every lemmy user is a user of your instance via federation. You need to pay the performance for all 100k of us whether your instance has 10 or 10k of those. Local users are just a bit extra demanding on your hosting resources.
I suspect the bias we see here with larger instances paying a bit more (50-ish instead of 10-ish) is more due to reliability and snappyness than actual performance needs too. You tend to get optional smaller-gains pricier perks you might not go for for a smaller instance.
For cost per user, it’s only 3 cents. A few others are around 10 cents per user, and the rest are significantly higher.
The instances with lower total cost also have much lower activity, lemmy.ml has 2.4k active users but still only 80€ per month. Impressive.
Thank you!
Start your own for you. Open registration while keeping an eye on resources. When you hit hardware limits, close registration. Should be easy enough to manage moderation, and resources wouldn’t cost much more than the initial costs of running it just for yourself.
The number of users is not really what drives costs honestly. Or at least, it’s not like a linear relationship. I think actually having many popular communities might be a bigger issue.
Of course it is. More queries = more resources.
Yes, but honestly unless you’re very big, federation queries are the bulk of the processing and stuff from your own instance doesn’t matter that much. I mean think about it, do you think the 100 active users on your own instance is what costs or the 10000 users posting all over the fediverse is what matters? Obviously the latter. So again, local user count is not that impactful.
On that topic, could limiting the posting of pictures and asking people to use external picture hosts help with that?
Yes, storage costs matters. I think it’s honestly crazy that Lemmy caches images as much as it does. It would be great to be able to just disable it completely, but alas you can’t do that without disabling uploads for your own users either (at least I don’t know how).
Disabling uploads might be an option. You probably just need to announce it to the people beforehand, but I see most of the people using image links from other sites, so that might not be an issue.
It’s a major downside to my own users though. I wish I could disable uploads for everyone else :P
Indeed 😄
About 62 USD per month. I post monthly finance updates. All the costs are covered by user donations so far :)
It might be possible to do it cheaper, but I feel I got good deal for some very high end hardware so this setup should be scalable going forward for a long time.
All the costs are covered by user donations so far :)
Well done!
I think that user donations are easier when an instance has a good focus. There are some other instances I can think of where the donation model has been enough to cover things. In addition to feddit.dk and beehaw, an instance I use most of the time, ani.social, is more than covered by donations last I checked. It looks like @hitagi@ani.social even took away the donate link in the sidebar.
I made it a small badge so people wouldn’t have to feel obligated to donate. But yes, the entire instance has been community funded already thanks to generous one-time and monthly donations!
@seb@ioc.exchange publishes the costs for ioc.exchange:
Servers are hosted at Linode and hosting costs are around $300/month. Media files are hosted in AWS S3 and the costs are around $50/month. So in total our running costs are about $350/month.
Unfortunately the donations still don’t cover it.
This is your regular reminder that our hosting costs are roughly $350 per month. In the last 30 days you all have contributed $216. Thank you very much for everyone who has contributed - You are awesome!
edit: User numbers from fedidb: 1,737 MAU, 26,315 total.
5 bucks per month per active user sounds excessively expensive, no?
Yeah I think you got the numbers crossed there :D
Shit. I’m gonna turn my alarm off and get some proper sleep the next days…
Here’s the stats for mastodon.world and Lemmy.world
(And a few other fediverse sites)
https://blog.mastodon.world/blog-post-for-august-2024-and-july
Thanks, I remember seeing it some time ago, but it’s a bit hard to really identify how much the Lemmy instance exactly costs
I have my thinkcentre that I use as main PC on at all times, and it’s basically free in the autumn/winter/early spring as its energy consumption serves as a heater. And orherwise I use it. So say 100 nights uh to be generous 1000h a year for what, 30watt so 30kwh at under 0.2€ equals say 6€.
I’m all alone on the server though so it costs 6€ a year per user I guess 😁