> For the complete documentation index, see [llms.txt](https://docs.edgegap.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.edgegap.com/docs/hosting-migration/switch-from-gameye.md).

# Switch from Gameye

Migrate your multiplayer game from Gameye to Edgegap, with a feature mapping and a step-by-step path for moving game servers without downtime.

**Take advantage of free integration support for Unity and Unreal projects** and migrate to our reliable hosting easily. If you're hosting game servers on Gameye, this guide maps every feature you use to its Edgegap counterpart and walks you through the switch.

{% hint style="success" %}
[Orchestration](https://docs.edgegap.com/learn/orchestration.md) and DevOps are at the core of Edgegap platform. **Focus on your core business** instead of building scaffolding. **Minimize vendor lock-in** with cloud native approach and loose service coupling.
{% endhint %}

## 🚀 Getting Started

Your game server already ships as a container image, so it runs on Edgegap as is, with your netcode and client connection flow unchanged. Migration comes down to pushing your image and re-pointing the session call in your backend to a single deploy request. Edgegap engineers and our amazing dev community are available for integration support.

Try one of our quick start guides supported with game engine plugins:

* [Unreal Engine](https://docs.edgegap.com/unreal-engine.md),
* [Unity](https://docs.edgegap.com/unity.md),
* [Godot](https://docs.edgegap.com/godot.md),
* [Web Games](https://docs.edgegap.com/web-games.md),
* [Custom Runtime using Docker](https://docs.edgegap.com/docs/tools-and-integrations/docker.md).

{% hint style="success" %}
[Browse our Game Samples](https://docs.edgegap.com/docs/sample-projects.md) to get inspired and gain confidence to move forward with your project.
{% endhint %}

{% hint style="info" %}
If you need help, [please reach out to us over Discord](https://discord.gg/MmJf8fWjnt). For live games support see our [ticketing system](https://edgegap.atlassian.net/servicedesk/customer/portal/3).
{% endhint %}

## 🗺️ Replace Features

Review and identify Gameye services and features which you need to replace:

<table><thead><tr><th width="260">Gameye Feature</th><th>Edgegap Feature</th></tr></thead><tbody><tr><td>API Tokens</td><td><ul><li><a href="https://app.edgegap.com/user-settings?tab=tokens">Edgegap API token</a> for your backend and CI/CD,</li><li><a href="https://docs.edgegap.com/learn/matchmaking/matchmaker-in-depth.md#authenticate">matchmaker API token</a> (safe for game clients),</li><li><a href="https://docs.edgegap.com/learn/server-browser.md#authenticate">server browser API tokens + federated identity</a>.</li></ul></td></tr><tr><td>Applications and Image Tags</td><td><a href="https://docs.edgegap.com/learn/orchestration/application-and-versions.md">Apps and Versions</a>.</td></tr><tr><td>Container Registry (Docker Hub, GHCR)</td><td>Our free <a href="https://docs.edgegap.com/learn/advanced-features/edgegap-container-registry.md">Container Registry</a>, or keep yours with <a href="https://docs.edgegap.com/docs/tools-and-integrations/docker/external-registries.md">External Registries</a>.</td></tr><tr><td>Session API</td><td><a href="https://docs.edgegap.com/docs/api/dedicated-servers.md">Deployments API</a> with <a href="https://docs.edgegap.com/learn/orchestration/deployments.md#webhooks">Webhooks</a> (DIY backend).</td></tr><tr><td>Matchmaker Integrations</td><td>Keep your matchmaker with <a href="#backend-integrations">Backend Integrations</a>, or use our <a href="https://docs.edgegap.com/learn/matchmaking.md">Matchmaking</a> and <a href="https://docs.edgegap.com/learn/server-browser.md">Server Browser</a>, free to test.</td></tr><tr><td>Player Join and Leave Tracking</td><td><a href="https://docs.edgegap.com/learn/server-browser.md">Server Browser</a> seat reservations and capacity,<br>or <a href="https://docs.edgegap.com/learn/matchmaking/matchmaker-in-depth.md#backfill-match">Backfill Match</a>.</td></tr><tr><td><p>Region Selection</p><p>- one region named for each session</p></td><td><a href="https://docs.edgegap.com/learn/orchestration/deployments.md#server-placement">Automated Server Placement</a><br>- best location picked for each match from player IPs, in 615+ locations<br>- optional <a href="https://docs.edgegap.com/learn/orchestration/deployments.md#region-lock">Region Lock</a>.</td></tr><tr><td>Available Locations<br>(Latency Measurement)</td><td><a href="https://docs.edgegap.com/docs/api/integration.md#get-v1-locations">Locations API</a> (ping <a href="https://docs.edgegap.com/docs/api/integration.md#get-v1-locations-beacons">Beacons API</a>).</td></tr><tr><td>Resource Profile</td><td><a href="https://docs.edgegap.com/learn/orchestration/application-and-versions.md#resource-requirements">Resource Requirements</a> set per app version, starting at 0.25 vCPU.</td></tr><tr><td>Port Bindings</td><td><a href="https://docs.edgegap.com/learn/orchestration/application-and-versions.md#port-mapping">Port Mapping</a>, with managed TLS for WebGL games.</td></tr><tr><td><p>Container Variables</p><p>- <code>GAMEYE_*</code>, <code>env</code>, <code>args</code>, <code>labels</code></p></td><td><a href="https://docs.edgegap.com/learn/orchestration/deployments.md#injected-environment-variables">Injected Variables</a> (automated in engine SDKs).</td></tr><tr><td>TTL and Restart Policy</td><td><a href="https://docs.edgegap.com/learn/orchestration/application-and-versions.md#safety-guardrails">Safety Guardrails</a> - Game Max Duration and Process Restart Policy, with Self-Stop from your game server.</td></tr><tr><td>Warm Pools</td><td><a href="https://docs.edgegap.com/learn/orchestration/application-and-versions.md#active-caching">Active Caching</a> (Pay as You Go)<br>- 0.5s deployments worldwide, no standby servers required<br>- optional <a href="https://docs.edgegap.com/learn/orchestration/deployments.md#regional-standby">Regional Standby</a> with <a href="https://docs.edgegap.com/learn/server-browser.md#automated-scaling">Server Browser scaling policies</a></td></tr><tr><td>Bare Metal<br>and Reserved Capacity</td><td><a href="https://docs.edgegap.com/learn/orchestration/private-fleets.md">Private Fleets</a> - dedicated bare metal with egress included and automated overflow to cloud.<br>Optionally add later, or use <a href="https://docs.edgegap.com/learn/orchestration/deployments.md#match-bound">Match-Bound</a> cloud.</td></tr><tr><td>Long-Lived Sessions</td><td><a href="https://docs.edgegap.com/learn/orchestration/persistence.md">Persistence</a> with <a href="https://docs.edgegap.com/learn/orchestration/private-fleets.md">Private Fleets</a> and <a href="https://docs.edgegap.com/learn/server-browser.md">Server Browser</a>.</td></tr><tr><td>Log Streaming, S3 Logs and Artifacts</td><td><a href="https://docs.edgegap.com/learn/orchestration/deployments.md#dashboard-monitoring">Dashboard Monitoring</a>, <a href="https://docs.edgegap.com/docs/api/dedicated-servers.md">Logs and Metrics API</a>, and <a href="https://docs.edgegap.com/docs/endpoint-storage.md">Endpoint Storage</a> with your S3 bucket.</td></tr><tr><td>Deploy from GitHub Actions</td><td><a href="https://docs.edgegap.com/docs/tools-and-integrations/github-actions.md">GitHub Actions</a>.</td></tr><tr><td>MCP Server and Agent Skills</td><td><a href="https://docs.edgegap.com/docs/mcp-integration.md">MCP Integration</a> with tested agent skills for your engine and netcode.</td></tr><tr><td>Admin Panel</td><td><a href="https://app.edgegap.com/">Edgegap Dashboard</a>.</td></tr></tbody></table>

## 🔀 Migrate Step by Step

Run both platforms side by side and move your matches over gradually. Your backend decides where each match starts, so you control the rollout and can complete it without a game client update.

### 1. Push Your Server Image

Your game server already runs as a Linux container image. Push the same image to our [Container Registry](https://docs.edgegap.com/learn/advanced-features/edgegap-container-registry.md), or keep it in your [current registry](https://docs.edgegap.com/docs/tools-and-integrations/docker/external-registries.md):

{% tabs %}
{% tab title="Bash (Linux)" %}

```bash
project='<REGISTRY_PROJECT>';
username='robot$<REGISTRY_ORGANIZATION_ID>+client-push';
token='<REGISTRY_TOKEN>';

echo "$token" | docker login registry.edgegap.com -u "$username" --password-stdin 2>&1
```

{% endtab %}

{% tab title="PowerShell (Windows)" %}

```powershell
$project = '<REGISTRY_PROJECT>'
$username = 'robot$<REGISTRY_ORGANIZATION_ID>+client-push'
$token = '<REGISTRY_TOKEN>'

echo "$token" | docker login registry.edgegap.com -u "$username" --password-stdin 2>&1
```

{% endtab %}
{% endtabs %}

{% code collapsedlinecount="10" %}

```bash
docker image tag my-game-server:20261116-1530 registry.edgegap.com/<REGISTRY_PROJECT>/my-game-server:20261116-1530
docker push registry.edgegap.com/<REGISTRY_PROJECT>/my-game-server:20261116-1530
```

{% endcode %}

{% hint style="danger" %}
:x: **DO NOT - overwrite existing tags or use `latest`  tag** - this will deploy an outdated cache.\
:white\_check\_mark: **DO - always increase your version tag** and deploy the new build.
{% endhint %}

{% hint style="success" %}
Prefer building from your editor? Our quickstart tools above build, containerize and upload your server in minutes.
{% endhint %}

### 2. Configure Your App Version

Create an application, then copy your Gameye application settings to an [app version](https://docs.edgegap.com/learn/orchestration/application-and-versions.md):

| Gameye Application          | Edgegap App Version                                                                                                                                                                        |
| --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Enabled image tag           | One app version for each image tag.                                                                                                                                                        |
| Resource profile            | [vCPU and Memory](https://docs.edgegap.com/learn/orchestration/application-and-versions.md#resource-requirements) - start with your current profile, then adjust using deployment metrics. |
| Port bindings               | [Port Mapping](https://docs.edgegap.com/learn/orchestration/application-and-versions.md#port-mapping) - same container port and protocol.                                                  |
| Regions                     | Automated - every app version deploys worldwide.                                                                                                                                           |
| `ttl`                       | Game Max Duration in [Safety Guardrails](https://docs.edgegap.com/learn/orchestration/application-and-versions.md#safety-guardrails).                                                      |
| `restart`                   | Process Restart Policy - choose Never Restart for match-based servers.                                                                                                                     |
| S3 log and artifact storage | [Endpoint Storage](https://docs.edgegap.com/docs/endpoint-storage.md).                                                                                                                     |

### 3. Update Your Game Server

Replace the `GAMEYE_*` variables read by your entrypoint script or game server with [Injected Variables](https://docs.edgegap.com/learn/orchestration/deployments.md#injected-environment-variables), using our [Unity SDK](https://docs.edgegap.com/unity/developer-tools.md), [Unreal Engine tools](https://docs.edgegap.com/unreal-engine/developer-tools.md), or your runtime's environment variable methods:

| Gameye Variable                                        | Edgegap Environment Variable                                                                               |
| ------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------- |
| `GAMEYE_CONTAINER`, `GAMEYE_SESSION_ID`                | `ARBITRIUM_REQUEST_ID`                                                                                     |
| `GAMEYE_IP`, `GAMEYE_HOST`                             | `ARBITRIUM_PUBLIC_IP`                                                                                      |
| `GAMEYE_REGION`                                        | `ARBITRIUM_DEPLOYMENT_LOCATION` (city, country, continent, coordinates)                                    |
| `GAMEYE_PORT_UDP_7777`, `GAMEYE_INGRESS_PORT_UDP_7777` | `ARBITRIUM_PORT_GAMEPORT_EXTERNAL` for a port named `gameport`, or `ARBITRIUM_PORTS_MAPPING` for all ports |
| `env` and `args` from your session request             | Custom variables set in your deployment request (up to 20, 4KB each), read by your entrypoint script.      |
| `labels` from your session request                     | `ARBITRIUM_DEPLOYMENT_TAGS`                                                                                |

{% hint style="info" %}
Your server always listens on the internal port of your port mapping (e.g. `7777`). Edgegap maps it to an external port for each deployment, which your game clients use to connect.
{% endhint %}

**Stop the server when the match ends**, so you only pay while players are in game. Your `SIGTERM` handler keeps working, Edgegap sends the same signal when a deployment stops.&#x20;

Your server can also stop its own deployment, replacing the `DELETE /session` call from your backend:

{% code collapsedlinecount="10" %}

```bash
curl -X DELETE "$ARBITRIUM_DELETE_URL" -H "Authorization: $ARBITRIUM_DELETE_TOKEN"
```

{% endcode %}

### 4. Replace the Session API

Replace each Gameye Session API call in your backend or matchmaker with the [Deployments API](https://docs.edgegap.com/docs/api/dedicated-servers.md). Send your token as `Authorization: token <EDGEGAP_API_TOKEN>`.

| Gameye API                        | Edgegap API                                                                                                                                                                |
| --------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `POST /session`                   | [`POST /v2/deployments`](https://docs.edgegap.com/docs/api/dedicated-servers.md#post-deployments)                                                                          |
| `GET /session/{id}`               | [On Ready Webhook](https://docs.edgegap.com/learn/orchestration/deployments.md#webhooks)                                                                                   |
| `GET /session`                    | <p><code>GET /v1/deployments</code>,</p><p>filtered with deployment tags</p>                                                                                               |
| `DELETE /session/{id}`            | `DELETE /v1/stop/{request_id}`                                                                                                                                             |
| `GET /logs`                       | [`GET /v1/.../container-logs`](https://docs.edgegap.com/docs/api/dedicated-servers.md#get-v1-deployment-deployment_id-container-logs)                                      |
| `GET /artifact`                   | [Endpoint Storage](https://docs.edgegap.com/docs/endpoint-storage.md)                                                                                                      |
| `GET /available-location/{image}` | [List Location API](https://docs.edgegap.com/docs/api/integration.md#get-v1-locations) (ping [Beacons API](https://docs.edgegap.com/learn/orchestration/ping-beacons.md)). |

Your session request fields map to the deployment request:

| Gameye Session Field                      | Edgegap Deployment Field                                                       |
| ----------------------------------------- | ------------------------------------------------------------------------------ |
| `image` and `version`                     | `application` and `version`                                                    |
| `location`                                | `users` - the public IP address of each player in the match.                   |
| `env` and `args`                          | `environment_variables`                                                        |
| `labels` and `external_id`                | `tags`                                                                         |
| `id`                                      | `request_id`, returned in deploy response.                                     |
| `host` and `ports[].host` in the response | `fqdn` and the external port of your port mapping, from the webhook or status. |

Send your players' public IP addresses and Edgegap picks the location with the best ping for the whole match. This replaces your region selection logic, including latency aggregation and fallback regions:

{% code collapsedlinecount="10" %}

```bash
curl -X POST "https://api.edgegap.com/v2/deployments" \
  -H "Authorization: token <EDGEGAP_API_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{
    "application": "my-game-server",
    "version": "20261116-1530",
    "users": [
      { "user_type": "ip_address", "user_data": { "ip_address": "203.0.113.10" } },
      { "user_type": "ip_address", "user_data": { "ip_address": "198.51.100.24" } }
    ],
    "webhook_on_ready": { "url": "https://backend.example.com/edgegap/ready" }
  }'
```

{% endcode %}

The response contains a `request_id`, which replaces your Gameye session `id`. Once the deployment is ready, your webhook receives the `fqdn` and ports to send to your players.

{% hint style="success" %}
Set `is_hidden` to `true` to encrypt sensitive variables, such as a join secret for your match.
{% endhint %}

### 5. Connect Your Matchmaker

Keep the matchmaker or backend you use today, it only needs the new deployment call from the previous step. See [Backend Integrations](#backend-integrations) below for ready-made integrations.

Looking to simplify your backend? Our managed services start servers and send connection details to your players, free to test and with no credit card required:

* [Matchmaking](https://docs.edgegap.com/learn/matchmaking.md) - match players with [rules](https://docs.edgegap.com/learn/matchmaking/matchmaker-in-depth.md#matchmaking-rules) for skill, latency and custom attributes, with groups and [backfill](https://docs.edgegap.com/learn/matchmaking/matchmaker-in-depth.md#backfill-match).
* [Server Browser](https://docs.edgegap.com/learn/server-browser.md) - let players search, pick and join long-running servers, with scaling policies starting new servers as your player count grows.

### 6. Test and Release

* Start a deployment from our [Dashboard](https://app.edgegap.com/deployment-management/deployments/list) and connect with a game client to verify your image.
* Test your full flow from match start to end of match, and confirm that deployments stop after players leave.
* Send a share of new matches to Edgegap from your backend, and increase it as you gain confidence.
* Once all new matches start on Edgegap and your last Gameye sessions end, cancel your Gameye plan.

## ⭐ Backend Integrations

Ensure your current game backend will be fully supported after migration. Edgegap offers integration support for game backends and matchmakers used with Gameye:

* [Nakama by Heroic Labs.](https://docs.edgegap.com/docs/tools-and-integrations/deploy-from-nakama.md)
* [PlayFab](https://docs.edgegap.com/docs/tools-and-integrations/playfab-bridge.md).
* [Unity Matchmaker](https://docs.edgegap.com/docs/tools-and-integrations/deploy-from-ugs.md).
* [AWS FlexMatch](https://docs.edgegap.com/docs/hosting-migration/gamelift-to-arbitrium.md).
* [Pragma - joint case study.](https://pragma.gg/case-studies/soliton-interactive)
* [Epic Online Services](https://docs.edgegap.com/docs/tools-and-integrations/unreal-eos-lobby-integration.md), [featured post from Feb 2024](https://onlineservices.epicgames.com/en-US/learning/launch-and-scale-your-multiplayer-game-with-epic-online-services-and-edgegap).
* Colyseus and Photon Fusion, see our [Sample Projects](https://docs.edgegap.com/docs/sample-projects.md).
* Bring your own custom backend.

Edgegap additionally supports integrations with platforms (incl. but not limited to) [Beamable](https://edgegap.com/resources/partners/beamable), [BrainCloud](https://edgegap.com/resources/partners/braincloud), [Loot Locker](https://edgegap.com/resources/partners/loot-locker), [Invokation Games](https://edgegap.com/resources/partners/invokation-games), [XSOLLA backend](https://edgegap.com/resources/partners/xsolla), [Network Next](https://edgegap.com/resources/partners/network-next) and more.
