I’ve been self-hosting things for many years. There were times whenever I was fairly enthusiastic concerning it, continually trying out new application and tinkering alongside my infrastructure. But at several point, that enthusiasm faded a bit.
I never really stopped self-hosting, but I became small disposed to test alongside new things. Maintaining what I already had operating was adequate for me.
Over the final few months, however, I’ve established myself getting increasingly enthusiastic concerning self-hosting again. And, slightly ironically, AI is a big logic for that.
Less friction
Most of my infrastructure configuration lives in Git repositories, chiefly in the form of Docker Compose files, scripts, and another configuration files. This makes it imaginable to use AI coding agents to activity on my infrastructure in much the identical way as they would activity on any another application project.
Whenever I desire to try a new service, modify an existing configuration, or automate something, I can now do so alongside considerably small effort.
In the past, I would sometimes put off certain changes merely since I didn’t awareness akin spending an evening study changelogs and records or troubleshooting issues. It’s not that I couldn’t have done these things before. But often, the amount of attempt required fair wasn’t value it to me.
Now, equal comparatively spontaneous ideas frequently end up becoming reality.
Trying things I continually established interesting
There are additionally technologies that I’ve continually established engaging but never felt informed adequate concerning to really create use of them.
NixOS is a fine example. I’ve continually liked the idea of declaratively configuring an complete system; I even used it on my laptop during my Linux honeymoon phase. But getting everything configured the way I wanted was fairly a hurdle. With the assistance of AI, I’m now making much additional extended use of NixOS on my residence server.
For my VPS infrastructure, I’ve additionally started construction my own Debian-based bootc depiction (after thinking concerning it for several time).
Having my complete functioning scheme configuration defined in a Git repository and automatically construction a bootable receptacle depiction from it is item I discover really cool. But it’s additionally item I likely wouldn’t have invested adequate period in to get operating on my own before. Even alongside the assistance of AI, it motionless took me fractional a day whenever I set it up a few months ago. Without AI, it would likely have taken me at smallest a week.
AI makes experimenting alongside unfamiliar technologies much additional approachable. I don’t necessarily need to comprehend all small item before I can get started. I can study concerning things alongside the way, ask questions, and gradually enhance my configurations.
Automating nearly everything
Something I’ve additionally eventually managed to do is automate most of the build, update, and deployment processes for my infrastructure.
A lot of the activity engaged in self-hosting isn’t particularly exciting. Keeping track of new releases, updating receptacle depiction tags, construction images, and deploying configuration changes are all things that need to be done regularly.
I motionless recall what updating a assistance used to appearance like: bumping the type and adjusting the Docker Compose document on my laptop, pushing the changes to the Git remote, SSHing into the server, pulling the changes, and eventually deploying them. Now, a sole Git shove is enough. If a shove is equal necessary.
With Renovate, I no longer need to actively keep track of most application updates. It creates drag requests for me, and often, all I need to do is assessment and merge them. I can equal do that on my phone during sitting on the sofa.
Pushing changes or merging a drag petition triggers the corresponding GitHub Actions or Forgejo Actions workflows, which obtain attention of construction and deploying everything.
Of course, there’s nothing particularly groundbreaking concerning any of this. DevOps has been about for a lengthy time, and none of these automation tools necessitate AI. But AI has helped me put all these pieces together in a way that I earlier never fairly got about to doing.
And the nice item concerning automating these tasks is that the benefits broaden fine beyond the first setup. I now have small tedious activity to do all period I desire to alter item or update a service.
Back to additional mighty hardware
As I’ve started hosting additional things again, I’ve additionally moved additional of my services from my VPS to my residence server.
For a while, I was using an HP t640 lean client as my residence server. However, alongside additional things I wanted to run, I decided to toggle rear to my ASRock DeskMini A300, which had been sitting unused for several time. I’m thinking concerning repurposing the t640 as a “router on a stick”, though.
I equal took the chance to upgrade its CPU from an AMD Ryzen 5 2400G to a Ryzen 5 PRO 4650G and replaced the inventory AMD cooler alongside a quieter Noctua cooler. Noise was the chief logic I switched to the t640 in the archetypal place.
It’s nice to put several hardware I already owned rear to use fairly than purchasing an entirely new machine. I additionally managed to get the two the CPU and the cooler for a fine cost through a classifieds site.
Having several additional computing power accessible gives me additional area to experiment. And there’s item fairly satisfying concerning having a small box at residence operating a expanding gathering of services that I use in my mundane life.
But it’s not fair concerning self-hosting existing software. AI has additionally changed how I method problems for which there isn’t an existing part of application that does exactly what I want.
Previously, I would frequently expend fairly several period searching for a suitable open-source project, comparing distinct alternatives, and figuring out how to create one of them activity for my particular use case.
These days, for smaller problems, construction my own resolution has rotate into a much additional appealing option.
I’ve lately built tools to automatically download invoices, e-papers or Linux ISOs.
I can build (or have AI build) these tools in Go, my preferred programming language, and tailor them to my exact needs.
They don’t need to assistance all imaginable use case, have an detailed person interface, or be particularly engaging to anyone another than me. I don’t need to rotate all small tool into a appropriate open-source project alongside extended records and assistance for another people’s use cases. They fair need to resolve my problem.
What I particularly bask is how fine this complements my increasingly automated infrastructure. Building a small tool has rotate into easier, and so has construction a receptacle depiction for it, deploying it, and keeping it running.
The complete process, from having an idea to having item really operating on my residence server, requires much small attempt than it used to.
Just since I can doesn’t average I should
Of course, there are downsides to all of this.
Every additional assistance is another item that needs to be maintained. AI-generated application isn’t exempt from bugs, safety issues, or specialized debt. And having an AI delegate create changes to my infrastructure doesn’t absolve me of the duty of understanding those changes.
There’s additionally the enticement to build or deploy things merely since I can. When implementing an idea becomes so easy, it’s perchance additional crucial than always to occasionally ask myself whether it’s really value implementing in the archetypal place.
On the another hand, self-hosting is a hobby for me. Not everything I do needs to be economically sensible or particularly useful. Sometimes, experimenting alongside item new is the entire point.
And alongside much of the regular care automated, adding another assistance doesn’t necessarily average adding as much recurring activity as it used to.
A slightly ironic development?
I discover it slightly ironic that AI, a innovation mostly dominated by big tech companies, is assisting me rotate into a small little reliant on those extremely companies in another areas of my digital life.
I’m conscious that this additionally creates a new benevolent of dependency. But the application and infrastructure configurations I create alongside the assistance of AI can continue to be independently of the AI services I used to create them. And since I mostly use open-weight models, I have a broad range of providers to choose from.
What I value most, however, isn’t necessarily the period I’m saving. It’s that I’m additional disposed to really prosecute the small ideas I have.
I’m trying out technologies I’ve been inquisitive concerning for years. I’m automating things that I’ve wanted to automate for a lengthy time. I’m construction small tools for myself. I’m tinkering alongside hardware again.
AI hasn’t basically changed why I akin self-hosting. I motionless bask having authority complete my digital life, learning new things, and tinkering alongside technology.
It’s fair removed a lot of the conflict that made me endure several of my enthusiasm for it complete the years.
And now, I’m having a lot of fun alongside it again.