AI made self-hosting fun again
27 points by andyc
27 points by andyc
AI has also changed how I approach problems for which there isn’t an existing piece of software that does exactly what I want.
Same here, but differently. With more and more projects being around where I don't trust their quality or their "supply chain" anymore, I've gone back and started writing more stuff completely by hand, trying to avoid as many deps and frameworks as possible. And avoiding AI as well, but I am on the fence of getting a final security review - the tradeoff here being not using AI vs putting stuff on the internet and maybe having missed something.
llms made self-hosting insufferably nerve-wracking, since now a critical zero-day in something I run that is exposed to the internet is a weekly occasion, and I need to constantly monitor news in order to patch it in time
Not to mention the constant fight against crawler bots if you want to put anything on the public-facing internet.
I'm planning to add unattended updates to my NixOS setup to address this specifically. I've seen some people use Renovate for their IaC NixOS configs.
It's definitely made me prioritize unattended upgrades and a good renovate+gitops set for all my personal services. Even still, it is nerve wracking!
I have a handful of low-stakes personal machines I sysadmin via a local LLM now and it’s lovely - especially with all the recent security fun. I can drop in a link to a vulnerability and it runs a systematic audit to see where http2 is enabled, then updates all the configs for me and proves it stuck. 5 minutes out of my day. It moved a mastodon instance from one server to a clean install on another. Useful but ultimately uninteresting busywork.
I not only self-host but also self-build my entire dependency stack from source, and LLMs haver made the maintenance of that less of as chore, e.g. coping with the random regressions introduced by the simply insane number of flex (lexer generator) versions in the last 2 weeks.
FWIW I will note that I feel like AI is both the cause of, and potential solution to, hosting problems.
AI crawlers killed my Python CGI scripts at 3 different shared hosting companies -- they sent me notices that the scripts were making the box unstable [1].
On the other hand, the CGI scripts were not enough, so I needed to self-host. And even just basic self-hosting of a few sites requires so many technologies: DNS, SSL, package managers, build tools, process supervision, secrets, backups, analytics, etc.
It really is pretty overwhelming ... even for a person who has used computers for 30+ years. So the AI helps me look up all the details. I wanted all the "glue" to be in one language (shell), and I still aim for that, but there are inevitably still a dozen or more little glue languages and files and scripts ...
[1] I would have thought they could deploy cgroups on all users, giving them a fair share, but maybe not. Maybe they don't do it, or maybe they do and they overprovision.
Is this still "self-hosting" or is it something new, like "AI-hosting"? Now you're reliant on AI to maintain these things.
Self-hosting was never about "self" as in "do it with your self's own hands", it was about "self" as in "self-owned hardware" or "self-managed infrastructure". Maybe don't retcon established terms in an effort to invent more derogatory labels for LLM usage.
Very happy to see this. Essentially reaffirms the very beliefs Tangled is built on: AI has essentially negated the overhead of self-hosting, and the complexity of cool tech like Nix.
As an aside: this blog post is as on-topic as ever and YET it receives 7 off-topic and 2 spam flags as of this writing. I'd argue this is misuse of flags.
AI has essentially negated the overhead of self-hosting, and the complexity of cool tech like Nix.
I don't agree this is as clear-cut as you make it out to be. Sure, it may have made it easier to provision servers and services. However, it has made self-hosting way less forgiving if you don't keep up with maintenance and security updates. This combination is troublesome because the ease with which you can provision things may give you a false sense of security if you don't have the foundational understanding to support it.
Aren't you also losing one of the major benefits of self-hosting, ie independence from big tech? Especially if you're reliant on LLMs to keep your server secure, as a commentor below suggests.
I'm not sure how this ties in to Tangled, unless we're talking about different projects.
For me, lobster's policy on the topicality of AI discussion has been pretty incomprehensible for a while now. To me, the OP just reads as glazing, and nothing they state even tries to be helpful advice, so I don't know.
The complexity is still there. You just don't have to deal with it as directly. This is a double-edged sword since it makes the complexity easier to manage, but also easier to take on without knowing.