July 17th, 2024

Self Hosting 101 – A Beginner's Guide

Self-hosting involves running personal servers for control over data and services. It suits privacy-conscious individuals, tech enthusiasts, small businesses, educators, and cost-conscious users. Benefits include independence, customization, and savings. Challenges include technical complexity and security risks.

Read original articleLink Icon
Self Hosting 101 – A Beginner's Guide

Self-hosting refers to running and maintaining your own server to host services and applications, providing control over data and services. It is suitable for privacy-conscious individuals, tech enthusiasts, small businesses, educators, and those looking to save money. Self-hosting offers independence, control, cost savings, privacy, and customization. Various services can be self-hosted, such as file storage, email servers, media servers, password managers, VPNs, game servers, and more. Setting up self-hosting involves assessing needs and skills, choosing hardware, selecting an operating system, setting up the network, implementing security measures, installing services, using container technologies, setting up backups, monitoring services, and joining self-hosting communities. While self-hosting has benefits like learning opportunities and customization, it also comes with challenges such as technical complexity, time investment, upfront costs, security risks, data loss potential, lack of dedicated support, power and internet requirements, and scalability limitations. Self-hosting requires careful consideration and ongoing maintenance to ensure a successful and secure setup.

Link Icon 9 comments
By @nickorlow - 4 months
I 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.

By @bovem - 4 months
Some more resources on self hosting and homelab: 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.

By @notachatbot1234 - 4 months
This ticks 9/10 boxes on my detector for typical LLM generated SEO content spam. :\
By @beardyw - 4 months
Isn't getting a static IP address a problem?
By @alexwasserman - 4 months
Articles 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.

By @prateeksu - 4 months
I liked the depth of the article.