sandstorm-io/sandstorm

Idea: Proxy Cockpit into Admin Panel

Open

#3621 opened on May 20, 2022

View on GitHub
 (2 comments) (0 reactions) (0 assignees)JavaScript (6,583 stars) (737 forks)batch import
enhancementgood first issueinstall-configself-hostingusability

Description

So, we've long talked about being able to have a Sandstorm distro or box which can all be managed from one place, but as a project, we are probably a bit small to handle adding "create all the management tools for a Linux OS" to our repertoire. My Sandstorm box probably doesn't get as much attention as it should, because I'm not regularly able to SSH into it.

https://cockpit-project.org/

I was wondering how crazy an idea it would be to integrate Cockpit, ideally by like proxying it through Sandstorm, so it got our certificates, wouldn't be running on a separate port, and we could ensure the user was an admin in Sandstorm and such, and then making it reachable from inside the admin panel. Shockingly, the styles even match up a bit:

image

This would let the admin access the terminal, install OS updates, reboot the server, and monitor things like CPU, memory, and storage usage.

I am not sure we'd want to bypass it's authentication (which uses the OS credentials), but perhaps add Sandstorm authentication as a layer around it. And a big question would be whether to install it for people by default, install it on request, or integrate it if they installed it separately. It's available on most common distros already.

Contributor guide