Skip to content

Game servers and online services

Scope: running dedicated game servers and the online services around them, whatever the engine: headless server builds, orchestration with Agones on Kubernetes or managed hosting on Amazon GameLift Servers, matchmaking and placement, game backends such as Nakama for player data, economy and leaderboards, releases, security, observability and cost. The guidelines cover Agones 1.62, Amazon GameLift Servers with server SDK 5.x, Nakama 3.42, Unity 6 with the Dedicated Server package 3.0, Unreal Engine 5.8 (5.9 is in preview) and Godot 4.7. Unity's Multiplay Game Server Hosting was deprecated on 1 April 2026, and Hathora shut down in May 2026. Client-server authority and netcode are in Game development (GAMEDEV-5 to GAMEDEV-9), and each engine's multiplayer rules are in Unreal Engine (UNREAL-8, UNREAL-9), Godot (GODOT-24), Unity (UNITY-CODE-12) and GameMaker (GAMEMAKER-CODE-14). Agones runs on Kubernetes, so the K8S rules apply to its clusters, store purchases follow Mobile games (MOBGAME-1), and Steam session tickets and server-set stats are in Steam and PC games (STEAM-5, STEAM-8). The general rules in Operations and reliability, Security, Authentication and OpenTelemetry apply to every game server and backend service.

Entries are sorted by score from 1 to 10 (criteria): 9โ€“10 start here or strongly recommended, 6โ€“8 recommended, 1โ€“5 further reading or conditional.

Adopted references

No single guide covers game server hosting across providers. Use the documentation of the platform you host on as its baseline.

  • 8 Agones documentation: the baseline for hosting on Kubernetes: GameServers and their lifecycle, the game server SDKs, Fleets, allocation, FleetAutoscalers, fleet updates, health checking, metrics and integration patterns.
  • 8 Amazon GameLift Servers Hosting Guide: the baseline for managed hosting on AWS: managed EC2 and container fleets, Anywhere fleets for your own hardware, game session placement, scaling, monitoring and security. Use the decision guide to choose a fleet type.
  • 8 Nakama concepts (Heroic Labs): the baseline for an open-source game backend: accounts and authentication, the storage engine and its access controls, authoritative multiplayer, the matchmaker, leaderboards, wallets and purchase validation.
  • 7 Prepare for launch with Amazon GameLift Servers hosting: the launch checklists for testing, launch day and after launch, with the items that are critical for production.
  • 7 Agones best practices: separating the Agones system from game server nodes, Pod Security Standards for GameServers, and spreading game servers across clusters and fault domains, with a page for GKE.
  • 7 Nakama server framework best practices (Heroic Labs): performance and scalability patterns for server runtime code, match handlers and hooks, with a launch checklist.
  • 7 Amazon GameLift Servers FlexMatch: rule-based matchmaking on skill, roles and latency, either with GameLift hosting or on its own.
  • 7 Cost optimization strategies (Amazon GameLift Servers): instance types, Graviton and Linux servers, Spot capacity, processes per instance, scaling to zero and data transfer.
  • 7 Unity, Introduction to Dedicated Server, Unreal Engine, Setting up dedicated servers and Godot, Exporting for dedicated servers: how each engine builds a headless server.
  • 6 Amazon GameLift Servers FleetIQ best practices: FleetIQ on its own, for hosting on Spot Instances in your own Amazon EC2 game server groups; it works best for session-based games with sessions under two hours.
  • 6 Edgegap documentation: an alternative managed host that starts a deployment for each match at the edge, with its own matchmaker, server browser, ping beacons and DDoS protection.
  • 4 Open Match 2 (Google for Games): an open-source framework for building your own matchmaker. It is a public preview, and Open Match 1 hasn't had a release since 2023, so weigh it against FlexMatch or Nakama's matchmaker.

Key rules

Server builds and lifecycle

Scaling and disruption

Matchmaking and placement

Releases and versions

Security

Observability

Tutorials and further reading

  • 7 Agones quickstarts: creating a GameServer, a Fleet and FleetAutoscalers, and editing a first game server.
  • 7 Setting up dedicated servers (Unreal Engine): building, cooking and running a dedicated server and clients for the Lyra sample.
  • 6 Development roadmap for managed EC2 hosting (Amazon GameLift Servers): the steps from integrating a game server to a backend service, FlexMatch and managed fleets.
  • 5 Global multiplayer demo (Google for Games): a reference game with an Unreal Engine 5 client and dedicated server, Agones on globally distributed GKE clusters, Open Match, Terraform and Cloud Deploy. It uses Open Match 1.