feydan / satisfactory-server-aws

Automated Satisfactory Dedicated Server management on AWS
MIT License
67 stars 43 forks source link

It seems like some refactors could enable support for arbitrary steam games #5

Open CryoBrown opened 2 years ago

CryoBrown commented 2 years ago

Found this project while looking into options for setting up a project zomboid server, and while I forked to work on just supporting that in the short term, it seems like very little of this project is specific to satisfactory, and it seems like the satisfactory components could probably be isolated to their own install script, and install scripts for a variety of games could be added whenever someone configures one.

feydan commented 2 years ago

I definitely agree @CryoBrown -- I hosted a Valheim server when it came out and the install process was pretty similar. Some of the things (not exhaustive) that would need to be specific to each game would be:

  1. SteamCmd install command (potentially with configurable flags)
  2. Ports to open up (i.e. security group configurations)
  3. Backup save directory path (not sure if all games could use the generic s3 sync cronjob)
  4. Ec2 instance and ebs/disk size
  5. Any additional configurations/config files needed to setup the server.

If you haven't seen LinuxGSM yet, they maintain a lot of install scripts for a lot of servers (though I don't think they necessarily have the infra dependencies). I wonder if we could have the CDK wrapper on top of GSM to reduce some of the game specific complexities. https://linuxgsm.com/servers/

a-bigelow commented 2 years ago

@feydan I've started work on a project that's basically exactly what you just described. looking for contributors!

@CryoBrown too

https://github.com/a-bigelow/aws-gameservers