Skip to content

Create your game, utility, dependency, or capacity templates

Once you have defined your application and created your application build from the previous step, you can now create your templates. Follow the instructions below.

Game template overview

A Game template is used by a fleet and defines which game application builds will be deployed for that Fleet. You can create as many Game templates as you like on the platform. However, a Fleet can only point to one Game template at a time. A Game template can be shared across multiple fleets though.

Create your game template

When you create a game deployment template, it will indicate which game server application builds you would like to have deployed within a fleet.

  1. Go to Game Hosting > Templates.
  2. Select the Game tab.
  3. Click Create template.
  4. On the Create Game Template window, enter the Game Template Name.
  5. Select your Application Build.
  6. Click Create.

Utility template overview

The UtilityDeploymentTemplate indicates which utility / utilities you want to deploy onto each host (Bare metal or Virtual machine). A utility, also known as a sidecar, is always deployed once per host. You can indicate whether a utility should be deployed only on Bare metal servers or Virtual machines, or both.

Info

Utilities / sidecars must be regular applications that run in the foreground. It is generally not a good idea to start utilities as a service.

Create your utility template

  1. Go to Hosting > Templates.
  2. Select the Utility tab.
  3. Click Create template.
  4. Enter your Template name.
  5. Select your Application Build from the drop down list.
  6. Select what machines you want to Deploy on from the drop down list.
  7. Click Create.

Dependency template overview

The Dependency template enables you to point to scripts (ApplicationBuilds) that install dependencies onto a host that are required by your Applications to run properly. Besides an installer script, you must also define an uninstaller script to remove the dependencies and to allow clean up of a host after removing all applications running on it.

Create your dependency template

  1. Go to Game Hosting > Templates.
  2. Select the Dependency tab.
  3. Click Create template.
  4. Enter your Template name.
  5. Select your Dependency Installer Build from the drop down list.
  6. Select your Dependency Uninstaller Build from the drop down list.
  7. Click Create.

Create your Host Capacity template

When you create your own host capacity template, you define how many game instances you want deployed on any specified Bare metal and/or Virtual machine instance types.

  1. Go to Game Hosting > Templates.
  2. Select the Host Capacity tab.
  3. Click Create template.
  4. Enter a Template name.
  5. Click Add host capacity.
  6. Select a Provider from the drop down list.
  7. Select your Instance Type from the drop down list. Please note that depending on your Cloud provider choice, your instance type selections will differ.
  8. Click Save.