> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Lifecycle of multiplayer server builds

> PlayFab Multiplayer Servers build lifecycle and states like Deploying, DeletingRegion, and Unhealthy, and how per-region status rolls up to the whole build.

A build can exist in one of the following states:

* **Unhealthy**: One or more configured regions are in an unhealthy state.
* **Deploying**: The following conditions are met:
  * No region is in an **Unhealthy** state.
  * One or more regions are in **Deploying** state.
* **DeletingRegion**: The following conditions are met:
  * No region is in an **Unhealthy** state.
  * No region is in **Deploying** state.
  * One or more regions are in **Deleting** state.
* **Deployed**: All configured regions are in **Deployed** state.

The transitions between these states are depicted in the following image, and described below:

![Multiplayer - Build Region Status](https://mintcdn.com/microsoft-4404708b/U1LR64ZWxo45eXwl/images/playfab/multiplayer/servers/tutorials/multiplayer-build-status.jpg?fit=max\&auto=format\&n=U1LR64ZWxo45eXwl\&q=85\&s=0924726d19034eacfc287d5f40b2e550)

1. **Deploying/Deployed Regions**

   * **Deploying -> Deployed**: All regions in **Deploying** are now in a **Deployed** state.
   * **Deployed -> Deploying**: One or more new regions were configured for the build. The new regions are in **Deploying** state.

2. **Deploying -> Unhealthy**: One or more regions which were in **Deploying** state are now in **Unhealthy** state.

3. **Deploying/Deleting Regions**

   * **Deployed -> DeletingRegion** (rare scenario): Regions which were in **Deploying** were requested to be deleted.
   * **DeletingRegion -> Deploying** (rare scenario): All regions in **Deleting** completed deletion, and new regions were added which are the new regions in **Deploying** state.

4. **Deployed/Deleting Regions**

   * **Deployed -> DeletingRegion**: One or more regions were requested to be deleted.
   * **DeletingRegion -> Deployed**: All regions that were requested to be deleted have been deleted. The rest of the regions are in **Deployed** state.

> [!NOTE]
>
> Start and Deleted are internal states and are not exposed.


## Related topics

- [Lifecycle of a multiplayer server build region](https://docs.xbox.com/services/playfab/multiplayer/servers/multiplayer-build-region-lifecycle.md)
- [Lifecycle of a multiplayer server](https://docs.xbox.com/services/playfab/multiplayer/servers/multiplayer-game-server-lifecycle.md)
- [PFMultiplayerServerBuildRegion](https://docs.xbox.com/services/playfab/api-references/c/pfmultiplayerservertypes/structs/pfmultiplayerserverbuildregion.md)
- [PFMultiplayerServerBuildSummary](https://docs.xbox.com/services/playfab/api-references/c/pfmultiplayerservertypes/structs/pfmultiplayerserverbuildsummary.md)
- [Author a game server build](https://docs.xbox.com/services/playfab/multiplayer/servers/author-a-game-server-build.md)
