When scaling hosting capacity for a Amazon GameLift Servers fleet location, either manually or by auto scaling, consider the location's scaling limits. All fleet locations have a minimum and maximum limit that define the allowed range for the location's capacity. By default, limits on fleet locations have a minimum of 0 instances and a maximum of 1 instance. Before you can scale a fleet location, adjust the limits.
If you're using auto scaling, the maximum limit allows Amazon GameLift Servers to scale up a fleet location to meet player demand but prevents runaway hosting costs, such as during a DDOS attack. Set up an Amazon CloudWatch alarm to notify you when capacity approaches the maximum limit, so you can evaluate the situation and manually adjust as needed. (You can also create a billing alarm to monitor AWS costs.) The minimum limit is useful to maintain hosting availability, even when player demand is low.
You can set capacity limits for a fleet's locations in the Amazon GameLift Servers console
To set capacity limits
Open the Amazon GameLift Servers console
. -
In the navigation pane, choose Hosting, Fleets.
-
On the Fleets page, choose the name of an active fleet to open the fleet's detail page.
-
On the Scaling tab, under Scaling capacity, select a fleet location, and then choose Edit.
-
In the Edit scaling capacity dialog box, set instance counts for Min size, Desired instances, and Max size.
-
Choose Confirm.