Ubisoft and Google Cloud Announce Agones

Posted on by Ryan

image-1014440

Ubisoft and Google Cloud have announced an open source dedicated multiplayer game server called Agones. Agones uses Kubernetes to host and scale dedicated game servers.

You can view the technical breakdown of how it works down below….

 

Here’s an example of a typical dedicated game server setup:

  1. Players connect to some kind of matchmaker service, which groups them (often by skill level) to play a match.

  2. Once players are matched for a game session, the matchmaker tells a game server manager to provide a dedicated game server process on a cluster of machines.

  3. The game server manager creates a new instance of a dedicated game server process that runs on one of the machines in the cluster.

  4. The game server manager determines the IP address and the port that the dedicated game server process is running on, and passes that back to the matchmaker service.

  5. The matchmaker service passes the IP and port back to the players’ clients.

  6. The players connect directly to the dedicated game server process and play the multiplayer game against one another.

Building Agones on Kubernetes and open-source

Agones replaces the bespoke cluster management and game server scaling solution we discussed above, with a Kubernetes cluster that includes a custom Kubernetes Controller and matching GameServer Custom Resource Definitions,

With Agones, Kubernetes gets native abilities to create, run, manage and scale dedicated game server processes within Kubernetes clusters using standard Kubernetes tooling and APIs. This model also allows any matchmaker to interact directly with Agones via the Kubernetes API to provision a dedicated a game server.

Building Agones on top of Kubernetes has lots of other advantages too: it allows you to run your game workloads wherever it makes the most sense, for example, on game developers’ machines via platforms like minikube, in-studio clusters for group development, on-premises machines and on hybrid-cloud or full-cloud environments including Google Kubernetes Engine.

Kubernetes also simplifies operations. Multiplayer games are never just dedicated game servers—there are always supporting services, account management, inventory, marketplaces etc. Having Kubernetes as a single platform that can run both your supporting services as well as your dedicated game servers drastically reduces the required operational knowledge and complexity for the supporting development team.

Finally, the people behind Agones aren’t just one group of people building a game server platform in isolation. Agones, and the developers that use it, leverages the work of hundreds of Kubernetes contributors and the diverse ecosystem of tools that have been built around the Kubernetes platform.

Founding contributor to the Agones project, Ubisoft brought their deep knowledge and expertise in running top-tier, AAA multiplayer games for a global audience.