Module 10 of 11

Deployment & Scaling

Lessons

About This Module

A game server that runs on your machine isn't a live game yet. To serve real players, it has to be packaged, deployed to the right regions, and scaled up and down as player counts change. Game servers make this harder than ordinary web services, because they hold long-lived connections and can't be shut down while a match is in progress.

This module starts with containers and Kubernetes, the standard tools for packaging and orchestrating server workloads. You'll then see how Agones, an open-source project built on Kubernetes, handles what stock Kubernetes can't: allocating dedicated game servers to matches, scaling fleets, and keeping live sessions safe.

Once your servers can scale, you need to know how they're doing in production. That comes next in Monitoring & Live Ops.

Lessons

4 videos
01

Agones: How Do I Docker and Kubernetes? (Part 1)

A hands-on screencast from the Agones project that introduces Docker and containers, the first step to packaging a game server for deployment.

02

Agones: How Do I Docker and Kubernetes? (Part 2)

Continues the screencast with Kubernetes, showing how containers are run and managed on a cluster.

03

Agones: Scaling Multiplayer Dedicated Game Servers with Kubernetes (Cloud Next ’18)

How Agones, built by Google Cloud with Ubisoft, brings dedicated game server hosting and scaling to Kubernetes.

04

Intro to Agones: Scaling Multiplayer Game Servers with Kubernetes

Agones creator Mark Mandel explains why game servers don't fit standard Kubernetes tools and demos how Agones fills the gap, from direct connections to autoscaling.