cross-posted from: https://feddit.de/post/1305653
I used to host minecraft at a gameserver hosting service where you can easily click to select mods and so on.
I figured I can host it on a more powerful cloud vserver for cheaper if I can spare the hosting tools.
Can I just copy all the game files to a new server and run it with the same command, I think Java Software works that way right? It wouldn’t care for libraries installed by the os, that correct? Both servers are Linux based, but the new one would be on ARM architecture - again, should be irrelevant thanks to Java right?
I’ll give it a try, just wanted to see if anyone has tips on what to look out for.
I figured if I get proper startup and shutdown scripts setup I could even spin down the instance when I know nobody will be playing for a while and save some money. It would cost about 50 cents per month to have a separate persistent storage where the scripts could save to / recover from…
Any thoughts would be appreciated! Cheers
Check out the itzg docker Minecraft server build. Not sure if it’s exactly what you’re looking for but it makes hosting a server very easy if you’re familiar with docker
I use those images with great success. I have 2 bedrock and a Java edition with Forge on it with great success.
Oh thanks a lot for that recommendation, I was looking for docker images but nothing seemed just right.
No worries! If you really want to save money take a look at the cloud formation (AWS) implementation of it. It would take some trial and error to find the parameters to best suit you and friends, but it uses spot pricing to take advantage of the cheapest hardware possible. It’s linked in the docs (but I always have to dig for it), so direct link is here https://github.com/vatertime/minecraft-spot-pricing
Interesting, thanks. Although the guide says roughly 10$ for t3.medium (2vCPU 4gb RAM) and I’m paying half of that at my current hoster for comparable specs. Still a cool guide!