
I Tested the Quotas for Player Count, Process Count, and Timeouts in Amazon GameLift Servers
This page has been translated by machine translation. View original
Hello, I'm Sora from the Game Solutions Department.
In this post, I'll write about checking the quotas listed in Service Quotas for Amazon GameLift Servers, comparing what the documentation says with how they actually behave.
I cover three items: the number of players per game session, the number of processes per instance, and the player session timeout.
Conclusion first
- The limit of 200 players per game session (not adjustable) was not enforced by the API at any stage (creating the game session, creating player sessions, or connecting), and 210 players were able to connect
- The limit of 50 processes per instance (not adjustable) was enforced: setting 51 was rejected with
LimitExceededException - If you create a player session and don't connect, it becomes
TIMEDOUTat exactly 60 seconds and is removed from the game session's player count - Although both 200 players and 50 processes are not adjustable, only the 50-process limit was enforced by the API
Setup
For this test, I'm using the lobby environment I built in the following article as is.
The settings relevant to this test are as follows.
- Fleet: one managed EC2 c5.large (2 vCPU, 4 GiB memory), Tokyo Region
- Processes: 6 per instance
- Game server: Go (GameLift Go Server SDK v5.6.0)
I checked the limits on the number of players and processes by calling the GameLift APIs directly from the AWS CLI and bots, without going through the lobby API.
The bots create player sessions directly in the game session with CreatePlayerSession, then connect via WebSocket to the game server at the returned IP address and port.
The game server calls AcceptPlayerSession with the received player session ID to verify it's a valid player session.
Checking the number of players per game session
What the documentation says
In the quota list, "Player sessions per game session" is 200 and not adjustable (Adjustable: No).
The description reads as follows.
The maximum number of player sessions that can join a game session.
The CreatePlayerSessions API reference also says 200 players and not adjustable.
The maximum number of players per game session is 200. It is not adjustable.
On the other hand, the range for MaximumPlayerSessionCount in CreateGameSession only says "Minimum value of 0." and does not mention 200.
No page says whether "join" means creating a player session or connecting to the game server.
So I tried three stages: creating the game session, creating player sessions, and connecting.
Creating game sessions with a limit of 201
I set MaximumPlayerSessionCount to 200 and 201 and created game sessions using both CreateGameSession and the Queue (StartGameSessionPlacement).
All four succeeded without errors and became ACTIVE.
--- 作れたゲームセッション
limit-201 ACTIVE 201 limit-queue-201
limit-200 ACTIVE 200 limit-cgs-200
limit-201 ACTIVE 201 limit-cgs-201
limit-200 ACTIVE 200 limit-queue-200
Next, I set MaximumPlayerSessionCount to 100000 with CreateGameSession, and that could be created too.
Creating player sessions beyond the limit
In a game session with a limit of 201, I created player sessions for 202 players.
I created them 25 at a time with CreatePlayerSessions (up to 25 per call), and when rejected, created them one at a time with CreatePlayerSession.
Up to 200 players could be created, and requesting 2 more when only 1 slot remained was rejected with GameSessionFullException.
Then, requesting one at a time, the 201st succeeded and the 202nd was rejected.
14:25:34 200人まで取れた
14:25:34 200人のあと、2人分を取ろうとして断られた:
aws: [ERROR]: An error occurred (GameSessionFullException) when calling the CreatePlayerSessions operation: The game session(arn:aws:gamelift:ap-northeast-1::gamesession/<fleet-id>/<game-session-id>) does not have capacity for 2 users.
14:25:35 202人目で断られた:
aws: [ERROR]: An error occurred (GameSessionFullException) when calling the CreatePlayerSession operation: The game session(arn:aws:gamelift:ap-northeast-1::gamesession/<fleet-id>/<game-session-id>) does not have capacity for 1 users.
14:25:35 後: ACTIVE ACCEPT_ALL 201
The rejection happened not when exceeding 200 players, but when exceeding that game session's MaximumPlayerSessionCount (201).
Also, CreatePlayerSessions rejects the request without creating any player sessions if there isn't room for everyone.
When I created player sessions in the same way in a game session with a limit of 100000, I was able to create 501 of them.
Since they weren't connected, these 501 became TIMEDOUT after 60 seconds.
Connecting 210 players
Beyond just creating player sessions, I actually connected 210 bots to a game session with a limit of 100000.
AcceptPlayerSession succeeded for all 210, and the game server log also ended with playersInRoom=210.
2026/12/02 14:29:21 INFO joined playerId=bot-037 playersInRoom=210
After the bots left, all 210 player sessions became COMPLETED.
Note that the 210 players this time were merely connected, with no chat or position synchronization.
So although it ran without problems on a single c5.large, it differs from the load of a real game.
Checking the API definition
I also looked at the API definition used by the AWS CLI and boto3 (botocore's service-2.json).
The type of MaximumPlayerSessionCount is WholeNumber, with only min: 0 and no max.
The same applies to CreateGameSession, StartGameSessionPlacement, and UpdateGameSession.
The results so far are summarized below.
| What I tried | Result |
|---|---|
CreateGameSession, limit 200, 201, 100000 |
All could be created |
Queue (StartGameSessionPlacement), limit 200, 201 |
Both could be created |
| Create player sessions in a game session with a limit of 201 | Up to the 201st succeeded; the 202nd got GameSessionFullException |
| Create player sessions in a game session with a limit of 100000 | 501 could be created |
| Connect bots to a game session with a limit of 100000 | All 210 were able to join |
The 200-player limit was not enforced by the API at any stage: game session creation, player session creation, or connection.
However, since the documentation describes it as a non-adjustable limit, I think it should be read as "supported up to 200 players; it may work beyond that, but no guarantees."
If you want to exceed 200 players, it's safer to split them across game sessions.
Checking the number of processes per instance
What the documentation says
In the quota list, "Server processes per instance (Server SDK v3 and up)" is 50 and not adjustable (Adjustable: No).
The RuntimeConfiguration API reference says the following.
The count is the sum of ConcurrentExecutions across the entries in ServerProcesses.
An Amazon GameLift Servers instance is limited to 50 processes running concurrently.
Also, the UpdateRuntimeConfiguration API reference says that changing the configuration does not affect running processes.
Updating a fleet's runtime configuration never affects existing server processes.
Configuring 51 processes
On the running fleet, I applied a configuration with a total of 51 processes using UpdateRuntimeConfiguration.
This doesn't require recreating the fleet, so it can be tried as is.
I built the configuration using the first entry of the current configuration as a template, shifting the port in the launch parameters by one for each entry.
I tried the following two.
| Configuration | Result |
|---|---|
50 ServerProcesses entries, with ConcurrentExecutions of the last entry set to 2 (total 51) |
LimitExceededException |
1 ServerProcesses entry with ConcurrentExecutions set to 51 |
LimitExceededException |
Both were rejected with the same error.
aws: [ERROR]: An error occurred (LimitExceededException) when calling the UpdateRuntimeConfiguration operation (reached max retries: 2): 50 limit for server processes. 51 server count detected.
This shows that it counts by the sum of ConcurrentExecutions, not by the number of entries.
Configuring 50 processes and checking startup
Setting ServerProcesses to 50 entries (ports 7777 to 7826, ConcurrentExecutions of 1 each) was accepted.
Note that the fleet's inbound permissions only cover the ports of the original 6 processes (7777 to 7782), so clients can't connect to the added processes.
This time, I only placed game sessions and counted them.
I couldn't confirm that the processes were up using ActiveServerProcessCount from DescribeFleetUtilization.
This is because it was still 6 even 6 minutes after changing the configuration.
So I placed as many game sessions as possible and counted them.
Calling CreateGameSession repeatedly, 50 could be placed, and the 51st got FleetCapacityExceededException.
aws: [ERROR]: An error occurred (FleetCapacityExceededException) when calling the CreateGameSession operation: Unable to reserve a process(No active and available server processes found on the fleet)
The 50 processes were up within 5 minutes of changing the configuration (I didn't measure the exact time).
With 50 processes (all with a game session and 0 players), memory usage on the c5.large was 771MB including the OS and so on.
Game server memory (RSS from ps) averaged about 16MB per process, and the load average was 0.02.
With 0 players, a c5.large has plenty of headroom even for 50 processes.
Finally, I restored the original 6-process configuration.
After the 50 game sessions closed, only 6 game sessions could be placed.
The processes beyond 6 were not restarted after they ended.
This matches the following statement in the UpdateRuntimeConfiguration API reference.
The computes immediately take action to comply with the new configuration by launching new server processes or by not replacing existing processes when they shut down.
Checking the player session timeout
Behavior when a player session is created but never connected
I created a player session via the lobby API (which calls CreatePlayerSession internally) and waited without connecting to the game server.
I checked the player session status and the game session's player count every 5 to 6 seconds with DescribePlayerSessions and DescribeGameSessions.
While RESERVED, CurrentPlayerSessionCount was 1, and when it became TIMEDOUT, it went back to 0.
Looking at the player session's timestamps, it became TIMEDOUT at exactly 60 seconds.
{
"PlayerId": "seat-timeout-142253",
"CreationTime": "2026-12-02T14:23:00.844000+09:00",
"TerminationTime": "2026-12-02T14:24:00.872000+09:00",
"Status": "TIMEDOUT",
"Port": 7777
}
I also tried it twice in other lobbies, and in both cases TerminationTime was 60 seconds after CreationTime.
In these two runs, CurrentPlayerSessionCount was already 0 at the +60 second point.
The status was still RESERVED then, and became TIMEDOUT at the next check.
Since a TIMEDOUT player session is removed from the player count, a game session won't stay full even if someone creates a player session and never shows up.
Note that the game server isn't notified when a player session becomes TIMEDOUT, so if you want to know, check with DescribePlayerSessions.
Checking how to change the timeout
In the quota list, "Player session timeout" is 60 seconds and adjustable (Adjustable: Yes).
The developer guide also says it can be changed per account and Region.
The timeout defaults to 60 seconds and is adjustable for each account in each Region.
Incidentally, in a re:Post question from several years ago, the answer was that it was fixed at 60 seconds at the time and that a feature request had been filed to make it changeable.
Now it is a value that can be changed per account and Region.
However, as far as I could find, the only way to change it is a request through Service Quotas.
There is no such option in API parameters such as those of CreatePlayerSession, or in the fleet or runtime settings.
Also, the documentation doesn't say whether it can be made shorter than 60 seconds.
Service Quotas requests are meant for increases, and the re:Post request was also about 60 seconds being too short.
I didn't submit a request this time, so I haven't verified whether it can be shortened.
Finally
In this post, I checked the quotas for the number of players, number of processes, and timeout in Amazon GameLift Servers, comparing the documentation with actual behavior.
I hope this article is helpful to someone.
