# Game Deploy

This document introduces you to the three concepts of the deployment configuration hierarchy. Next, you will learn how to create your own environment, profile, and fleets in the dashboard.

* **Deployment environment**: The deployment environment is the top most element in the deployment configuration hierarchy. It is normally used to reflect a game title that you host on our platform, split up into development, testing, and production environments.
* **Fleet**: The Fleet is the second layer within the deployment configuration hierarchy, which represents a collection of hosts (Bare metal or Virtual machines). You can have as many Fleets under a deployment environment as you like. There are no limits.
* **Deployment profile**: The deployment profile is the main element that determines how your application instances will be deployed.

## Create your deployment environment

It's recommended to create an environment per title. Additionally, it's advised to separate your live environment from any development environments. When you separate the environments, changes and experiments done for development purposes in a development environment won't affect your live environment. Within a game deployment environment, you can create multiple Fleets in case you want to separate for different platforms such as PC, PS4, Xbox, Switch, and more.

1. Go to **Game Hosting > Deployments**.
2. Click **Create enivronment**.
3. Enter your **Environment Name**.
4. Click **Create**.

## Create your deployment profile name

A deployment profile is always the only child of a fleet. You can only have one deployment profile per fleet.

1. Go to **Game Hosting > Deployments**.
2. Select the **Profiles** tab.
3. Click **Create Profile**.
4. Enter the **Name** of your profile.
5. Click the floppy disc icon.
6. Follow the steps to **Create your deployment profile settings**.

## Create your deployment profile settings

1. After you have created your deployment profile name, click the cog icon to the right of the profile name to set your **Profile settings**.
2. On the **Profile** page, the default **Global Strategy** setting is Round Robin. For more information about the Round robin strategy, see [Automatic scaling](https://docs.i3d.net/game-hosting/processes/automatic-scaling).
3. To define the amount of instances you want to deploy in a specific region, enter your **Miniumum amount of instances** and **Maximum amount of instances** in the **Global Capacity** section.
4. Enter Fixed amount or percentage in the **Global Buffer** section. If you select a percentage, enter the **Minimum** and **Maximum** percentage.

![DepEnvironment](https://3255620342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTxqXHcEUC6lhXmjD6wE0%2Fuploads%2Fgit-blob-5ac5768326c27612a452b922060ea717348cc26f%2FDeployMgt.png?alt=media)

5. Next you will need to create your region. Follow the steps below.

## Create your deployment region

This defines a geographical region that contains one or more i3D.net data center (dc) locations.

1. On the Profile settings page, click **Create region**.
2. On the **Create Region** pop up window, select at least one i3D.net location and click **Next**.
3. Enter the **Region Name** and click **Create**.
4. Follow the steps below to **Add Bare Metal locations and cloud groups**.

## Add Bare Metal locations

1. Click the cog wheel icon next to the deployment region you just created. This will bring you to the region settings page.
2. To add location to a **Bare Metal Group**, Click **Add location**.
3. On the **Add Bare Metal Location window**, select your location.
4. Click **Save**.

## Add cloud groups

A cloud group is a wrapper that holds multiple cloud locations to burst towards when your bare metal pool runs dry.

1. Click **Add cloud location**.
2. On the **Add Cloud Location** window, select your **Cloud provider** from the drop down list.
3. Select your **Location** from the drop down list.
4. Select your **Primary instance** from the drop down list.
5. (Optional) Select your **Secondary instance** from the drop down list.
6. Click **Add location**.
7. (Optional) To add more cloud locations, click the **Add Cloud location** button.
8. Click **Save**.

## Create your fleets

Fleets are normally used to differentiate between different builds or platforms such as PC, Xbox, Playstation, Switch, and more. But you can use fleets to deploy instances for temporary or testing purposes while keeping these separate from other fleets. Be aware that you cannot deploy multiple fleets on one host at a time.

1. Go to **Game Hosting > Deployments**.
2. Select the **Fleets** tab.
3. Select your **Deployment Environment** that you want to add the fleet to from the drop down list.
4. Click **Create fleet**.
5. On the **Create Fleet** window, your selected Deployment Environment is already auto-populated, but if you need to select a different one, you can do that by clicking the arrow and select one from the drop down list.
6. Enter the **Fleet Name**.
7. Select your **Deployment Profile** from the drop down list.
8. Select your **Game Template** from the drop down list.
9. If you are using your fleets for other templates, select **Utility Template**, **Dependency Template**, or **Host Capacity Template** if it applies.
10. Click **Next**.
11. Click **Create**.

## Enable your deployment

After you have set your **Minimum Capacity** on your Deployment profile to anything higher than 0, then you can see the instance being deployed and online on the **Instance Management** page.

## Related topics

* [Define your application and create your application build](https://docs.i3d.net/game-hosting/get-started/set-up-guide)
* [Create your game, utility, dependency, or capacity templates](https://docs.i3d.net/game-hosting/get-started/game-template)
* [Orchestrator Overview](https://docs.i3d.net/game-hosting/game-integration/orchestratoroverview)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.i3d.net/game-hosting/get-started/game-deploy.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
