HN.zip

AI made self-hosting fun again

195 points by - 85 comments
[3 hidden]5 mins ago
> When implementing an idea becomes so easy, it’s perhaps more important than ever to occasionally ask myself whether it’s actually worth implementing in the first place.

Wish I had this restraint. I’ve been vibing everything I can think of. It’s got to the point I made a small platform on top of k3s so that the agent can yolo deploy into a homeserver behind Tailscale. Once deployed it becomes natural selection for which vibes live and which die.

Solo vibey self hosting llm usage - bliss.

Corporate agentic engineering working with others - soul crushing.

[3 hidden]5 mins ago
Yeah, I've been doing everything I've ever wanted, it's been amazing.. a seeded procedural unlimited lode runner web game, scrabble on the living room TV controlled by phones, a web remake of an old PC game from 1996 called WSOP Deluxe Casino Pak, my own CF JF-compatible frontend/management/pipeline to my videos living on cheap PHP storage (to name just a few).

Whatever I've always wanted to do, I just do it.

Incredible times to have been a kid at the dawn of the personal computer, and now to also be living through this LLM age, probably the single best generation for tech imo.

[3 hidden]5 mins ago
Love the ideas and the wide range of use you've put it through. Regarding the 'best generation for tech'... For many, this will be their last era. Many people don't see this as superpower and see this as the end of their career. It's amazing what perspective can do.
[3 hidden]5 mins ago
AI is a dream come true.

Opportunity cost is melting away. So many things are within reach, it's amazing.

Instead of working for corp, work for yourself. It's easy to get token spend on a product if you put in solo marketing. I've seen dozens of people get to $5-20M ARR in a few months, and I've done it myself more than once. (VCs won't even fund this anymore because it's become so commonplace.)

Spend your weekend building the side project to fire your employer.

[3 hidden]5 mins ago
Do you really think this is sustainable? We might be in a period where early movers can get people to pay for vibecoded products, but that era seems short lived. Eventually you won't have subscribers or an employer, but still need money for rent and food.
[3 hidden]5 mins ago
We are entering levels of bipolar lisp developer never before seen in the history of programming.
[3 hidden]5 mins ago
In some ways it's better, in some ways it's worse.

It's certainly easier than ever to spin up a VPS/cloudflare proxy and deploy. Agents can pretty much do that end to end.

The bigger issue is you're then accountable for keeping up with security. Previously that meant using fail2ban and running a system update every few months. Now it means patching within 24hrs of a CVE9+ dropping, which is happening at an accelerated rate.

It got so bad during October I made https://firefighter.sh/ as a joke (a root-permissioned agent that continuously monitors for CVEs and patches your system live as soon as they drop - it's a security nightmare given the nondeterministic aspect of AI), but I'm actually starting to come around to the idea for my non-critical servers.

[3 hidden]5 mins ago
> Now it means patching within 24hrs of a CVE9+ dropping

I know security by obscurity is not a good defense, but if the internet were on IPv6, it would be a lot harder for bots to find hosts by scanning the whole IP space, whereas when I open a port on IPv4 I can always see activity on it almost immediately. I've been watching traffic to IPv6-only hosts despite connecting to them from outside the local network and it's been completely silent from strangers. This would buy extra time for any critical CVE that needs patching.

[3 hidden]5 mins ago
Maybe, but if using https with a public CA then your domain info is already well know. DIY CA not an issue, but has worse caveats imo.
[3 hidden]5 mins ago
Yeah, that's a point worth mentioning, but none of the hosts I connect to have public DNS records pointing to them or use a public CA.
[3 hidden]5 mins ago
I'm updating my stuff WAY more often with AI. I have an agent check the current version, pull changelogs, look for anything that could go wrong, do a backup, stop, pull, start, verify, then delete backups and dangling containers. Pre AI I did that... basically never. Now I do it once a week. Could even schedule it if I really felt like it.

Also, I don't put two things on the open internet. My other 2-dozen services are behind Tailscale only.

[3 hidden]5 mins ago
I have AI craft make files for common operations, patching, deploys etc. The makefiles compose terraform, ansible, misc scripts, DB migrations etc. this way, something reproducible and tested can be "trusted" to let AI operate with without it getting carried away or deep into the weeds on simple shit. Of course, I also use the same makefiles too when I want, and it's just great. Keeps credentials safe-ish, AI doesn't need to SSH itself or even know about the actual systems.
[3 hidden]5 mins ago
LLMs that write and then update your Ansible really is the super combo.

If you throw in tests that the LLM also writes and it brings together the best of DevOps and LLM.

[3 hidden]5 mins ago
If only nixos existed and llms were good at it :)
[3 hidden]5 mins ago
I'm just way more comfortable and used to traditional bare metal, kvm, and k8s via RKE2.
[3 hidden]5 mins ago
gentoo is far superior in every way :)
[3 hidden]5 mins ago
Are they comparable, though?
[3 hidden]5 mins ago
Is it reproduicable though? Can you run nixos-anywhere <host>, then ssh into into it run borg restore and you have same server as you backuped? Doubts
[3 hidden]5 mins ago
I use windows, btw
[3 hidden]5 mins ago
> Previously that meant using fail2ban and running a system update every few months. Now it means patching within 24hrs of a CVE9+ dropping, which is happening at an accelerated rate.

Yeah. This has fully changed my approach to web dev; for me as a solo/freelance developer at this scale, pretty much all interpreted languages are too great a risk in various different ways.

[3 hidden]5 mins ago
Keep it all internal with Tailscale, or use Pangolin (or Cloudflare)
[3 hidden]5 mins ago
debian + unattended-upgrades + scheduled reboot for kernel upgrades gets you most of the way there
[3 hidden]5 mins ago
Another massive drawback is the slop-avalanche on self-hosting communication channels.

I don't mind someone vibing something out for their needs; but as soon as you advertise it and invite external users, I feel there was a moral obligation to provide a certain level of quality and security. Which doesn't seem to be as prevalent now.

Building out a project used to take a fair amount of investment for the creator; now that producing code is "cheap", that price-to-entry is so low that anyone can spin up a project in a couple of hours.

It has added a lot of noise to the community channels - making it hard for good projects to stand out among the noise.

[3 hidden]5 mins ago
Or you can just use wire guard to your router, or tail scale, or cloudflare tunnels and never actually expose the endpoint directly.
[3 hidden]5 mins ago
Unattended upgrades will only patch system packages installed via apt-get. You still need to patch node, python packages, or random software you downloaded and installed (via curl piped to sh).
[3 hidden]5 mins ago
And for some reason these days everyone and their cat wants you to install their software with `curl http://some-sketchy-site.com/install | bash`, even if building packages is easier than ever with LLMs and free Github Actions.
[3 hidden]5 mins ago
I have a public ip VPS proxying to my home lab and I’m wondering where to go for the least attack surface if I’m just running caddy and wireguard.

Fedora CoreOS is an interesting offering, and Debian with unattended updates sounds good too. I like what SELinux can do for hardening the filesystem. Seems like even if a subprocess gets owned you get isolation from siblings.

[3 hidden]5 mins ago
Fedora IOT on a Raspberry Pi with automatic updates works pretty well too for internal network services (pihole, jellyfin etc)
[3 hidden]5 mins ago
Same setup. I went with Debian. Non standard ssh port, no pass, key only and wireguard. So far so good.
[3 hidden]5 mins ago
Using AI, I am making it fun and accessible to even non tech crowd. I am working on https://tarvis.io which makes running your own apps from github or open source apps one click job on a server.

I abstracted the VPS, docker, networking, firewall, domains, SSL and backups from the user so that they just think of it as a workspace rather than a server.

I have already been self-hosting things for over a decade and over the years the things I built to manage my own workloads evolved into this product which now can make self hosting accessible to anyone.

I literally have non-technical users using Tarvis to develop and self host their next.js app with db and background workers. What a time to be alive!

[3 hidden]5 mins ago
Certainly more fun for me. I am not a proper developer. LLM's have made private forks of my favorite things and helped me remove things I did not care for and add things I wanted. I have personally found these exercises more fun that video games. I have learned a little bit of Lua, C and Go. Not enough to write anything anyone else would find useful by myself but more than enough to satisfy my curiosity. LLM's have helped me add landlock protection to all my internet facing daemons to reduce the filesystem blast radius of future 0-days, including petty things like protecting tcpdump from writing or executing where it should not.
[3 hidden]5 mins ago
Self hosted apps used to have fairly unique designs and sometimes quirky ui. Now it’s all half baked Claud uis. Even older apps that had good ui have switched to be more ai looking.
[3 hidden]5 mins ago
I like to self-host but all my services run behind a Wireguard VPN. Otherwise they are services waiting to be PWNED by North Korea or any other random bad actor. I should know, a droplet I had with some PoC app I had got pwned. (well, only the docker container which ran with its own non-root user, but still...)
[3 hidden]5 mins ago
NixOS is a must-have for this. There's no way I and the LLM could have created and manage about 20+ services and 30+ timers in a sane way on arch, which I had been running for 10 years until 2026.
[3 hidden]5 mins ago
Yes, and finally there is a sane way to use NixOS, which otherwise has quite steep learning curve.

And for those who don't want to commit to a quirky OS – mise version manager has bootstrap/deploy commands that do a similar job of defining systems in configs but without OS and reproducibility.

https://mise.jdx.dev/bootstrap.html

[3 hidden]5 mins ago
The robot caught a cryptominer that had been put into my Plex system within about an hour of it being dropped into my system. It was able to pin down the what where and why within five minutes of me noticing the system was sluggish, and not only helped me clean it up, but also patch my system, and walked me through rotating my Plex credentials.

System administration has become in some ways a lot less burdensome, and is definitely helping me to make sure updates are getting handled a lot faster.

[3 hidden]5 mins ago
What's the purpose of self hosting? Sure, part of it is data sovereignty and reducing dependence on big tech and whatever, but for me the main purpose and effect was to learn and to have pride in my setup (same reason one might buy an old car), both of which LLMs negate
[3 hidden]5 mins ago
I couldn't care less about knowing the details of how to configure some specific web app with all its quirks. What I do care about is not being nickel and dimed by subscriptions for every little thing.
[3 hidden]5 mins ago
I initially did it as a learning/keeping my skills sharp thing but knowing it was always going to be a flat $5 a month quickly became the real reason.
[3 hidden]5 mins ago
But becoming entirely reliant on AI subscriptions is somehow better?
[3 hidden]5 mins ago
Plenty of self hostable models can be used in self hostable chat / coding harnesses with a hostable web search tool.
[3 hidden]5 mins ago
Which were trained on the paid models. You’re just one step removed.
[3 hidden]5 mins ago
> You got all the benefits and all you didn't get was a lifetime subscription dependency

Darn, so close to liberation.

[3 hidden]5 mins ago
Do you have the hundreds of GBs of VRAM required to self-host a competent model at home?
[3 hidden]5 mins ago
$20/month for OpenAI vs first you guys dodge three different non-wordpress vendors, then you gotta give WordPress you're email address. Then you gotta deal with WordPress plugins. Yes, I'd rather just give OpenAI $20/month and be done with it.
[3 hidden]5 mins ago
What? Like honestly what are you even trying to say here?
[3 hidden]5 mins ago
I think this is just a repeat of why some people are programmers (lifestyle, they wrote code before it was a job, they'll write code after they retire) and some people are programmers (career, it makes (made?) good money and they could do it but they would be equally passionate about being an accountant, network tech, sysadmin, ...).

Some people just like fiddling with servers, some people just ended up fiddling with servers because no one else would do it for them but now the agent can.

[3 hidden]5 mins ago
Control, customization, permanence, pride, learning, fun.
[3 hidden]5 mins ago
That's not true. I self host and build a lot of software using LLMs. I read everything and frequently add something like "provide a step by step configure guide rooted in documentation with supporting links, and an explanation of why you are recommending that."

Coupled with running it in a shell my agent has visibility into, I can makes sure I learn what I am building and get interactive help if something doesn't work and links to the reasons why.

[3 hidden]5 mins ago
I just want jellyfin and immich running even if the internet is out
[3 hidden]5 mins ago
Honestly I think these days those first two bits can be incentive enough. I’ve been self hosting a few apps (split between LLM hack jobs and some personal projects), and I’m just unwilling to pay for the ‘privilege’ of hosting the services or the data.
[3 hidden]5 mins ago
I can see the appeal honestly, I self host a lot of stuff and every app is bespoke; they require pouring through often outdated and incomplete documentation and usually the source to make apps conform to the rest of my system. Stuff line OIDC and storing all data in 1-2 kinds of db and object storage (sometimes requiring FUSE for apps that demand a filesystem), backups, updates, monitoring, crash recovery.

Writing down how the app should conform to my setup into a skill and then letting the AI do the tedious bits and outputting an Ansible role to do it would save a lot of time and let me experiment more often. I can't imagine letting AI actually build without the framework because the resulting system would be a huge mess.

[3 hidden]5 mins ago
Having pride in your setup is a lot less important than self-hosting something for your friends that can bring joy to many people.

I'm hosting Jellyfin and FoundryVTT (D&D platform) and a few other things for my friends. Couldn't care less about the "pride" in the setup - the only difference is it takes me 5 minutes with an LLM or 30 minutes following an old-school guide to set it up. This stuff isn't complicated one way or another.

LLMs just make the discovery (e.g. that part where you look at config setup examples and troubleshooting) and troubleshooting a breeze.

Besides, no one is really stopping you from doing it old school. By all means, learn from linux CLI utilities man pages and write complicated bash scripts from scratch by yourself.

[3 hidden]5 mins ago
AI has made it ridiculously easy and extremely useful. Messing with self-hosted applications that would take me days to set, configure properly, and debug is now a few minutes of chatting. It’s exhilarating.

Seems like a lot of people here roll their own security configs, if you’re application can sit behind a gate like Cloudflare zero trust it makes security a lot simpler.

[3 hidden]5 mins ago
I've had almost the exact same experience (right down to using Nix and repurposing my couple-years-old gaming box as a combo gaming machine/home server) and it's been great. I've been having more fun with homelab stuff than ever, mostly because I'm spending way less time fiddling with Docker configs and way more time actually enjoying the fruits of that work: watching shows and movies, reading books, streaming games, etc.
[3 hidden]5 mins ago
for me it's the other way around. now that every other day a model finds an RCE exploit in a big software project or framework, I don't feel like I can trust myself to react fast enough to keep my infra secure...
[3 hidden]5 mins ago
So much more fun! I'm now turning my old phones into servers for all the side projects I'm spinning up. Pre ai I would have had zero inclination to go through the setup and maintenance process.
[3 hidden]5 mins ago
Self hosting at home is a blast!

I run my AI stuff in docker containers so I am still working on ways to improve idea to actually working thing I can interact with, without having to go to a computer necessarily

[3 hidden]5 mins ago
I've been self-hosting for years and lately I've been using ai as a support-bot for configurations. It's nice but sometimes after a long day of back-and-forth communication with the ai and configuration changes I feel like I accomplished tons but then I step back and think about it and realize I probably would have been faster if I had just read some man pages and other documentation.
[3 hidden]5 mins ago
Same impression here.
[3 hidden]5 mins ago
I have been happy lately using LLMs with nixos: lots of small tasks that I had there waiting, pending, I managed to complete in a few days of sparse interaction with open LLMs. Best thing is that nix makes reviews very easy to me, so it was "do, wait for my review, deploy".
[3 hidden]5 mins ago
I just set up a K3S Kubernetes cluster on my mini server and AI is able to easily host things, check logs, deploy, everything fully automated. While I do know Kubernetes, you wouldn't have to know it to do this because AI does it all for you.

I use Cloud Native PG to provide databases and the Cloudflare Tunnel Operator to provide connectivity to my domain name.

Don't have to expose any network ports or anything.

[3 hidden]5 mins ago
It seems like a good time to get into client-side encryption. From now on, I plan to write code using a coding agent, but that doesn't mean I want to give it access to the family photos.

If the data is encrypted blobs, putting it in on R2 or whatever seems okay?

This is using encryption as a system boundary to make accidental leaks less likely. It doesn't mean I want to compete with Signal. Access control still matters.

[3 hidden]5 mins ago
Not just at a personal level - seeing a lot of businesses self-host their apps as well!

For myself, I've been working on a personal server that I can publish to over MCP. It also automates publishing over SSH - so I can manage remote servers from it. https://gitHub.com/jrecyclebin/freshbreath

[3 hidden]5 mins ago
Yep, totally agree with this and pretty much mirror it. I've been self hosting for 25 years or more but recently it's gotten easier and i've been doing more of it. Security is part of that for sure and wanting to not have my home dependant on cloud services that might be compromised.
[3 hidden]5 mins ago
Getting hardware that can run open weight models is not worth. The models are so cheap that it's better to rent them. Unless you have to keep the data confidential..
[3 hidden]5 mins ago
It did the opposite: self hosting has been fun, but now you have to fight the constant flow of AI bots.
[3 hidden]5 mins ago
it made me move away from docker to ansible managed lxc containers on proxmox. Not sure yet if that was a good idea but on the other hand I don't have to do most of the plumbing anyway, so.. i guess it's fine?
[3 hidden]5 mins ago
Do people get an existential crisis if there is no new AI success story post for more than 10 min?

Here are some folks who don't find self hosting easy or outsourcable to AI:

https://gmplib.org/

[3 hidden]5 mins ago
$2 trillion dollars in capex can make _anything_ fun again.
[3 hidden]5 mins ago
> I used to hate cooking, but thanks to food delivery apps, I now love cooking again!

Slight variations of this exact post are made probably every hour, yet they somehow always fly to the top of the front page...

[3 hidden]5 mins ago
More like: I used to mow the lawn with just scissors, but thanks to lawnmowers, now I actually enjoy mowing the lawn again.
[3 hidden]5 mins ago
Its more like “I used to mow the lawn myself and it took hours, how I just pay a subscription and someone does it for me”.
[3 hidden]5 mins ago
Curious about others. I am running a few apps and websites for about 18 years now. I have about 50 servers on Hetzner. And till about 6 months ago issues were quite rare. But today I am in a constant fight with bot/scraper traffic. It's so extreme that if I disable things like Anubis, manual ip blocks, Cloudflare measures etc, I am getting so much traffic that my complete setup comes to a halt. Network io, disc io and cpu are all affected. Terabyte per minute is nothing crazy. Traffic originates from many different places. Some legit, some disguised as browsers. Lots of AI labs from the US, China or Singapore. But sudden moments of 1000s of ips from Germany or wherever is happening a lot. Most of the time I am able to mitigate the issues and have no downtimes in the apps. Although bot traffic remains the majority. Luckily I have a couple of AI agents that are helping me to find malicious behavior. It's the only way for I see otherwise one will lose this battle.
[3 hidden]5 mins ago
Also made it necessary. #hardforkeverything
[3 hidden]5 mins ago
While it's true that self-hosting is easier now, good luck securing your own server and keeping it updated against all the new AI threats. For example, distros seem pretty slow lately at patching major security bugs (especially Ubuntu with their recent kernel fix).

Because of this, the maintenance burden has only grown.

So it's not a clear win.

[3 hidden]5 mins ago
Easy, don't expose anything to the public internet.
[3 hidden]5 mins ago
Consider hiding everything behind Wireguard and if you can afford a second server and your provider lets you build a private network, use a gateway as your public server, then you can remove all direct public access to your main server. Configure your providers firewall as well as the software firewalls and now your public attack surface is one Wireguard port and the firewalls. Not perfect by any means but it gives you a bit of breathing space when patches are delayed. Of course you should still patch everything and keep good security within your private network.
[3 hidden]5 mins ago
+1 wireguard
[3 hidden]5 mins ago
Security was always a problem, as there always were more CVEs than one can reasonably read and automated attacks are the background noise of the internet. Good practices (service isolation, one purpose per server) remain good practices, LLMs or not.

Fun fact: I recently learned of a server with a 10/10 vulnerability that had been online without updates for the last two years. Sometimes being small pays off.

[3 hidden]5 mins ago
Alternative to wireguard for some apps you can just put the public facing apps behind Cloudflare’s zero trust login

Self-hosters should not be rolling their own security solution in this environment. It doesn't matter how fast you update, its basically the wild west right now.

[3 hidden]5 mins ago
Everything behind a VPN. I don't even have SSH open these days.
[3 hidden]5 mins ago
put it behind cloudflare login?
[3 hidden]5 mins ago
I don't think it made it less but it definitely didn't make it more fun.