6 ms·
Self Hosting 101 – A Beginner's Guide
- deleted 2y ago[deleted]
- prateeksu 2y agoI liked the depth of the article.
- nickorlow 2y agoI think it would be very cool if a company sold a box that lets people self-host really easily. Basically some mid-spec box that comes preinstalled with some nice web UI that lets you easily install popular self-hosted applications (immich, nextcloud, jellyfin, wireguard, etc..). Ideally it'd let you host an at-home iCloud without having to go through the headache. A lot of people I know (including hobbyists & swes) don't self host because setting up a linux vm/box and configuring everything + maintenance would take too much time. I think the biggest weakness with this is HA. Residential internet/power isn't the most reliable and even though my homelab server is up ~98% of the time, the 2% is VERY annoying and always happens at the worst times. Security would also be another large concern. I'd imagine a bad actor would have a harder time getting into my iCloud/Google Photos than my immich server.
- nickorlow 2y agoadditionally, a cloud version of what I described above would be cool too. Would also eliminate a the HA concern and partially the security concern.
- BLKNSLVR 2y agoBest of both worlds: replicate across friends and families similarly self-hosted all-in-one boxen.
- nickorlow 2y agoI don't think people want to replicate their photos library to boxes that their friends have admin access to
- wongarsu 2y agoThe cloud version of that is pretty much shared web hosting. Lots of providers use Softaculous [1] or similar solutions to offer one-click install for popular apps. Of course that won't run wireguard and you are pretty locked in to PHP (and sometimes python), but for Nextcloud etc. it's an easy solution. Or you can go one step further and just go with a managed solution. For example Hetzner has a managed NextCloud, then you don't even have to worry about updating that. https://www.softaculous.com/ https://www.softaculous.com/
- tikkabhuna 2y agoI think Synology lets you do that? I'm sure I've seen someone running things like Pihole on them. Not necessarily as integrated as you're talking about though. https://www.synology.com/en-uk/dsm/feature/docker https://www.synology.com/en-uk/dsm/feature/docker I struggle with the difference between "lab" and "production". You may start messing around with Home Assistant on a Raspberry Pi but when your partner can't turn on the lights with a voice command you're going to find that you need something more resiliant.
- nickorlow 2y agoYeah I'm more thinking of something everyday consumers could use.
- wongarsu 2y agoAs long as you stick to what's in Synology's package manager it's pretty end-user friendly. Though that only covers the normal file/photo/video/contact/calendar/backup management stuff. To set up a pihole you'd have to configure the docker image or run a VM, which is probably beyond the standard user's repertoire. For friends and family unraid is nice because it has a much bigger repertoire of "Apps" (mostly docker containers with some minimal UI integration). It demands a lot more from the user than Synology and looks a lot scarier, but there are no difficulty spikes. Once somebody knows how to use it it's pretty smooth sailing without having to learn anything new.
- peterleiser 2y agoUnraid does look pretty nice. Synology definitely has difficulty spikes, and then you have to search for some article or tutorial.
- peterleiser 2y agoThat's fair, Synology can be confusing, and it's permission system is frustrating. However, my experience has been that many people use Synology, and I have found detailed articles about everything I've ever wanted to do with it, including adding unsupported 5GbE USB ethernet adapters. It's docker support is nice and makes it easy to setup and run infrastructure like MySQL, postgres, redis, iperf3, and apps like nextcloud, firefly III, only office, etc. It manages certs per-domain (import existing or have it use lets encrypt), and the reverse proxy handles multiple domains and sub domains and makes it easy to remotely access individual apps (or hosts and ports) by redirecting port 80 to 443 and then 443 to whatever the particular docker port is (or IP address and port of something else on your LAN). I also like that the apps can run on my SSD-only RAID storage, and then I have a separate large RAID on spinning disks for NAS storage. Then the Synology devices, fiber ONT, router, main switches are plugged into my UPS backup. For personal stuff I like the Synology platform because it's hassle free, and I think the tutorials by random users makes it approachable to consumers.
- chadsix 2y agoWhile we haven't made a box, we made the software side in GoLang [1] This lets you host the most popular self hosted apps with a click[2] and you get an IP from us. :-) [1] https://github.com/ipv6rslimited/cloudseeder https://github.com/ipv6rslimited/cloudseeder [2] https://www.youtube.com/watch?v=TjklYTxE8ks https://www.youtube.com/watch?v=TjklYTxE8ks
- hentrep 2y agoStart9 offers this. No experience with their servers, but looks interesting: https://start9.com/ https://start9.com/
- nickorlow 2y agoNice! I'll have to check it out
- vishnumohandas 2y agoHave you checked out Umbrel[1]? You can self-host Umbrel on your own hardware[2]. I'm not sure if they allow for multiple nodes to stay in sync. If (/once) they do, it'd solve for disasters / availability as well. [1]: https://umbrel.com https://umbrel.com [2]: https://github.com/getumbrel/umbrel https://github.com/getumbrel/umbrel
- nickorlow 2y agoI have not. It looks extremely interesting and is basically what I was thinking of.
- xiaoxiong 2y ago[dead]
- stackskipton 2y agoDon't forget backups. They should probably be offsite and cost of that is generally what pushes me into keeping my Dropbox Plus account.
- nickorlow 2y agoGood point. Another issue I'm worried about. I'm suprised at how many of my homelab friends don't maintain proper backups.
- mysterydip 2y agoEvery time my homelab friends get more drives, the discussion is always "what else am I going to store/host?", which is a more exciting topic/prospect than a "just in case" backup. And every time they grow their storage, the cost of an equal or larger sized backup solution increases as well, making the likelihood of purchase even less. In that sense, I guess we aren't as far off from the SMBs that don't have backups in place, although if you ask the homelab people about it the answer is usually "I can live without most of this if it gets lost".
- nickorlow 2y ago> the answer is usually "I can live without most of this if it gets lost" I'd imagine 90% of homelab storage is movie/tv show 'backups' and aren't that sensitive
- jermaustin1 2y agoDropbox was the hardest of my data subscriptions to drop. I needed a new NAS (well a first real one), and got a "cheap" synology and 2 7TB drives. I then used their dropbox sync to synchronize my NAS with DropBox and vice versa, and then to also sync to my backblaze b2 storage account. After a few months of it working without a hitch, I killed my dropbox subscription. Now I pay a few pennies for my NAS a month, and $3/mo for backblaze.
- al_borland 2y ago[dead]
- john61 2y agohttps://www.freedombox.org/ https://www.freedombox.org/
- punyearthling 2y agoI love this idea so much!
- notachatbot1234 2y agoThis ticks 9/10 boxes on my detector for typical LLM generated SEO content spam. :\
- setalp 2y agoOP here. Honestly, I got similar feedback when I got this reviewed internally. At this point I am not sure how to write so that it doesn't seem LLM generated. Would be helpful if you could share why you thought this was LLM generated. The suggestions I have gotten so far has been to remove bullet points and sections - which I feel breaks readability.
- mberlove 2y agoI don't think it's so bad, but if I had to guess, it's from the division / breakdown of sections and lists, which reads a lot like the formulaic approach you get from an LLM (which is not necessarily bad, just common in the output). E.g. "Docker and Docker Compose can simplify the process of installing and managing services. They allow you to:" etc etc. This may sound like an LLM covering all its bases rather than a human explaining subject matter. That's just my take, again I don't think it's that bad. The article would be a useful breakdown for beginners. (Also, I'm sure you know, LLM content sounds that way because the LLM was trained on content just like this, so it's not really surprising that a guide generated by an LLM would sound like the kind of guide that was used to train an LLM...)
- wonger_ 2y agoNot parent commenter, but I've been trying to verbalize why it feels LLM-like. - h2 titles feel as basic as possible, just "what self-hosting, who self-hosting, why self-hosting, ..." - SEO spam often overuses keywords; on this page, it feels like "self-hosting" is used a bit too often, even if it's well-intentioned - the text ends in a classic LLM warning "remember to be careful" - predictable sentence patterns Some of these things are good for readability. I guess this article feels a bit too plain? I think tech company blog posts add a unique style and voice these days, because otherwise they'll blend in with the average SEO/LLM content. Also editing nits: > self hosing > Self Hosting > atleast Good self-hosting tips, though. Thanks for sharing.
- deleted 2y ago[deleted]
- deleted 2y ago[deleted]
- beardyw 2y agoIsn't getting a static IP address a problem?
- vishnumohandas 2y agoSome ISPs provide static IPs for an additional fee. Also, there are services like Cloudflare[1] and NoIP[2] that provide Dynamic DNS (DDNS) so you can tie your dynamic IP to a static address. [1]: https://developers.cloudflare.com/api/operations/dns-records-for-a-zone-update-dns-record https://developers.cloudflare.com/api/operations/dns-records... [2]: https://www.noip.com https://www.noip.com
- wongarsu 2y agoCloudflare Tunnel is another increasingly popular solution (proxying all your traffic via cloudflare, with the CF Tunnel client taking care of establishing the backend<->cloudflare connection) Of course you can do a similar thing yourself by getting a cheap VPS somewhere (~$2/month with no-name hosters from lowendbox.com) and connecting your server to it via wireguard
- davkan 2y agoA dynamic IP + DDNS is fine for 95% of use cases. The bigger issue is if your ISP puts you behind a CGNAT in which case you’ll need a product like cloudflare tunnels or you can roll your own with a vpn tunnel and a vps with a static IP.
- bovem 2y agoSome more resources on self hosting and homelab: https://www.avni.sh/posts/homelab/building-your-own-homelab/#resources-to-learn-about-homelab-and-self-hosting https://www.avni.sh/posts/homelab/building-your-own-homelab/... And my advice to someone considering to start self hosting: Start with a setup that consumes less power and once you have the 80% the idea of the services you want to keep running 24x7 then you scale up your server or build/buy a new one.
- hnbear 2y agoArticles like this never really cover the downsides of self-hosted setups, and the real time, effort, and costs that'll go into it. Statements like this are so disingenuous: "Monitor Your Services: Set up monitoring to keep track of your server's health and performance: Use tools like Prometheus and Grafana for detailed monitoring Set up alerts to notify you of any issues" That reads like it'll take 5 minutes, but requires learning PromQL, spinning up multiple services, which you then also have to maintain and support, and come with all their own issues. "Full control over files, no storage limits except hardware" This is technically true, but for the average user, compared to the vast and free data in Google Drive is just not really valid. Then get into the issues of maintaining drive arrays for redundancy, back-ups, IO performance, etc. Everything that says "enhanced security" but you're asking someone with no experience in self-hosting to get security right. That's a really big ask. I don't want to keep going on dissing the article, which is a good attempt at summarizing where the industry/hobby is now. I love self-hosting things at home, I've learnt a lot, and it lets me geek out. But, I'd contend that almost every sentence in that article is flawed somehow.