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.

已提問 1 年前檢視次數 505 次
1 個回答
0
已接受的答案

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
已回答 1 年前
  • 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.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南