Did you find this helpful?

Quickstart for multiplayer servers (Game Manager)

This tutorial helps you upload a sample multiplayer server and configure a server build.

Enable multiplayer servers 2.0

Multiplayer Servers 2.0 is available to PlayFab indie, pro, and enterprise-tier customers. If your title does not have access but you are interested in evaluating the service please email

Enable the feature by clicking the Multiplayer tab in Game Manager:

Download and build the GDSK sample

Multiplayer servers work through a special state machine by integrating with the PlayFab Game Server SDK (GSDK) (see Basics of a PlayFab game server). GSDK samples show this integration through a very simple HTTP server sample app.

You can download a compiled version of the sample app directly from github.

If you want to build the app yourself, download the GSDK samples from github, using standard git methods or downloading as a zip file. Opening the Visual Studio project should automatically trigger dependencies like the Game Server SDK nuget package to be downloaded. Build the project in an x64 RELEASE flavor:

ZIP up the produced x64 release binaries. There should be no internal folder structure, the zip file should be a simple flat collection of files:

You can compare your build output with the compiled release on github.

Upload assets and create a multiplayer server build

On the Multiplayer Servers 2.0 page, click "New Build" at the top right. Configure a new build like so:

  1. Build Name. This is a string used to refer to the build.
  2. Virtual machine selection. The Azure virtual machine type used to host this multiplayer server build. Standards D1_v2 is a suggested choice, and available to customers by default. Learn about other virtual machine selections at Multiplayer Servers - detailed spec sheet
  3. Servers per machine. How many multiplayer servers will be hosted on each virtual machine. For testing start with a value of one.
  4. Network. The GSDK sample operates a simple web server on port 3600. It is important we specify this port's name as game_port because the game server inspects the port name through the GSDK API. See Connecting clients to game servers for more networking information.
  5. Assets. Upload the GSDK sample ZIP file. PlayFab will unzip this folder and mount it in the container file-system as a folder you specify in the C:\ drive. C:\Assets is a good example, and that would result in a start game command of C:\Assets\WindowsRunnerCSharp.exe.

Configure regions

After clicking Next we will need to configure standing-by levels and regional maximums. For testing purposes let's configure a single standing-by server in East US.

Wait for the build to initialize

After clicking Deploy you will be taken to the build home page. You can monitor the deployment of your build from here. In 10-20 minutes your build should be in the Deployed state.

Did you find this helpful?