p055ible
Get in touch

Case study

Unreal Engine multiplayer: P2P to dedicated servers on AWS

Migrated a multiplayer game from Photon P2P to Unreal dedicated servers with auto-scaling, blue/green deploys, and automated load testing.

2024-06

Solutions Architect

Multiplayer Unreal DevOps Architecture
150+ servers per 3x xLarge EC2 fleet
80 players per server cap with headroom for 100-150
300 automated clients for load + connectivity validation
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 kept live sessions stable while new players shifted seamlessly.
  • Automated load clients caught regressions 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.