this post was submitted on 30 May 2024
421 points (95.7% liked)

Selfhosted

40329 readers
419 users here now

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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. 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.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 195 points 5 months ago* (last edited 5 months ago) (1 children)

If you're not paying for a service, you're likely being monetized by watching ads or providing personal data to companies that don't necessarily have your best interests at heart.

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.

[–] [email protected] 27 points 5 months ago (1 children)

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.

[–] [email protected] 16 points 5 months ago

Username checks out .

[–] [email protected] 94 points 5 months ago (6 children)

And here’s the reason why layman should not: they’re much more likely to make that one wrong move and suffer irrecoverable data loss than some faceless corporation selling their data.

At the end of the day, those of us who are technical enough will take the risk and learn, but for vast majority of the people, it is and will continue to remain as a non starter for the foreseeable future.

[–] [email protected] 46 points 5 months ago

Not to mention, few people have the time, skill, money, and energy to do it. They're happy to outsource in exchange for money and/or data.

load more comments (5 replies)
[–] jubilationtcornpone 62 points 5 months ago (2 children)

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.

[–] [email protected] 11 points 5 months ago

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.

[–] [email protected] 8 points 5 months ago (1 children)

With Proton you could get emails, calendar, contacts, drive for a fair price and good privacy, for example.

[–] [email protected] 8 points 5 months ago (3 children)

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.

[–] jubilationtcornpone 9 points 5 months ago (1 children)

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

load more comments (1 replies)
[–] [email protected] 6 points 5 months ago (2 children)

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

load more comments (2 replies)
load more comments (1 replies)
[–] [email protected] 59 points 5 months ago (2 children)

Let's start with the basics: is dev.to self hosted? 😁

[–] [email protected] 17 points 5 months ago (6 children)

No, dev.to points to 151.101.194.217 which is an IPv4 that belongs to Fastly Inc

[–] [email protected] 17 points 5 months ago

Delicious irony

load more comments (5 replies)
load more comments (1 replies)
[–] [email protected] 42 points 5 months ago (2 children)

I'm tired of the argument that the solution to fight tracking/ads/subscription/gafam is self hosting.

It's a solution for some nice people that have knowledge, time and money for.

But it's not a solution for everyone.
We need more small nice open source association and company that provide services for people that don't know the difference between a web search engine and a navigator or just a server and a client. I think that initiatives like “les chatons” in France are amazing for that!!! ( https://www.chatons.org/en )

And just to be clear, I think that self-hosted services are a part of the solution. :)

load more comments (2 replies)
[–] [email protected] 41 points 5 months ago* (last edited 5 months ago) (10 children)

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.

[–] [email protected] 13 points 5 months ago

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.

load more comments (9 replies)
[–] [email protected] 35 points 5 months ago (7 children)

If self-hosting is going to become commonplace, then it needs to be easier than setting up a network printer. People should be able to just buy a computer (maybe a laptop for integral screen and UPS) preloaded with something like Yunohost, but with a sleek GUI. It has to have good wizards that walk you through everything including setting up a domain and email.

[–] [email protected] 39 points 5 months ago (4 children)

I feel attacked by this post. I self host Home Assistant, recursive proxy servers, RSS readers, photo managers, vscode, media servers, download managers, backup solutions, git, password databases, economy trackers… And if I need to print from my macbook I have to email the file to myself because in twenty years I haven’t ONCE been able to host my printer on the network in a way that works for more than three days before randomly breaking.

[–] [email protected] 11 points 5 months ago (3 children)

Hello brother. 🙏 May I talk to you for a minute about our lord and savior Brother Laser Jet Printer.

load more comments (3 replies)
[–] [email protected] 10 points 5 months ago (1 children)

I feel this post so hard. I'm always about 5 seconds from going Office Space on my printer.

load more comments (1 replies)
[–] [email protected] 6 points 5 months ago

I have yeeted printers out of non-ground level apartment windows before, so i feel your pain. i bought a brother laser jet printer and hardwired it to a switch port and have not had connectivity issues for years. i can easily print from my phone, pc, laptop, whatever.

load more comments (1 replies)
[–] ironhydroxide 9 points 5 months ago (1 children)

Sounds like a market niche, you could start it up, call it something like "macrosoft". .. then start making scripts that do the work for the user, don't release the scripts because people pay for them. Let this go on for many years and you find yourself shoving "AI" down your users throats and screenshotting their desktop without explicit permission......

load more comments (1 replies)
load more comments (5 replies)
[–] [email protected] 33 points 5 months ago* (last edited 5 months ago) (9 children)

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.

load more comments (9 replies)
[–] [email protected] 32 points 5 months ago

Are you planning on self hosting this article? Perhaps on writefreely?

[–] [email protected] 26 points 5 months ago* (last edited 5 months ago) (12 children)

I stopped reading after this line.

Raspberry Pi won't do unfortunately, unless you run up to 4 lightweight containers.

Does the author know how much compute power a Raspberry Pi 5 has? If the software that just hosts personal data can't run in Raspberry Pi 5, that should be a terrible software. For most people and their families, a RPi5 is enough to host anything that they would ever need.

load more comments (12 replies)
[–] [email protected] 26 points 5 months ago (2 children)

An article telling people to self host read only by those who already self host. Okay.

[–] [email protected] 9 points 5 months ago* (last edited 5 months ago)

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.

load more comments (1 replies)
[–] [email protected] 23 points 5 months ago (7 children)

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!

[–] [email protected] 27 points 5 months ago (2 children)

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.

[–] [email protected] 7 points 5 months ago

But if we hide the complexity, surely we won't ever have to deal with it! /s

[–] [email protected] 7 points 5 months ago

You can’t automate away all the unpleasant and technical bits.

But it's our job to try

[–] [email protected] 8 points 5 months ago (7 children)

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.

load more comments (7 replies)
load more comments (4 replies)
[–] [email protected] 19 points 5 months ago* (last edited 5 months ago) (16 children)

It really bugs me in general how often the term “home lab” is conflated with a “home server”, but in the context of what this article is trying to communicate, it’s only going to turn the more casually technical people it’s trying to appeal to off.

For many people, their home lab can also function as a server for self hosting things that aren’t meant to be permanent, but that’s not what a home lab is or is for. A home lab is a collection of hardware for experimenting and prototyping different processes and technologies. It’s not meant to be a permanent home for services and data. If the server in your house can’t be shut down and wiped at any given time without any disruption to or loss of data that’s important to you, then you don’t have a home lab.

load more comments (16 replies)
[–] [email protected] 17 points 5 months ago (1 children)

I do self-host some services but it bugs me that a lot of articles that talk about costs do not factor in a lot of additional costs. Drives for NAS need replacement. Running NUCs means quite an energy draw compared to most ARM based SBCs.

[–] [email protected] 8 points 5 months ago

And it dismisses the time component of self hosting. It's not going to be zero.

[–] [email protected] 16 points 5 months ago (5 children)

Sigh, kinda… but don’t forget to factor in your backup costs too

load more comments (5 replies)
[–] [email protected] 13 points 5 months ago (1 children)

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.

[–] [email protected] 9 points 5 months ago (5 children)

Residential electricity isn’t cheap

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

load more comments (5 replies)
[–] [email protected] 12 points 5 months ago (8 children)

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...

load more comments (8 replies)
[–] [email protected] 12 points 5 months ago* (last edited 5 months ago) (3 children)

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.

load more comments (3 replies)
[–] [email protected] 11 points 5 months ago (6 children)

I do host some stuff myself 😉 but there's one thing to keep in mind.

Don't self host stuff that your family still needs after you're gone. Unless they are self host nerds like you. I stopped self hosting our mail and docs for example.

Would you agree?

load more comments (6 replies)
[–] [email protected] 10 points 5 months ago* (last edited 5 months ago)

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
DHCP Dynamic Host Configuration Protocol, automates assignment of IPs when connecting to a network
DNS Domain Name Service/System
Git Popular version control system, primarily for code
HTTP Hypertext Transfer Protocol, the Web
IP Internet Protocol
NAS Network-Attached Storage
NAT Network Address Translation
NUC Next Unit of Computing brand of Intel small computers
NVMe Non-Volatile Memory Express interface for mass storage
Plex Brand of media server package
RPi Raspberry Pi brand of SBC
SBC Single-Board Computer
SMB Server Message Block protocol for file and printer sharing; Windows-native
SMTP Simple Mail Transfer Protocol
SSL Secure Sockets Layer, for transparent encryption
VPS Virtual Private Server (opposed to shared hosting)
XMPP Extensible Messaging and Presence Protocol ('Jabber') for open instant messaging
nginx Popular HTTP server

17 acronyms in this thread; the most compressed thread commented on today has 3 acronyms.

[Thread #773 for this sub, first seen 30th May 2024, 10:15] [FAQ] [Full list] [Contact] [Source code]

[–] [email protected] 9 points 5 months ago* (last edited 5 months ago)

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.

[–] [email protected] 7 points 5 months ago

Unfortunately he is not talking about security?

[–] [email protected] 6 points 5 months ago (1 children)
[–] [email protected] 6 points 5 months ago

Former professional email host here. Email is like 90% spam.

If want to spend your free time battling the ever evolving landscape of spam, enjoy.

Otherwise, work with a pro mail provider you trust.

load more comments
view more: next ›