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
    2
    ·
    2 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
      1
      ·
      2 days ago

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

      How does Packer differ from the other three?

      • just_another_person@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        2 days ago

        Opentofu is Terraform 🤣 I generally don’t throw that out there to prevent confusing people, but I prefer it, honestly.

        Packer builds images you can upload to cloud platforms.

        Terraform/Opentofu executes API calls to orchestrate spinning things up and down.

        Cloudinit is the native built-in bootstrap framework of instances themselves that all the major cloud providers support. It’s what executes as “userdata” as some call it. Check your cloud provider docs for how to hook it in.