AI Made Self-Hosting Fun Again
In a first-person account, the author describes using AI coding agents to manage self-hosted infrastructure held mainly in Git repositories, including Docker Compose files, scripts, and other configuration files. The author says agents reduce the effort required to try services, adjust configurations, explore unfamiliar technologies, automate build, update, and deployment processes, and build personal tools. The account also cautions that AI-generated software is not free of bugs, security issues, or technical debt, and that the user remains responsible for understanding changes made to infrastructure.
The account provides a concrete, though anecdotal, workflow for applying AI coding agents to infrastructure. It also emphasizes that automation does not remove the need to review changes and understand the resulting software and infrastructure.
I’ve been self-hosting things for many years. There were times when I was quite enthusiastic about it, constantly trying out new software and tinkering with my infrastructure. But at some point, that enthusiasm faded a bit.
I never really stopped self-hosting, but I became less inclined to experiment with new things. Maintaining what I already had running was enough for me.
Over the last few months, however, I’ve found myself getting increasingly excited about self-hosting again. And, somewhat ironically, AI is a big reason for that.
Less friction
Most of my infrastructure configuration lives in Git repositories, mainly in the form of Docker Compose files, scripts, and other configuration files. This makes it possible to use AI coding agents to work on my infrastructure in much the same way as they would work on any other software project.
Whenever I want to try a new service, adjust an existing configuration, or automate something, I can now do so with considerably less effort.
#NixOS#Docker Compose#Git#Renovate#GitHub Actions#Forgejo Actions#Debian#bootc