A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.
Rules:
Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.
No spam posting.
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.
Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
No trolling.
Resources:
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
You should live the life you imagine you’re protecting with all this security theater.
What if the life I’m imagining I’m protecting is one where I have the option of choosing a platform/application that isn’t scraping the absolute dregs of the barrel to squeeze out that last bit of profit margin.
That’s a win win right?
It sounds like a win win for you and I like that for you.
You should see how many companies fuck up and lose your data or have data leaks.
I print a few exceptional photos a month to save.
I sell my time for like $30/hr. How much money would self hosting cost me vs a data leak where my information was actually used? I have a feeling it’s more.
It’s a nice hobby and I’m sorry I ruffled feathers with my opinion.
Depends on how you define ‘cost’ I suppose, but seems like the trade off isn’t worth it for you, which is fair.
Some might value the perceived benefits much higher than you do.
Sure. Like if you enjoy doing that stuff it would be totally worth it I’m sure.
There is a particular kind of person who prefers setup and config to doing anything with a computer, and it’s hard to hide my disdain for that sometimes but that doesn’t make it wrong. It also doesn’t mean I’m doing anything with a computer. We’re biased towards ourselves, I get that.
Like, we just put a dog down so I was thinking about my own mortality and how much time I have in life. It’s not a lot, and the idea of making sure an email address is functioning today sounds like hell.
I’m leaving the original statement up because I don’t think enough people walk back hasty statements online.
For me specifically, the setup and config oftentimes is what I’m doing with the computer, the learning and knowledge gained from the practice is what I’m after, which is good because it’s significantly less fun than it used to be.
Admittedly mine is probably a non-standard case and it ties in with other things in my life.
Condolences on your loss.
removed by mod
So you’re challenging me to tell you what I think of you doing what I suggested?
removed by mod
I recently decided to get more serious about self hosting and gotta say,
use TrueNAS scale, just do it, literally everything is 1 click… While it can be complicated, it is most definitely worth it, not just to stick it to big tech, but because some of the selfhosted apps genuinely provide a better experience than centralized alternatives. NextCloud surprised me especially with how genuinely nice it is. Installed it, got an SSL certificate and replaced google services almost entirely in a few hours of work.I’ve still got a few things I wanna do which look very complicated… Stuff like a mail server and pfsense (the stuff of nightmares) are among the 1st on my list…
OPNSense is generally pretty easy, more powerful, and more open than pfsense. I started with pf but went to OPNSense and have loved it!
I’ve tried both and both were hell
removed by mod
I am very much into the nitty gritty of Linux (I use Alpine fyi) the problem is, pf/opnsense aren’t based on Linux…
And I also don’t really know how to set them up… Yk as routers, mainly because my internet comes through PPPoE and I just cannot for the life of me figure out how to pass that through to a VM. I bound the VM to its own NIC, did everything, did not work…
removed by mod
I already have my own network with stuff and things… it’s mostly just the simple stuff (TrueNAS scale, pihole, wireguard, nextcloud and other things like that). But yeah, outside my mac, I have literally 0 experience with BSD…
removed by mod
Honestly, I found it really easy. I don’t have a background in IT or anything either.
What did you find difficult? Setting custom firewall rules is harder to understand, but the general functionality of setting up a NAT and even installing and configuring ZenArmor were super super easy.
I self host mail/smtp(opensmtpd)+imap(dovecot), znc (irc bouncer), ssh, vpn (ipsec/ikev2), www/http (httpd), git (git-daemon), and gotweb, on an extremely cheap ($2 a month, 512M ram 10G storage) vps all very easily on openbsd. With all these servers I’m using an immense 178M/512M of my available memory.
what VPS provider are you using?
I have similar specs and cost with ionos
buyvm/frantech
Someday I hope we have a server technology that’s platform-agnostic and you can just add things like “Minecraft Server” or “Email Server” to a list and it’ll install, configure, and host everything in the list with a sensible default config. I imagine you could make the technology fairly easily, although keeping up with new services, versions, security updates, etc. would be quite the hassle. But that’s what collaboration is for!
As someone who has had a career in hosting: good luck.
Don’t forget backups, logging, monitoring, alerting on top of security updates, hardware failure, power outages, OS updates, app updates, and tech being deprecated and obsolete at a rapid pace.
I’m in favor of a decentralized net with more self-hosting, but that requires more education and skill. You can’t automate away all the unpleasant and technical bits.
But if we hide the complexity, surely we won’t ever have to deal with it! /s
But it’s our job to try
deleted by creator
Neat!
…is as mod by Vaskii
Honestly at this point that is docker and docker compose.
As to what to run it on that very much depends on preference. I use a proxmox server but it could just as easily be pure Debian. A basic webui like cockpit can make system management operations a bit more simplified.
Docker is in theory nice, if it works. Docker doesn’t run on my computer(i have no fucking clue why). Every time I try to do anything I get the Error “Unknown Server: OS” also there is literally nothing you can find online about how to Fux this problem.
What computer and OS do you have that can’t run docker? You can run a full stack of services on a random windows laptop as easily as a dedicated server.
Edit
Autocorrect messing with OS.
I use EndeavourOS, but had the same problem on Arch.
Hardware wise I have an 75800x, a RX 6700XT and 32GB 3200mhz Ram.
The weird thing is, that some time ago I was actually able to use docker, but now I’m not.
That doesn’t make any sense to me. It can be installed directly from pacman. It may be something silly like adding docker to your user group. Have you done something like below for docker?
sudo pacman -Syu
sudo pacman -S docker
sudo usermod -aG docker $USER
Log out and log back in for the group changes to take effect.
Verify that Docker CE is installed correctly by running:
docker --version
If you get the above working docker compose is just
sudo pacman -S docker-compose
I didnt start docker and didn’t add it to my user group. Maybe this will fix it.
I did all the steps you mentioned and now it works(at least if use sudo to run the commands).
I thought it would. If it still requires sudo to run it is probably just docker wanting your user account added to the docker group. If the “docker” group doesn’t exist you can safely create it.
You will likely need to log out and log back in for the system to recognize the new group permissions.
Unraid does this via docker. It’s amazing. You can do this live and on the fly.
Sounds kinda like NixOS, although that’s not platform-agnostic.
Funnily enough I do use NixOS for my server! It’s not quite what I was describing but it does allow me to host easily.
Cloudron does that,not for free, though. But cheap
Buying a used desktop is very nice for these things. You can set up a steam gaming thing.
IIRC, it’s nearly impossible to self-host email anymore, unless you have a long established domain already. Gmail will tend to mark you as spam if you’re sending from a new domain. Since they dominate email, you’re stuck with their rules. The only way to get on the good boy list is to host on Google Workspace or another established service like Protonmail.
That’s on top of the fact that correctly configuring an email server has always been a PITA. More so if you want to avoid being a spam gateway.
We need something better than email.
On top of that, most ISPs block port 25 on residential IP addresses to combat spam, making it impossible to go full ”DIY”
I self-host mine using Mailcow, but I use an outbound SMTP relay for sending email so I don’t have to deal with IP reputation. L
Say everyone agrees and the entire world swaps to some alternative. Email 3.0 or whatever.
Wouldn’t we just have the same issue? Any form of communication protocol (that can be self host able) will get abused by spam. Requiring a lot of extra work to manage.
Setting up a web of trust could cut out almost all spam. Of course, getting most people to manage their trust in a network is difficult, to say the least. The only other solution has been walled gardens like Facebook or Discord, and I don’t have to tell anyone around here about the problems with those.
Isn’t the current email system kind of a web of trust. Microsoft, Google etc… trust each other. But little me and my home server is not part of that web of trust making my email server get blocked.
Yeah, that’s kinda what my GP post was getting at. But it’s all managed by corporations, not individuals.
Realistically I don’t see how it would ever not be managed by a corporation. Your average person doesn’t know how and doesn’t want to manage their own messaging system. They are just going to offload that responsibility to a corporation to do it for them. We are just going to have exactly the same system we have now. Just called some else besides email.
I wish there was a better solution but I am not seeing a way that doesn’t just end up the same as email.
Well, there’s always, you know, mail.
Aah, the good ol‘ wooden variety
All of these types are articles always leave out the calculations of what your time is worth to you and the maintenance costs of spare hard drives and other equipment. The TCO is not just the initial investment in hardware/software alone. Unless you plan to host something unreliably and value your time at nothing. In which case I hope you don’t get friends or family hooked on your stuff or everyone will have a bad time and be back to Google Drive/Docs and Netflix within 5 years.
The reason they leave it out I feel is because once you factor all of that stuff in the $10/month your paying for Google Drive storage or the ~$25 your paying Netflix starts to make a lot more sense when pared with a decent local backup from a Synology NAS for the “I can’t lose this” stuff like baby pictures of your kids. Which blows their entire premise out of the water.
I get that. And I self host the things I care about. But for the average layman? I don’t see self hosting as a real option. Unless you are decently tech savvy, and have an aptitude for troubleshooting, most people aren’t gonna put in the time or effort of initial setup. Even if maintenance is minimal once it’s running. That first leap into self-hosted is daunting.
I think of it this way… would I expect my dad to be able to do it? Absolutely not. And my dad is decently tech savvy for 70.
removed by mod
The first step is normalising the idea of privacy so people can even see the point of paying for something they can easily get for free.
The next step would be to make products people can easily use without being tech savvy. A synology NAS has been great for me and I praise the setup to anyone who will listen, but even with something like Synology people will need some basic knowledge.
YunoHost is trying to make it easier than a synology NAS to install services and get them setup properly but I agree that to configure your network properly is difficult and everyone’s setup is different so specific knowledge is required.
Yeah yunohost is pretty great for less than 10 users. Perhaps more depending on the service. Its very easy to get setup in a weekend with a plethora of services. And its pretty stable.
I don’t get this counter-argument. Is TFA actually suggesting that the average grandma quit using Yahoo mail or Facebook and set up her own email server and mastodon instance? The only people even considering self-hosting are people with technology interest and reasonable passion. It’s an article written for a niche techie website, and we’re discussing it on a forum for self-hosting nerds.
The counter-argument is like saying the average layman should stick to televised football, because they don’t have the physical savvy or aptitude for the game, and most people aren’t gonna put in the time or effort to build their strength & endurance to compete. It may be an accurate statement, but the people you’re addressing (grandma) weren’t TFA’s target audience and weren’t even going to try in the first place, and you discourage people who might really enjoy giving the hobby a try.
You are correct! That first leap into self hosting was a doozy! No regrets now tho ¯_(ツ)_/¯
I think you dropped this: \
Don’t forget that self hosting without proper knowledge is more dangerous than just giving away data to the big techs!
Trying to run your own nextcloud be like
Nextcloud was somewhat difficult for me the first time I installed it, though I did have a usable system in the end. Then I discovered Nextcloud AIO and haven’t had an issue since.
This is a bit out of date. Nowadays, you pay for the service and are monetized by watching ads and providing personal data to companies that definitely don’t have your best interests at heart.
People said it back then too. The ad and tracking industry will always invade more and more of our privacy. When will there be enough tracking to make them stop and be happy? Never. Never is the only answer.
Username checks out .
I self host a lot, but I host a lot on cheap VPS’s, mostly, in addition to the few services on local hardware.
However, these also don’t take into account the amount of time and money to maintain these networks and equipment. Residential electricity isn’t cheap; internet access isn’t cheap, especially if you have to get business class Internet to get upload speeds over 10 or 15 mbps or to avoid TOS breaches of running what they consider commercial services even if it’s just for you, mostly because of of cable company monopolies; cooling the hardware, especially if you live in a hotter climate, isn’t cheap; and maintaining the hardware and OS, upgrades, offsite backups for disaster recovery, and all of the other costs. For me, VPS’s work, but for others maintaining the OS and software is too much time to put in. And just figuring out what software to host and then how to set it up and properly secure it takes a ton of time.
This is a point many folks don’t take into account. My average per Kwh cost right now is $0.41 (yes, California, yay). So it costs me almost $400 per year just to have some older hardware running 24x7
I solved this by installing solar panels. They produce more electricity than I need (enough to cover charging an EV in when I get one in the future), and I should break even (in terms of cost) within 5-6 years of installation. Had them installed last year under NEM 2.0.
I know PG&E want to introduce a fixed monthly fee at some point, which throws off my break-even calculations a bit.
Some VPS providers have good deals and you can often find systems with 16GB RAM and NVMe drives for around $70-100/year during LowEndTalk Black Friday sales, so it’s definitely worth considering if your use cases can be better handled by a VPS. I have both - a home server for things like photos, music, and security camera footage, and VPSes for things that need to be reliable and up 100% of the time (websites, email, etc)
Omg, I pay 30€ for 1Gb/0.7Gb (ten more for symmetrical 10Gb, I don’t need it and can’t even use more than 1Gb/s but my inner nerd wants it) and 0.15€/KWh.
BTW the electricity cost is somewhat or totally negated when you heat your apartment/house depending on your heating system. For me in the winter I totally write it off.
This sounds excessive, that’s almost 1.1$/day, amounting to more than 2kWh/24hrs, ie ~80W/hr? You will need to invest in a TDP friendly build. I’m running a AMD APU (known for shitty idle consumption) with Raid 5 and still hover less than 40W/h.
This isn’t speculation on my part, I measured the consumption with a Kill-a-watt. It’s an 11 year old PC with 4 hard drives and multiple fans because it’s in a hot environment and hard drive usage is significant because it’s running security camera software in a virtual machine. Host OS is Linux MInt. It averages right around 110w. I’m fully aware that’s very high relative to something purpose built.
Right, and spend even more money.
I think the main culprit is CPU/MB, so that’s the only thing needed a replacement. Many cheap alternatives (less than 200$) that can half the consumption and would pay itself in a year of usage easily. There is a Google doc floating around listing all the efficient CPUs and their TDPs. Just a suggestion, I’m pretty sure after a year it would payoff its price, there is absolutely no need for a 110w/h unless you’re running LLMs on that and even then it shouldn’t be that high.
An article telling people to self host read only by those who already self host. Okay.
Welcome to the internet, where people try their best to find people with the same opinions so they can feel good and get pissed when they can’t.
I think it’s so people here can give themselves a pat on the pack for self hosting lol.
Like how the Linux Lemmy community has so many “Windows is bad, Linux is good” posts. Practically everyone in there already knows that Linux is good.
Let’s start with the basics: is dev.to self hosted? 😁
touché
No, dev.to points to 151.101.194.217 which is an IPv4 that belongs to Fastly Inc
Delicious irony
Fastly is also a CDN. The fact that a website is behind Fastly doesn’t imply that it isn’t selfhosted at all.
So you mean Fastly is providing CDN servers which cache the content of dev.to and then serve them to the visitor on their servers?
Well yeah that’s not self hosting.
Of course it would be self hosting. If the website isn’t hosted on fastly, and is hosted by an individual, that would be the definition of self hosting. You’re also assuming that Fastly is caching responses, do you know that for certain?
Literally all you’ve done so far is resolve the host name to a DNS record. You think you’ve done something, but you haven’t.
lol what the fuck is your problem? How about you do something and explain to me how you self host a CDN hosted by fastly???
When did I resolve the Hostname to a DNS record? Are you fucking stupid you obviously don’t know what you are talking about. I resolved it’s domain to an IPv4 address which points entirely to a fastly server. It’s not a resource that get’s delivered by CDN, it’s the whole fucking website they are serving, which is a service they sell and that’s not self hosting.
God damn why am I even spending my time arguing with someone that didn’t understand the basics yet. If you think a domain is a hostname and an IPv4 address is a DNS record, just back off and return to the books. You probably feel so cool and think you have done something, which you did, you ridiculed yourself.
You clearly don’t understand a single thing about how the internet works and are very confused. Let me help you out.
You don’t? The website is what would be self hosted. Not Fastly.
Right there. You resolved the host record, probably an A record or ANAME for the website (dev.to) into an IPv4 address, using DNS.
Here’s what you’re critically misunderstanding about this. Just because you resolve the record for a website and the IP that’s returned belongs to fastly does not mean fastly is hosting the content. You literally haven’t done anything to prove that the website isn’t self-hosted on a computer in some guys garage. You’re making assumptions based on ignorance and using those assumptions to gatekeep self hosting because you don’t even know what you don’t know. It’s very possible that site isn’t self hosted, but so far you haven’t actually found any proof of that like you think you have.
A domain can have several host records of different types including one at the root of the domain. What you’re resolving isn’t “a domain” it’s a single record for that domain, and its associated IP address is contained in the DNS record. If you’d like to familiarize yourself with this system, try this: https://www.dummies.com/book/technology/information-technology/networking/general-networking/dns-for-dummies-292922/
It’s clear that you’re a hobbyist with very little understanding of how the internet and self hosting works on a fundamental level and that’s ok. But I recommend instead of wasting your energy being confidently wrong very publicly for the purpose of gatekeeping, you use that energy to learn how these things actually work instead.
Sigh, kinda… but don’t forget to factor in your backup costs too
On a financial aspect, self hosting is more expensive most of the time, if you convert time to money, even if you calculate using less than 100$ per hour (In my country we charge about 200$ per work hour)
Should we do that though? I’m choosing between playing PS5 and configuring my home server. I’m not being paid for either of that. But skills I obtain while tinkering with the server actually help me with some tasks at work.
Sure, you can compare to what else you would do in that time slot, but money would be the more general thing (you can compare better, since everything is in the base of money)
Back to your example: time spent on each task is equal -> same value invested but output may have different value (game skills/progress vs IT skills/progress)
So since investing value is the same for both task, you can ignore that part and concentrate on the output.
Depends on how you calculate costs. Like, I have Kodi running on a RPi for home entertainment/theater. There’s no way to outsource that, but the RPi is idle most of the time. Adding services to it is effectively or marginally free, except for my time, and there’s still a significant time cost to get paid, off-site cloud services set up.
But charging for your own time is kind of disingenuous. You don’t include your time in the cost of eating (a Big Mac worth $60??), watching a video, or going on vacation. The only people self-hosting have a personal, hobby/entertainment interest in it, and I think it’s more accurate to compare the costs of self hosting with the costs of other forms of entertainment. Do you get more fun-value out of the costs of self hosting or out of a theater ticket?
Well, you can calculate how much money you would make in the time you do hobby, entertainment and eating. And I bet, “everyone” includes some people, that see setting up home/private IT not as hobby, for those people the comparison is like spending time x or paying amount x (data or/and money) (you could compare it to housekeeping) In such cases it makes sense to give the spent time a value in data or money, so that it is comparable
Maybe you spend time on selfhosting and now you have less time for other things that need to be done and now you have to outsource it (for money) giving time as well calculateable value
Are you planning on self hosting this article? Perhaps on writefreely?
Oh, I wouldn’t if I could avoid it. The “fun” of tinkering with IT stuff in my very limited spare time vaporized many years ago. If I could pay for services that did exactly what I wanted, respected my privacy, and valued my business while charging a fair price, I would stop self-hosting tomorrow. But that’s not usually how it works.
Self hosting isn’t super high maintenance once you get everything set up but it still takes up probably 10-12 hours per month on average and I would not mind having that time back.
With Proton you could get emails, calendar, contacts, drive for a fair price and good privacy, for example.
I like the idea, but I don’t like that everything is tied to a single account. If it’s compromised so are your emails, calendar, contacts, files, and passwords. But the service is good enough to replace Google, and choosing between the two, I’d choose Proton.
Mail servers are the one thing I refuse to self host. Years of managing enterprise email taught me that I don’t need that kind of negativity in my life
I agree. I was thinking about using different services for different tasks instead of putting everything into the same basket. I’m not self-hosting an email server either.
If you self-host all the same services you have the same exposure level if root on your hosting machine is compromised. I suppose it depends on how confident you feel in how agile you can patch if a vulnerability becomes known in postfix for example. I wouldn’t consider self hosting something that reduces your cybersecurity risk typically
I definitely trust Proton much more than I trust myself.
That’s true. But as we were speaking about an external service (Proton), I was thinking about diversification. I use Proton for emails, but I don’t use Proton Pass opting for another external password manager.
I agree that it would be very bad if your Proton account got compromised with so much data tied to it. However, I’m personally comfortable with a strong password and 2FA for my Proton account.
I nowadays manage my private stuff with the ansible scripts I develop for work - so mostly my own stuff is a development environment for work, and therefore doesn’t need to be done on private time.