Start a conversation
Operational dossier

Unreal Engine multiplayer: P2P to dedicated servers on AWS

Delivered dedicated server infrastructure for a multiplayer game, reducing session risk and giving the team more confident live scaling and deployment control.

Report metadata

Multiplayer Unreal Infrastructure Release Engineering

2024-06

Solutions Architect

150+ servers per 3x xLarge EC2 fleet
80-player server cap with headroom for scale testing
300 automated clients made load and connectivity validation repeatable
Unreal Engine AWS API Gateway EC2 Jenkins Kibana
Dedicated server architecture flow diagram

Challenge

Photon P2P was no longer sufficient for large-scale multiplayer sessions. We needed dedicated servers with predictable performance, controlled capacity, and reliable deployments without disrupting active players.

Approach

  • Moved to Unreal Engine dedicated servers running headless on EC2.
  • Routed connections through AWS API Gateway with load balancing.
  • Built an admin panel to control server fleet size and per-server player caps.
  • Automated instance launch when capacity was reached and created fallback instances for recovery.
  • Implemented a blue/green deployment flow by switching build paths for new traffic.
  • Wrote a full Jenkins pipeline to build, deploy, and roll forward safely.

Results

  • The platform became manageable in-house with granular control over capacity and deployments.
  • Blue/green server paths reduced player disruption while new players shifted safely.
  • Automated load clients made release validation repeatable before release windows.

Key metrics

Measured impact
MetricBeforeAfter
Session modelP2P (Photon)Dedicated servers on EC2
Server capacityLimited, peer-dependent80-player cap (100-150 headroom)
Load validationManual checks300 automated clients
Implementation notes
  1. Admin-side control of caps and fleet size kept performance predictable.
  2. Versioned server builds simplified compatibility with live clients.
  3. Automated load clients surfaced netcode regressions quickly.