Create a new Amazon GameLift fleet - 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).

Create a new Amazon GameLift fleet

Create a new fleet and deploy your custom game server build or Realtime Servers for hosting. You can deploy any game build or script resource that you upload to Amazon GameLift.

How Amazon GameLift fleet creation works

When you create a new fleet, Amazon GameLift starts a workflow that creates a fleet with one Amazon Elastic Compute Cloud (Amazon EC2) instance in each fleet location. As Amazon GameLift completes each step of the workflow, the fleet emits events and Amazon GameLift updates the fleet's status. You can track all events using the Amazon GameLift console or by calling the Amazon GameLift API operation DescribeFleetEvents. You can also track the status of individual locations using DescribeFleetLocationAttributes.

EC2 fleet creation workflow:
  • Amazon GameLift creates a fleet resource in the fleet's home Region and in each remote location defined in the fleet.

  • Amazon GameLift sets the desired capacity to one instance.

  • Amazon GameLift sets the fleet and location status to New.

  • Amazon GameLift begins writing events to the fleet event log.

  • Amazon GameLift allocates requested computing resources for one new instance in each fleet location.

  • Amazon GameLift downloads the game server files to each instance and sets the fleet status to Downloading.

  • Amazon GameLift validates the downloaded game server files on each instance to verify that no errors occurred during downloading. Amazon GameLift sets the fleet status to Validating.

  • Amazon GameLift builds the game server on each instance and sets the fleet status to Building.

  • Amazon GameLift begins launching server processes on each instance, following instructions in the fleet's runtime configuration. If you configured the fleet to run multiple concurrent server processes per instance, then Amazon GameLift staggers the process launches by a few seconds. As each process comes online, it reports readiness back to Amazon GameLift. Amazon GameLift sets the fleet status to Activating.

  • Amazon GameLift sets the fleet statuses and the location statuses to Active as server processes report readiness.

Amazon GameLift Anywhere fleet creation
  • Amazon GameLift creates a fleet resource. For the fleet's home Region and each custom location defined in the fleet, Amazon GameLift sets the fleet and location status to New.

  • Amazon GameLift begins writing events to the fleet event log.

  • After one server process in a fleet notifies Amazon GameLift that it's ready, Amazon GameLift sets the fleet status and the location status to Active. As server processes in other fleet locations report readiness, Amazon GameLift sets the status of each fleet location to Active.

For help with troubleshooting fleet creation issues, see Debug Amazon GameLift fleet issues.