Create an Amazon GameLift alias - 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 an Amazon GameLift alias

This topic describes how to create an Amazon GameLift alias for use with game session placement.

To create an alias

Use either the Amazon GameLift console or the Amazon Command Line Interface (Amazon CLI) to create an alias.

Console

In the Amazon GameLift console, use the navigation pane to open the Aliases page.

  1. Choose Create alias.

  2. Enter an alias Name. We recommend including meaningful characteristics in the alias name to help when viewing a list of aliases.

  3. Enter an alias Description as needed.

  4. Choose a Routing strategy for the alias.

    1. If you choose a Simple routing strategy, select a fleet ID from the list to associate with this alias. The list includes all fleets in eith currently selected Amazon Web Services Region. You must create an alias in the same Region as the fleet.

    2. If you choose a Terminal routing strategy, enter a string value that you want Amazon GameLift to return to a game client in response to a game session request. A request with a terminal alias throws an exception with the message embedded.

  5. (Optional) Add Tags to the alias resource. Each tag consists of a key and an optional value, both of which you define. Assign tags to Amazon resources that you want to categorize in useful ways, such as by purpose, owner, or environment. Choose Add new tag for each tag that you want to add.

  6. When you're ready to deploy the new fleet, choose Create.

Amazon CLI

Use the create-alias command to create an alias. .Amazon GameLift creates the alias resource in your current default Amazon Web Services Region (or you can add a --region tag to specify a different Amazon Web Services Region).

At minimum, include an alias name and routing strategy. For a simple routing strategy, specify the ID of a fleet in the same Region as the alias. For a terminal routing strategy, provide a message string.