

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# Amazon GameLift Servers 控制台中的实例集
<a name="gamelift-console-fleets"></a>

实例集资源表示一组已部署并用于运行您的游戏服务器的计算设备。根据您的托管解决方案，您可能拥有托管舰队、托管集装箱 EC2 舰队、Anywhere 舰队或两者兼而有之。

在Amazon GameLift Servers控制台中或使用或 AWS SDK 查看有关舰队的信息。Amazon GameLift Servers

------
#### [ Console ]

您可以查看您的 AWS 账户Amazon GameLift Servers下为托管游戏而创建的所有舰队的信息。在控制台的左侧导航中，找到所需的托管选项（Anywhere、托管 EC2、托管容器），然后选择 **Fle** ets。

对于每个托管选项，“**车队**” 页面都会列出位于您当前所选 AWS 地区的车队。您可以从**实例集**页面上创建新的实例集，或查看实例集的更多详细信息。实例集的[详细信息页面](gamelift-console-fleets-metrics.md)包含使用信息、指标、游戏会话数据和玩家会话数据。您也可以编辑舰队记录或删除舰队。

默认情况下，**实例集**页面显示以下摘要信息。您可以根据需要使用**首选项**工具调整表内容（请参阅表右上角的 ![\[Gear icon representing settings or configuration options.\]](http://docs.aws.amazon.com/zh_cn/gameliftservers/latest/developerguide/images/settings.png) 图标）。自定义首选项将保存到您的 AWS 账户用户，并在您查看此页面时自动应用。
+ **ID** – 分配给实例集的标识符。这个 ID 在创建队列 AWS 区域 的地方是唯一的。
+ **名称** – 为实例集指定的易记名称。
+ **状态** – 实例集的状态：**新建**、**正在下载**、**正在构建**和**活动**。
+ **创建时间** – 实例集的创建日期和时间。
**注意**  
对于在 90 天前创建的实例集，实例集会显示警告图标。作为最佳实践，我们建议每 30 天更换一次舰队，以维护托管游戏服务器的安全 up-to-date运行环境。有关指南，请参阅[Amazon GameLift Servers 的安全最佳实践](security-best-practices.md)。
+ **实例集类型**：用于托管游戏的实例的可用性，这可能会影响托管成本。托管式实例集可以使用**按需型**（始终可用）或**竞价型**（可用性动态变化）实例。
+ **活动实例**-队列正在使用的 EC2 实例数量。
+ **所需实例**-要保持活动状态的 EC2 实例数量。
+ **游戏会话数** – 实例集中当前正在运行的活动游戏会话数。该数据有五分钟的延迟。
+ **玩家会话**：实例集中活跃玩家会话的数量。该数据有五分钟的延迟。

------
#### [ AWS SDK ]

使用以下 AWS CLI 命令检索有关此资源的信息：
+ 托管 EC2 车队
  + [ListFleets](https://docs.aws.amazon.com/gameliftservers/latest/apireference/API_ListFeets.html)
  + [ListCompute](https://docs.aws.amazon.com/gameliftservers/latest/apireference/API_ListCompute.html)
  + [DescribeFleetAttributes](https://docs.aws.amazon.com/gameliftservers/latest/apireference/API_DescribeFleetAttributes.html)
  + [DescribeCompute](https://docs.aws.amazon.com/gameliftservers/latest/apireference/API_DescribeCompute.html)
  + [DescribeFleetCapacity](https://docs.aws.amazon.com/gameliftservers/latest/apireference/API_DescribeFleetCapacity.html)
  + [DescribeFleetUtilization](https://docs.aws.amazon.com/gameliftservers/latest/apireference/API_DescribeFleetUtilization.html)
+ 托管式容器实例集
  + [ListContainerFleets](https://docs.aws.amazon.com/gameliftservers/latest/apireference/API_ListContainerFleets.html)
  + [DescribeContainerFleet](https://docs.aws.amazon.com/gameliftservers/latest/apireference/API_DescribeContainerFleet.html)
  + [ListContainerGroupDefinitions](https://docs.aws.amazon.com/gameliftservers/latest/apireference/API_ListContainerGroupDefinition.html)
  + [DescribeContainerGroupDefinition](https://docs.aws.amazon.com/gameliftservers/latest/apireference/API_DescribeContainerGroupDefinition.html)
+ 
  + [ListFleets](https://docs.aws.amazon.com/gameliftservers/latest/apireference/API_ListFeets.html)
  + [ListCompute](https://docs.aws.amazon.com/gameliftservers/latest/apireference/API_ListCompute.html)
  + [DescribeFleetAttributes](https://docs.aws.amazon.com/gameliftservers/latest/apireference/API_DescribeFleetAttributes.html)
  + [DescribeCompute](https://docs.aws.amazon.com/gameliftservers/latest/apireference/API_DescribeCompute.html)

------