December 3, 2019
The Advantages of AWS Control Tower
Massively Multiplayer Online Gaming (MMOG) is a huge and growing market with a broad demographic of users. But while broadband internet access, which is needed for MMOG, has grown across the globe, it still has several technical challenges.
Players often have their connections drop unexpectedly. Studios launching new games struggle to serve millions of enthusiastic players on the day of launch. Matching players at incompatible skill levels can lead to the new players being overwhelmed and frustrated.
Overall, provisioning intelligent, robust and scalable infrastructure to deliver MMOs is no simple task. And it’s not a core competency or focus area for game developers anyway. They would rather work on delighting players with the best games possible and let someone else worry about the MMO infrastructure. But how?
Enter Amazon GameLift.
Amazon GameLift is a fully managed service from AWS for deploying, operating, and scaling session-based multiplayer game servers in the cloud, with no upfront costs or long term commitments.With GameLift, game developers no longer have to worry about infrastructure management or extra technical capabilities. They can focus on creating and serving the best games possible for their fans at global scale.
GameLift contains the following components:
Now let’s look at each of these components in greater detail.
Build is basically a version of your game code that you upload to GameLift from your local computer. The build contains server executables, supporting assets, libraries, and dependencies, as well as SDKs and instructions on how to serve the game via GameLift.
When used with a Continuous Integration/Continuous Delivery (CI/CD) pipeline, you can take your application’s revisions and upload them into GameLift build section to allow for automated builds, deployments, testing, and validation before releasing to production, and to keep versioning aligned.
Matchmaking is where the game automatically match players together. This is crucial for a game’s success so that players with the right attributes are matched to have an engaging and fun gaming experience.
GameLift’s Flexmatch matchmaking service provides a fully customizable rules engine, to let you match players together based on player attributes (such as skill level, location, personal preferences etc) and game models that are specific to your game.
When a match is created, FlexMatch hands the match details to a queue of your choice.
The queue then searches for available hosting resources on your Amazon GameLift fleets and starts a new game session for the match.
Fleets are groups of EC2 instances running a particular build version of the game. You can run many groupings of instance types and pricing models (On-demand, Spot) and can even span multiple regions. Each fleet has its own auto-scaling settings which can be adjusted.
When new players want to join the game, auto-scaling is triggered to add additional instances to the fleets. Conversely, auto-scaling will automatically scale down your fleet as active players begin to decline, such as when the weekend has ended.
In many GameLift global deployments, multiple fleets in multiple regions are configured and are tiered to multiple Queues using routing services that allow you to point to different regional Queues depending on a player’s location.
Aliases are a user-friendly way to reference fleets in GameLift deployments. By using aliases instead of specific fleet IDs, you can more easily and seamlessly switch player traffic from one fleet to another without having to update links whenever you make deployments.
If you are running fleets with spot instances and you lose your Spot instances because of a price shift, FleetIQ will place new game sessions on instances meeting latency, pricing and spot interruption rate criteria. FleetIQ in conjunction with Queues will handle all the scaling and balance between price and availability for you. This can lead to up to 90% reduction in server costs. The FleetIQ analyzes historical pricing and termination data for Spot Instances. As a result, it reduces the odds that any particular game will be notified and then interrupted.
CloudWatch provides monitoring and insights into your games running on GameLift. GameLift integrates natively with Cloudwatch to track all your key metrics and to create filters, alarms, and custom dashboards.
In summary, GameLift is one of the best options available today to deliver MMOs quickly and robustly at scale. With AWS’ proven infrastructure and intelligence underlying your game delivery, you can be assured that your fans will continue to be delighted with their gaming experience.