Is there a way to modify the existing server executable files in a running fleet?

Hello everyone, I was wondering if there was a more efficient way to test GameLift without using local. For example, I am able to remote desktop connect into the Windows fleet instance, and was trying to replace the server executable file but the server executable is always running. When I try terminating the server process, it just automatically restarts. Is there a way to change the server executable through Remote Desktop Connection? Or do I have to upload a new build and create a new fleet every time the server changes?

Hi @chrisgong
I was able to upload a new build and create a new fleet every time the server changed when I went through a situation similar to your friend!
If I see any other way to help I will answer you here. Thanks!

1 Like

Unfortunately, when using classic GameLift a build is an immutable thing, you have to create a build each time to test code changes.

If you’re are using GameLift realtime you can update the script package on the fly without recreating a fleet.

You could use a server instance role and grab dynamic config (ie read from Dynamodb, S3 config bucket etc) so your server can change behaviour dynamically - https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-server-resources.html if that fits your use patterns.

1 Like