this post was submitted on 03 Jul 2023
10 points (91.7% liked)

Selfhosted

39233 readers
490 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 year ago (2 children)

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

[–] [email protected] 1 points 1 year ago

I’ll add - I struggled to find a cloud host that was actually competitive compared to game hosting companies. I went through a few before I settled on one that was so cheap I just couldn’t get close with running my own. My friends like to play with a lot of mods so we needed a decent chunk of RAM.

The only way I would get it to be viable from a financial standpoint was with cloud formation. I played around with it a bit but never ended up deploying - as I say - the host I settled on was so cheap it was just easier long term.

[–] [email protected] 1 points 1 year ago

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!