

Some of those services are pretty easy to set up, some might be more complicated. You’d have to look around for open source projects for those services and see if you can find ones you like. It will take more time to get it initially set up than to maintain, but expect to fix something that breaks every once in a while.
As for cost, probably like a few hundred to a thousand USD can get a reasonable computer for this. You don’t need a GPU, but want a decent CPU, plenty of RAM, and a LOT of storage. Look for companies auctioning off old servers.
Loosely I’d say expect this project to be a whole hobby.


I have a foldable Bluetooth keyboard that I sometimes use with an ssh app on my phone