ContainerGroupsPerInstance - Amazon GameLift
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

ContainerGroupsPerInstance

This data type is used with the Amazon GameLift containers feature, which is currently in public preview.

Determines how many replica container groups that Amazon GameLift deploys to each instance in a container fleet.

Amazon GameLift calculates the maximum possible replica groups per instance based on the instance 's CPU and memory resources. When deploying a fleet, Amazon GameLift places replica container groups on each fleet instance based on the following:

  • If no desired value is set, Amazon GameLift places the calculated maximum.

  • If a desired number is set to a value higher than the calculated maximum, fleet creation fails..

  • If a desired number is set to a value lower than the calculated maximum, Amazon GameLift places the desired number.

Part of: ContainerGroupsConfiguration, ContainerGroupsAttributes

Returned by: DescribeFleetAttributes, CreateFleet

Contents

Note

In the following list, the required parameters are described first.

DesiredReplicaContainerGroupsPerInstance

The desired number of replica container groups to place on each fleet instance.

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 5000.

Required: No

MaxReplicaContainerGroupsPerInstance

The maximum possible number of replica container groups that each fleet instance can have.

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 5000.

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: