AI made self-hosting fun again

283 points - yesterday at 9:47 PM

Source

Comments

n4bz0r today at 12:51 AM
> For my VPS infrastructure, I’ve also started building my own Debian-based bootc image (after thinking about it for some time).

> I still remember what updating a service used to look like: bumping the version and adjusting the Docker Compose file on my laptop, pushing the changes to the Git remote, SSHing into the server, pulling the changes, and finally deploying them. Now, a single Git push is enough. If a push is even necessary.

Both of these cases are a great fit for Ansible or the alternatives. Given how much the author leans towards the idea of storing configuration in repos, it's a bit odd I haven't seen a single mention of configuration management tools.

Generate Ansible playbooks, set up a simple CI/CD workflow and you don't need an agent to do the same manual labor every time - it just needs to bump the versions and make a PR/push. Saves a great deal of tokens.

I have a feeling that AI prices are only going to go up and such 'frivolous' usage when agents repeat a lot of unnecessary actions is going to become an anti-pattern (unless you have unlimited funds).

cliche yesterday at 11:12 PM
> 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.

jjcm yesterday at 10:17 PM
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.

oliyoung yesterday at 11:40 PM
I have a claude code managed self-hosted server that I would _never_ had time to put together as cleanly or complete as I have now. It's a fully complete docker managed budgetting, web, photos, git and media server, with automated backups, home automation, and vpns.

There's almost 60 services running, with API access to backblaze, unifi and cloudflare to manage the network.

I have an idea for a service I want, claude goes off and does it. I haven't had this much personal web infra under my own roof in decades.

odo1242 today at 1:16 AM
AI makes a lot of self-hosting tools and frameworks that have a really large startup cost but are very efficient and reliable once set up correctly a much better deal to work with. I've been hosting my homelab server on NixOS, at the moment, something I'd be unlikely to do otherwise.
joshstrange today at 12:12 AM
I couldn't agree more. I've been self-hosting/home-lab-ing for decades now and my, already high, usage of open source software has ballooned in the last year. I think I set up Immich myself earlier this year on my server but since then, pretty much every project has been deployed/managed by an agent.

Any changes/checks/updates/etc needed, I mostly do through an agent. It will surface any release notes I need to see, it will do the backups I never did (lazy), it will make sure to lock down access better than I have in the past (due to mistakes/misconfiguration).

I'm much more likely to try out an open source project since the time investment for setup is practically 0, therefore "ROI" is easier to achieve. I've spun up and down many things, I've written even more from scratch (with agents), and it's just so much easier to do things "right". I have backups of critical data now, I have hourly/nightly postgres backups depending on the service (backed up to the cloud), I'm actually checking the backups and testing them unlike in the past.

I love that closed models are enabling more independence and making it easier to switch away from the big clouds/tech. And when they rug-pull, I'll switch to the very capable (though not as good as the frontier) open models, maybe pay for 1 more month of Claude to have it help convert everything to GLM/DS/etc (which would be delicious itself).

markasoftware yesterday at 10:12 PM
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
Bender yesterday at 10:50 PM
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.
ma2kx today at 12:43 AM
> They don’t need to [...] be particularly interesting to anyone other than me.

I understand this opinion from an emotional perspective but I strongly disagree. We are now in a (I guess small) time window where nerds like us are capable of building something not just for us but for our local communities and we should try to use this chance before its gone again.

We rather should host instances of peertube, linkding, flarum or whatever community strengthening apps are out there because we have now the capabilities to integrate them as it was only possible for big tech a few years ago. I'm developing a small flarum instance where some "vibe coded" services ingest local events, news, political decisions etc. pp. which are things a global acting company just doesn't care (and what in my opinion led us to this horrible geopolitics we are in at the moment). Sure it's still not and will never be as polished as the big platforms but it's a bit like comparing Walmart (or Aldi for us german natives) with a local fish market where people can interact with other people without a corporate layer between.

45sdasf45 yesterday at 11:50 PM
Hard disagree. Self-hosting (public on internet) is foolish in this day and age. Unless you suddenly want to drop everything and patch everything every day. All those janky apps will be hacked over and over again.

AI has made hosting ANYTHING an exercise in rapid exploitation, which makes the internet a worse place for everyone. I have shut down dozens of VMS in the last few months because maintenance is an impossible time sink in this internet storm.

Bunker down and remove anything internet facing.

vagab0nd yesterday at 11:10 PM
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.
jasonriddle yesterday at 11:43 PM
This resonates with how I'm feeling.

I have a Synology nas, and I use portainer to run and manage docker apps. It's mostly fine, but Synology does a lot of weird things like how they handle file permissions, and they have their own seperate set of proprietary cli tools for interacting with the system. It was super annoying figuring out how all of these things glue together and their documentation is pretty terrible.

It's still super annoying, but I've started building out an aiwiki, where the agent starts in that wiki and it adds to that anytime it encounters anything odd or weird or anything I tell it to add to that. So it has an understand of my tailscale network, applications I'm running, how to ssh into things, etc. It saves a lot of time because I can just ask my agent to read 15 or so relevent wiki files and it has enough context to start working on a task.

It's not a perfect flow. Certain actions require you to use the Synology webui, which is painful and slow at times, but I haven't found a way to give agents access to that, while being able to monitor what they do.

I've also been having luck with agents configuring things related to kubernetes. I'll spin up a cluster in the cloud with something like digitalocean, and then the agent can deploy apps to it and monitor things. Kubernetes is much easier to give better scope access to certain resources, so I'm slowly trying to migrate things from Synology over to kubernetes.

Anything I don't feel like managing myself, I just use pikapods for hosting. If I need more control over it, I migrate it over to either my NAS or to kubernetes.

someonehere today at 1:02 AM
It really has. I have so many things running on old computers now at my home with the help of Claude. The last time I had this much fun building out things in a homelab was during the Covid lockdowns.
xx__yy today at 12:37 AM
Completely agree, but don't fall into the trap of relying on an agent/AI for anything, unless it's also self hosted.

Number 1 rule - Home labs should continue working without an internet connection.

xtracto yesterday at 10:09 PM
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...)
_heimdall today at 12:45 AM
I've definitely done more self-hosting now that I have a bit of help from, or can work more quickly with, Claude.

I've had a homelab for years but it often went unattended and under utilized. About a year ago I revamped it with a fresh minipc and a couple SSDs and have been slowly building out a library of open source and one-off tools on a private tailnet.

comrade1234 yesterday at 10:34 PM
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.
dawnerd yesterday at 11:30 PM
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.
sega_sai today at 12:45 AM
I also recently discovered how easy it was to update an out-of date O/S with agents on a few machines that I manage. With Claude it was just so much easier and without worries that I would forget something or not know how to configure the new version of packages.
singingtoday yesterday at 11:45 PM
It very much did!

I've had an explosion of creativity and new projects over the last 6 months. Ideas I had been thinking of for years but never had the time. Some are even getting Google traffic, though that's not really my goal.

It's pure entertainment for me. Better than any game I played in my life. I'm having a blast with all these powerful tools!

kikoreis today at 12:12 AM
Fun, possible and on occasion necessary. There is a lot of misalignment of interest with modern service providers, so we all need to a) pick them carefully and b) use some proportion of self hosted services -- kinda "stay sharp or become the mark".

I have been running a bunch of stuff self hosted now including BBS (with ENIGMA1/2) and SMTP (with mox) and it is a strange adventure (with QSD grade nostalgia mixed in).

Currently looking for something simple for git for a small team.

whacko_quacko yesterday at 11:11 PM
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...
scottydelta yesterday at 11:34 PM
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!

jraph yesterday at 10:09 PM
It did the opposite: self hosting has been fun, but now you have to fight the constant flow of AI bots.
trowawee yesterday at 10:18 PM
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.
manjalyc yesterday at 10:40 PM
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.

hdjrudni today at 12:34 AM
> I still remember what updating a service used to look like: bumping the version and adjusting the Docker Compose file on my laptop, pushing the changes to the Git remote, SSHing into the server, pulling the changes, and finally deploying them.

Dude should have invested more in the deployment process from the get-go. Every deploy should be a single command, AI or not. I've had all kinds of deployment processes over the years, but I always packaged it up in a shell script or Bun deploy script or Makefile or something. Whether that was scp, rsync or now k8s.

But to the point, yes, having AI write all my k8s YAMLs for me in a heartbeat sure is lovely.

A recent example: it was announced that Nginx had a vulnerability and many of my pods were running an older version of Nginx. I had AI bump all my Dockerfiles past the vuln and redeploy. I'd never tried a massive multi-project update like that before (all slightly different), but it did it with ease.

bendauphinee yesterday at 11:10 PM
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.

jwilliams today at 12:17 AM
I self-host _a lot_ of stuff at work and home now. Cloudflare+D1+ZeroTrust is the way. And yes, that includes a delivery harness and bespoke CRM.

My only gripe is sometimes I want to use the tools in multiple places and they’re too tailored to their specific role (yes, the irony is sharp).

AntonJidkov yesterday at 10:46 PM
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.
onaclov2000 yesterday at 10:21 PM
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

alana314 yesterday at 11:56 PM
Lately I've been backing up and then having AI ssh in and fix the latest CVEs that have been hitting. So far it hasn't failed, and has saved me a lot of time.
skybrian yesterday at 10:30 PM
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.

killingtime74 yesterday at 10:32 PM
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.

jrecyclebin yesterday at 10:11 PM
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

randypewick yesterday at 10:48 PM
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".
lazzurs yesterday at 10:18 PM
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.
1239876144 yesterday at 10:11 PM
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/

bakugo yesterday at 10:36 PM
> 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...

jerty13 yesterday at 11:10 PM
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..
_def yesterday at 10:35 PM
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?
holoduke yesterday at 10:23 PM
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.
0c3ca83 yesterday at 11:52 PM
It never needed to be hard. People just loved complex solutions, and built unmanageable garbage.
EGreg today at 12:03 AM
With the webserver I wrote this year in pure PHP, webhosting isn't just fun, it's now safe: https://github.com/Qbix/webserver

Instead of PHP, I am using https://github.com/SafeScript/safescript which I invented. It works in both the browser and other environments (e.g. https://github .com/SafeScript/safescript-php)

Drop files in folders. Things just work. Or, BYOB (Bring your own Bot) and it will use MCP to build and push your site. Any normie can go and make changes to their site, securely.

ares623 yesterday at 11:18 PM
$2 trillion dollars in capex can make _anything_ fun again.
cyanydeez yesterday at 10:03 PM
Also made it necessary. #hardforkeverything
vietdat today at 12:18 AM
[dead]
niumeta_TZ yesterday at 11:43 PM
[dead]
igotsomad yesterday at 11:34 PM
[dead]
sanshui_sz today at 12:08 AM
[dead]
sick_of_slop yesterday at 11:39 PM
[dead]
therealmarv yesterday at 10:09 PM
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.

jsemrau today at 12:15 AM
[dead]
dyauspitr today at 12:32 AM
AI made everything fun again. I fell out of love with writing code like 3-4 years into my career and now I can implement all my ideas again. I’ve made a version of pretty much every single app I use regularly.
GalaxyNova yesterday at 10:11 PM
I don't think it made it less but it definitely didn't make it more fun.