Version:

Preparing the Amazon GameLift Package

Preparing the Amazon GameLift Package


This feature is in preview release and is subject to change.

Lumberyard has support for bundling and distributing your dedicated Linux servers over Amazon GameLift . To integrate your Lumberyard game with GameLift, enable the GameLift Gem and use the GameLift C++ SDK API to configure your game server and client to manage server sessions and connections from a client application.

In the rest of this topic, you learn how to set up for creating your GameLift package and make a basic deployment.

Prerequisites

Before packaging and pushing your GameLift server, make sure that you complete the following.

Prepare the GameLift package

The following instructions tell you how to package the MultiplayerSample project for a test deployment to GameLift. When you’re ready to deploy your game, edit the MultiplayerSample_CreateGameLiftPackage.sh script to use your project and its asset bundles.

  1. On your Linux server, run the packaging script.

    ./MultiplayerSample_CreateGameLiftPackage.sh
    
  2. Push your GameLift package to AWS using the AWS CLI.

    aws gamelift upload-build --operating-system AMAZON_LINUX \
        --build-root "./GameLiftPackageLinux" \
        --name "your package name" \
        --build-version "your build version" \
        --region us-west-2
    

Note
If you want your servers to be hosted in a different AWS Region, replace the us-west-2 argument value with the appropriate region identifier .

Next steps

Now that you have your server package uploaded to AWS, take these next steps to get your game deployed over GameLift and do more advanced configuration.