Amazon GameLift
Developer Guide (Version )

Install the AWS CLI

You can use the AWS command line interface (AWS CLI) tool to make calls to any action in the AWS SDK, including the Amazon GameLift API. At a minimum, you'll need to use this tool to upload your game builds to the Amazon GameLift service.

To install the AWS CLI for Amazon GameLift

  1. Get the tool. Download the latest version of the AWS CLI tool and follow the instructions to install it. This tool runs on Windows, Linux, OS X, and Unix.

  2. Verify installation. Open a command line window or terminal and type aws gamelift help. If the CLI is correctly installed, you will see a "Welcome to the Amazon GameLift API Reference" message, followed by a list of Amazon GameLift commands.

  3. Configure the tool. Type aws configure and enter the following values at the prompts:

    • AWS access key ID – Half of the AWS account user credentials, which are generated using the IAM service. For help, see Get your access key ID and secret access key.

    • AWS secret access key – Half of the AWS account user credentials, along with the AWS access key ID.

    • Default region name – Name of a region, such as "us-west-2" you want to set as default. If you don't set a default region, every command must specify a region using the --region parameter. See a list of available regions for Amazon GameLift at AWS Regions and Endpoints.

    • Default output format – Format to receive API responses. Options include "json", "text" or "table". If you don't enter a default format, the CLI processes your requests but doesn't display any results.