Hi all, I’m looking for useful scripts for deploying game servers to the cloud. Some games for example could be Valheim, Palworld, Project Zomboid, Space Engineers, Minecraft.

I’m looking for anything really. Thanks!

  • just_another_person@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    28 days ago

    Use Terraform + Cloudinit scripts if you’re using a cloud platform, and make sure you version everything or use Packer to make versioned images.

    • dudesss@lemmy.caOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      28 days ago

      Cloudinit and Packer look similar to OpenTofu and Terraform. Thanks!

      How does Packer differ from the other three?

  • tal@lemmy.today
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    28 days ago

    I haven’t spent much time with them — I’m not a devops person — but if you’re doing this at scale, I’d guess that you might want to look into software configuration management tools.

    Some major open-source players that run on Linux:

    https://en.wikipedia.org/wiki/Ansible_(software)

    https://en.wikipedia.org/wiki/Progress_Chef

    https://en.wikipedia.org/wiki/Puppet_(software)

    I’ve only used Puppet, and not really in this role, so I can’t provide a lot of advice specific to their use. But it may be a useful starting point for you, if you’re asking “how do people do things like this?”

    kagis

    Yeah, I see examples of people deploying game servers with them. To look for Ansible and Valheim, for example:

    https://github.com/Aetrius/valheim-ansible

    The basic idea is that if you’re running a bunch of servers, you can make changes to a configuration file and the software configuration management package will set up a system to conform to that configuration or propagate all the changes to those servers that don’t yet have those changes applied to them.

    EDIT: For Puppet, sounds like they moved to a proprietary model, and OpenVoxProject is the open-source fork.

  • slazer2au@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    28 days ago

    A lot of those can be run as docker containers so spin up and down can be fast and date migration is pretty easy.