Appearance
Appearance
Target Audience
This page is primarily intended for users of the Self Hosting (Private Cloud) tier package. If you are using any of the Metaplay SaaS plans, information from this page may not be directly relevant to your needs.
The Metaplay SDK includes a pre-configured cloud infrastructure stack. This stack is the same one we use internally to host and manage your development environments, allowing customization and deployment of multiple environments as needed for your game team. Leveraging our infrastructure stack allows you to benefit from our hand-tuning and best practices, making future SDK updates straightforward.
Metaplay SDK’s cloud infrastructure operates in the AWS cloud. We utilize many of their managed services to keep operational complexity low. For example, game servers and associated services are deployed as containers on AWS’ managed Kubernetes platform, EKS.
Metaplay SDK’s cloud infrastructure is provided as scripts to ensure high portability and ease of management:
The infrastructure components and dependencies are regularly updated in Metaplay SDK releases to maintain security and compatibility with the broader infrastructure ecosystem!
💡 Pro Tip
The infrastructure provisioning scripts are modular and extensible, allowing easy customization for your game’s or studio’s specific needs.
Metaplay SDK’s cloud infrastructure follows a two-tier architecture designed for high availability, self-healing, and security. Core game services are complemented by specialized services such as file storage, load balancers, content delivery, authentication, observability, backups, and more.
Each part of the service stack is designed for high efficiency and scalability. Load balancers, CDN, and file storage are inherently scalable, managed AWS services. Kubernetes and RDS clusters can be scaled both vertically (more powerful VMs) and horizontally (more VMs).
The Metaplay game server’s software architecture is distributed and scales well with more and faster cores, providing flexibility in choosing the best-suited (and cost-optimized) instance types for your deployments!
Effective daily operations require the right tools. We’ve built and tuned the full stack of industry-standard DevOps tools covering initial provisioning, configuration, deployments, and daily monitoring of high DAU games.
The Metaplay SDK’s application layer runs as containers within Kubernetes. All application data is transient and persisted outside of Kubernetes, allowing application containers (or even the whole cluster) to be destroyed without data loss.
We’ve extended the base Kubernetes resource types with Metaplay resource types and an operator, allowing for easier control of the lifecycle of game payloads. All Kubernetes payloads can be split into three main categories: game server resources, supporting service resources, and cluster tooling. The applications between these categories are segregated and can be managed in separate lifecycles and cadences.
Our provisioning scripts also handle the provisioning of tightly controlled service accounts, secrets management, and environment-specific runtime configuration of the clusters’ services.
Game server resources are services directly related to the game server application.
The game server cluster has dedicated endpoints for the various sub-services.
Supporting services resources are services that help observe and manage the game server.
Cluster tooling contains the “necessary evil” services of running a Kubernetes cluster securely and efficiently. The services in this category generally require the least customization for Metaplay’s needs.
🔍 Something missing?
The whole Metaplay cloud infrastructure stack is extendable by design, meaning that you can replace our “sensible defaults” with your own solutions for specific areas, or to add additional services onto the cluster easily!
The Metaplay SDK implements modern cloud security best practices:
No amount of best practices can replace continuous monitoring of the online security landscape and frequent updates to keep all systems up-to-date. We ship regular updates to our infrastructure and help you roll those out into your self-hosted environments!
We also understand that in some cases games may prefer to stick with older Metaplay versions; in these cases, we can work with you to prevent possible security vulnerabilities by backporting critical security fixes as needed.