RedditPP Mascot

RedditPP

r/duneawakening • … • u/PhonicUK

The self-hosted server could not possibly by any metric be a bigger mess than it is. Plus it's a security mess.

For those of you who don't know me - I run CubeCoders, we make the AMP game server control panel.

Edit: Since writing this, I've got it all together and AMP can now spin up Dune servers on normal Linux systems! No Hyper-V, Windows Pro, Kubernetes or Alpine mess. Have fun!

Security mess first: On the Windows side it ships a VM that has a pre-defined, static SSH key that's part of the repo. If you accidentally exposed the VM to the internet by using a bound network and DMZ or otherwise let SSH through intentionally or otherwise, the whole world has access to that VM. GG.

Lots of developers over the years have shipped some really daft servers that require some real fun tricks and hacks to get them to run in a way that make sense, because more often than not game developers don't make good server application developers.

But never in my 15 years of making server management software have I ever seen something so indescribably, so horribly, so unnecessarily convoluted and messed up.

The Windows side is just a virtual machine. They've not shipped a Windows server, they shouldn't have done this at all. This makes no sense and offers no value except confusion and extra limitations. Scrap this, don't bother with it, pay it no attention.

Now the Linux side is a real case of "Ship my machine" - the individual services are nothing remarkable. Postgres, RabbitMQ, and a few other bits. These are in docker images that are shipped directly. No "docker pull" - just the image files dumped in place. So okay lets pull these apart and ignore most of the unnecessary stuff in there.

- But - When you drill down far enough, there's a fairly normal and unremarkable UE5 Dedicated Server application sitting at the bottom of it. Just sat there hidden under layers of images and scrips that don't need to be there.

Funcom: Stop trying to be cute, stop trying to make it turnkey, ship the damned server *directly* and let the existing management tools handle it all properly and handle all of the dependencies and other tooling that's needed. Don't try and ship your machine, don't try and make it turn key because it's having the opposite effect. Just document what the requirements are, don't expect to have to ship something that works OOTB because virtually nobody does for anything with these kinds of dependencies.

We are working on pulling this to shreds until we can make something sensible.

— 0