Prepare your game for Amazon GameLift - 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).

Prepare your game for Amazon GameLift

This topic describes the steps for preparing your multiplayer game for integration with managed Amazon GameLift hosting. To prepare your game, you must activate communication between it and Amazon GameLift.

Prepare your custom game server

To start and stop game sessions, and to perform other tasks, a game server must be able to notify Amazon GameLift about its status. To activate communication with Amazon GameLift, add code to your game server project. For more information, see Integrate games with custom game servers.

  1. Prepare your custom game server for hosting on Amazon GameLift.

    • Get the Amazon GameLift Server SDK and build it for your preferred programming language and game engine.

    • Add code to your game server project to activate communication with Amazon GameLift.

  2. Prepare your game client to connect to Amazon GameLift hosted game sessions.

Prepare your Realtime server

Amazon GameLift Realtime Servers provides a lightweight server solution that you can configure to fit your game. A Realtime server provides the same benefits that Amazon GameLift offers to game servers, but with reduced game server customizability.

Create a Realtime script for hosting on Amazon GameLift.

Realtime scripts contain your server configuration and optional custom game logic. Realtime servers are built to start and stop game sessions, accept player connections, and manage communication with Amazon GameLift and between players in a game. There are also hooks for you to add custom server logic for your game. Realtime servers use Node.js and JavaScript. For more information, see Creating a Realtime script and Test your integration with Amazon GameLift.