by timmg · 1y ago · 0 comments
Like I think there should be some way to "one-button-click" install "self-hosted" apps in the cloud, tied to my personal account (and maybe with auth tied to that account). And I pay the usage fees for the cloud (hopefully on a per-request kind of basis, not an always-on server instance).
Is this a thing that I don't know about? Or is the market too narrow to be useful? (Otherwise, why doesn't it already exist?)
I'm not super familiar with it, but I think what you describe was/is the goal of Sandstorm (https://sandstorm.org/).
Then there are also efforts like YunoHost (https://yunohost.org/) which are kind of like that, gives SSO auth and everything out of the box for all the apps it supports.
Even easier to use and less involved would be maybe what TrueNAS Core has in terms of apps support, which is essentially also "one-click install" of self-hosted applications, backed by local Kubernetes installation if I remember correctly.
A more involved option for people who want to manage more themselves (both infrastructure and configuration-wise) is using NixOS, which is the approach I chose for my own local infrastructure at home. For the packages supported by NixPkgs, many applications are like ~4 lines of configuration to setup and get integrated with the rest of the apps you run.
All of these options you can run in the cloud, bare-metal or at home servers, afaik.
Huh, interesting as I literally moved from TrueNAS to NixOS because of two reasons 1) not liking something as complicated as Kubernetes for something as simple as home infrastructure and 2) to have a more reproducible setup.
Happy to hear 1 won't be an issue for others in the future :)
This 5 disk pool started from the freebsd truenas, to Debian, to nixos, back to linux truenas.
And the disks where bumped from 2TB to 12Tb
In particular, self hosted apps usually are using relational databases or SQLite which need persistent disk so can’t run serverless. They also sometimes require writing to physical disk instead of object storage like S3. Writing or rewriting apps to support serverless when they have no technical need to when self hosting would make things more complicated. Most CRUD frameworks used to write self-hosted apps do not work with NoSQL out of the box.
Thing is, almost every self hosted app supports docker now and so if you like, install portainer on a VPS or NUC or raspberry pi and you’ll be able to set up most self hosted apps easily without touching the command line.
As far as I know, myself and other self-hosters run these sort of applications/services on home infrastructure or VPSes/dedicated/bare-metal where multiple applications usually share one instance. This could be done with docker, or cgroups, or countless other ways. I'm not sure if that's what you mean with a "hosted container" though, don't think I've heard about that before.
And I said the same thing at the end of my comment about the way people would host things using docker on a VPS or home server.
> Thing is, almost every self hosted app supports docker now and so if you like, install portainer on a VPS or NUC or raspberry pi and you’ll be able to set up most self hosted apps easily without touching the command line.
And I did say at the end of my comment:
> Thing is, almost every self hosted app supports docker now and so if you like, install portainer on a VPS or NUC or raspberry pi and you’ll be able to set up most self hosted apps easily without touching the command line.
Even decades ago, you could buy a web hosting account and simply click an icon to install Wordpress, CRMs, webmail clients, etc in your account and get started with minimal hassle. There are very likely many of these still around. Of course, if you are not a technical user, you are limited to what they provide.
In the realm of containers, there are also many many choices for this. Most are open source, some are commercial. The problem with all that I know of, is that when you want to use an app that isn't in their "store", or when you want to use it differently than how they have packaged it, either you can't do it because it's not supported, or you essentially have to learn docker from scratch anyway.
You’re not going to get per-request billing, but shared hosting is typically as cheap as you’re going to get for “always-on” web hosting.
There are many more, though. Things like proxmox with app stores, which are easily installed in most clouds.
Also CasaOs and others.
The only problem is that the existing apps wouldn't work with it.
To a lot of people, self hosting is about getting complete (or effectively complete) control of your data and privacy. That can be compatible with the cloud.