Multiple game servers in a single EC2 instance. Unreal Engine 5.1.

0

Greetings.

I have been following the official GameLift & Unreal tutorial and have been able to get it working in UE 5.1. I'd like to know what steps should I do to run multiple game servers in a single EC2 instance. The tutorial above only shows how to run a single game server. We are planning to have one dedicated server for each game session in our project.

There was a related question here, but our project does not use Steam.

asked a month ago54 views
1 Answer
0
Accepted Answer

Hi,

A fleet makes use of it's runtime configuration to determine the type and number of server processes to run per instance.

Here's relevant documentation that outlines how to do the same, optimizations, and decisions on the number of server processes per instance. https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-multiprocess.html

Thanks!

AWS
answered 12 days ago
  • Thanks for the reply. If I understand correctly, a dedicated server is not the same as a server process? I see an option to increase the number of server processes per instance, but I would like to know how to run additional dedicated servers per instance. I tried connecting to the instance using Remote Desktop and manually starting another dedicated server. Perhaps there is a more streamlined way of doing this.

  • A server process essentially boils down to an executable that GameLift launches according to the provided runtime configuration. So if the process you are launching is a dedicated server in itself, each process would correspond to a dedicated server. If your build contains an executable responsible for a single dedicated server, you should just use the ConcurrentExecutions parameter to launch multiple instances of these. https://docs.aws.amazon.com/gamelift/latest/apireference/API_ServerProcess.html

  • Thanks! This makes a lot more sense now.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions