47 releases (3 stable)

new 1.3.0 Nov 27, 2023
0.39.0 Nov 20, 2023
0.28.0 May 24, 2023
0.25.0 Mar 30, 2023
0.0.0 May 7, 2021

#2159 in Network programming

Download history 255/week @ 2023-08-12 296/week @ 2023-08-19 178/week @ 2023-08-26 142/week @ 2023-09-02 127/week @ 2023-09-09 193/week @ 2023-09-16 122/week @ 2023-09-23 223/week @ 2023-09-30 189/week @ 2023-10-07 159/week @ 2023-10-14 304/week @ 2023-10-21 244/week @ 2023-10-28 163/week @ 2023-11-04 280/week @ 2023-11-11 243/week @ 2023-11-18 322/week @ 2023-11-25

1,066 downloads per month


109K SLoC


Amazon GameLift provides solutions for hosting session-based multiplayer game servers in the cloud, including tools for deploying, operating, and scaling game servers. Built on Amazon Web Services global computing infrastructure, GameLift helps you deliver high-performance, high-reliability, low-cost game servers while dynamically scaling your resource usage to meet player demand.

About Amazon GameLift solutions

Get more information on these Amazon GameLift solutions in the Amazon GameLift Developer Guide.

  • Amazon GameLift managed hosting -- Amazon GameLift offers a fully managed service to set up and maintain computing machines for hosting, manage game session and player session life cycle, and handle security, storage, and performance tracking. You can use automatic scaling tools to balance player demand and hosting costs, configure your game session management to minimize player latency, and add FlexMatch for matchmaking.
  • Managed hosting with Realtime Servers -- With Amazon GameLift Realtime Servers, you can quickly configure and set up ready-to-go game servers for your game. Realtime Servers provides a game server framework with core Amazon GameLift infrastructure already built in. Then use the full range of Amazon GameLift managed hosting features, including FlexMatch, for your game.
  • Amazon GameLift FleetIQ -- Use Amazon GameLift FleetIQ as a standalone service while hosting your games using EC2 instances and Auto Scaling groups. Amazon GameLift FleetIQ provides optimizations for game hosting, including boosting the viability of low-cost Spot Instances gaming. For a complete solution, pair the Amazon GameLift FleetIQ and FlexMatch standalone services.
  • Amazon GameLift FlexMatch -- Add matchmaking to your game hosting solution. FlexMatch is a customizable matchmaking service for multiplayer games. Use FlexMatch as integrated with Amazon GameLift managed hosting or incorporate FlexMatch as a standalone service into your own hosting solution.

About this API Reference

This reference guide describes the low-level service API for Amazon GameLift. With each topic in this guide, you can find links to language-specific SDK guides and the Amazon Web Services CLI reference. Useful links:

Getting Started

Examples are available for many services and operations, check out the examples folder in GitHub.

The SDK provides one crate per AWS service. You must add Tokio as a dependency within your Rust project to execute asynchronous code. To add aws-sdk-gamelift to your project, add the following to your Cargo.toml file:

aws-config = { version = "1.0.1", features = ["behavior-version-latest"] }
aws-sdk-gamelift = "1.3.0"
tokio = { version = "1", features = ["full"] }

Then in code, a client can be created with the following:

use aws_sdk_gamelift as gamelift;

async fn main() -> Result<(), gamelift::Error> {
    let config = aws_config::load_from_env().await;
    let client = aws_sdk_gamelift::Client::new(&config);

    // ... make some calls with the client


See the client documentation for information on what calls can be made, and the inputs and outputs for each of those calls.

Using the SDK

Until the SDK is released, we will be adding information about using the SDK to the Developer Guide. Feel free to suggest additional sections for the guide by opening an issue and describing what you are trying to do.

Getting Help


This project is licensed under the Apache-2.0 License.


~302K SLoC