Auto scaling question

0

Quick question regarding auto scaling that I could't answer myself from reading the docs.

When a fleet is autoscaling down and the protection policy of a fleet is set to full protection. Does gamelift set the PlayerSessionCreationPolicy to DENY_ALL automatically on running gamesessions to prevent new player sessions from entering a game session that should be terminated in time as a result of scaling down?

If not, is there another way to 'mark' gamesessions that should end? So that the instance will gracefully shut down once all sessions are done.

Thanks.

已提問 5 年前檢視次數 214 次
2 個答案
0
已接受的答案

Hi-

This does not happen automatically. When you are scaling down it will treat all hosts equally. The first host that ends up with no game sessions running on it will be the first eligible to scale down. When placing game sessions we pack them onto instances in such a way that we favor fully-loaded hosts. This allows for other hosts to free up and become eligible for scaling down.

Does this help?

已回答 5 年前
0

That's clear. Thanks.

已回答 5 年前

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

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

回答問題指南