Follow

datacenters do not imbue computers with special powers. if you own a desktop less than a decade old, congrats! you already own a server more than capable of hosting any and/or all of these:

-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-

(for free, forever)

and if you wanna get REALLY crazy, you can take a bunch of those old desktops that you've got lying around (or that you bought for stupid cheap on ebay), network them together into a cluster, and bam, you now have your very own, truly private cloud that you can use to host whatever you want, for free, forever! and you can do it all from the comfort of your own bedroom! wow!!!

@gc Do you have any good notes on deploying standard notes in a self hosted setup?
@gc my computer is a decade old and it can run most of these I'm quite sure
@gc add

- matrix synapse
- pleroma
- mastodon
- xbrowsersync
- mqtt for owntracks / recorder / homeassistant
- own linux terminal server
- openvpn to reach home in a secure way
- tor hidden services

@gc there's a little more to hosting than just having a capable computer though :-)

@isagalaev true! and selfhosting is a great way to learn those things :)

@gc the learning stage is exciting, yes. The problem starts when a few years down the line you realize that you *have* to support all this stuff even it's not interesting anymore, because your life depends on it. Speaking as someone running his email server for 10+ years :-)

@gc i'm not sure running some of these (nextcloud, pleroma, ttrs, prosody) on a non-24/7 computer with dynamic IP is a terribly good idea tho.

@gc But datacenter means you do not have the noise and the heat in your flat.

@gc

Datacenters *do* imbue computers with always-on power, multiple redundant internet connections, magic virtual disks that "just work", and out-of-band management tools (okay, the datacenter doesn't do that, but your old P4 probably won't have any!)

Yeah, I can get those things in my house, but not cheaper than $2.50 per month, and not nearly as good as I get them from my datacenter. Self hosting is cool and fun, and all, but I want reliability. And that means taking it out of my house.

@gc Well, that's true, but:
- your home connection may not be capable to serve decently enough those services (ex: asymetrical connection, with an upload throughput low compared to download)
- your home connection is easily succeptible to DDOS
- you may not have static IP address, or be behind a NAT without being able to configure the routes
- you may not have an unrestricted Internet access

The server is not the only thing to take into account when providing services over the Internet.

@gc Sure. But you won't be able to run all that fancy AI algorithms to spy on your users.πŸ˜•

@gc What gives them special powers is internet bandwidth (and, to some degree, more reliable power). Oh, and fixed IP addresses.

Yes, I've self-hosted stuff on cheap home computers; I currently self-host MediaWiki, NextCloud, and Postfix/Dovecot at home, but their utility is limited by the above factors as well as a modem config issue I've been trying to solve for years.

@gc But, as someone who runs servers for a living, I’d rather pay for a share in someone else’s services than bring my job home every day.

@gc
Data centers offer power and internet redundancy, power conditioning, network redundancy, so on and so forth.

@gc
---
*not actually for free, internet and electricity bills apply :)

@gc Alright. How much time per week for keeping all theses software up-to-date?

Not saying everything as a SaaS is a good idea neither, but most of the users can't/have no time to self-host services and guarantee a 99.99+ % uptime in a secure way.

@gc I mean, maybe not ALL of those things at once :)

@gc This is a good point about the compute power available for relatively cheap costs to ordinary people. That said, running a (reliable) web service also requires having a reliable internet connection and power supply, which is harder

@gc I mantain a home server built with commodity desktop hardware myself, but where I live has a shitty large US ISP that doesn't really want people running servers on their home networks, and there's not much I can do about that right now

@meireikei what isp do you have? I have a large shitty isp too (spectrum, aka the isp formerly known as time warner cable) and selfhost a looot of things on my home network too, but they either don't care or haven't noticed lol.

@gc comcast. I spent a few hours last night getting my server to have a publicly-routable IPv6 address again after power-cycling the router because the internet connection kept dropping out for some reason. it's not impossible to run an outbound server on their network, it's just unreliable, which is why I don't run services for other people on it.

@meireikei oof, my condolences both for comcast and ipv6. I dread the day I have to start actually learning how to use ipv6 lol.

what aspect is unreliable? do you think it's your modem/router, or is it due to something comcast is doing upstream from you?

@gc I'm honestly not sure and I don't know how to debug it myself. I'm definitely less comfortable troubleshooting v6 than v4 networks, but v4 address space exhaustion is real so I don't mind being forced to understand v6.

@meireikei if you're using the router that comcast 'gives' to people (and charges $10/month for), there's a decent chance it might be your router. especially if it's made by arris.

a similar-ish thing happened to me w twc awhile back, so I went to the twc store, swapped my router for a new one, and the random disconnects stopped!

it still acted kinda weird though so I ultimately just bought my own router. I've had almost zero problems since and shaved $10 off the internet bill

@gc and if you have a spare old PC, just install @yunohost on it, and you get a web interface for easy installation and maintenance of many free software services "out of the box"

@gc I appreciate the sentiment of the list, but there are very big hurdles in front of people in order to do this. These are really the first problems to solve in order to have self hosted services take off.

# if you're using a separate box from your daily browsing/computing, you need to have a way to interact with it, separate I/o peripherals and monitor, or knowledge of ssh, remote desktop

# installing and even running a service, especially ones without pre compiled binaries

@gc # managing the gap between traffic coming in to your network and forwarding it to the appropriate place

# being able to troubleshoot and diagnose any of a hundred places where things can go pear shaped, even before you get outside traffic.

A big thing is practice, building confidence by doing. I think that if we can separate a lot of these parts, reduce the points of failure as much as possible, then we could see an uptick in self sufficiency in serving

@gc something like docker holds a lot of promise in this area

@rubah docker is witchcraft and has made selfhosting x100000 easier for me haha. I highly highly recommend trying it out

@gc Sweet! (: How does networking come into this, though? Like, I have /no/ idea how I'd access my hypothetical server machine from outside the LAN without paying (for a domain or maybe a static IP)... is it possible?

@wolf @gc If your ISP doesn't do mean things, it's just a matter of router settings (look up port forwarding). You might need to change which IP you use from time to time as your ISP changes your router's IP

My ISP does mean things ;C , so I would need to maintain a VPN connection with an internet-accessible server elsewhere (if you want to still be free, you need to find a friend with one), and use that server to access my home network.

@wolf @gc It would be displayed somewhere in the router settings

@dipolecat @gc So there's no way to update that information from outside? If my router changes IPs while I'm out of the house, I'm just /stuck/?

@gc tbh, you need to take care of electricity, though, and if you want to "do things right" you need a UPS. Also, hard drives fail, so you need to monitor them. This is all stuff your hoster usually takes care of.

Sign in to participate in the conversation
social.coop

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!