HOW GAMELOFT A GAMING COMPANY USING AWS??

Aniket kashyap
7 min readOct 5, 2020

Hello Everyone!!

Gameloft, one of the biggest names in mobile games in the last 20 years, It is founded in December 1999 by Ubisoft co-founder Michel Guillemot. The company operates 19 development studios worldwide, and publishes games with a special focus on the mobile games market.

“MILLIONS OF GAMELOFT GAMES ARE DOWNLOADED EVERY DAY”

will talk how Gameloft is using AWS for creating a better environment for big games like Asphalt 9 and LEGO Legacy: Heroes

How AWS is helping Gameloft ???

“According to Gameloft”

Doing it ourselves would’ve been prohibitively expensive

With Asphalt 9,

we wanted to be fully online, so we knew we needed a cloud service. We thought of AWS first, because it’s the longest running cloud provider, well-documented, and used by a lot of companies. As soon as we started to play around with it and saw what it could do, we realized it was the full package, and decided to run our servers on AWS’ Elastic Compute Cloud (Amazon EC2). It wasn’t that we couldn’t do it ourselves, it was more that it would have been prohibitively expensive. We typically process thousands of requests a minute — dozens of millions a day. On launch, we had five to 10-times more, and if we’d tried to handle that within the company, we’d have been provisioning for way more than we’d need late

“We used hundreds of thousands of bots”

We also used Amazon Elastic Container Service (Amazon ECS), before and during the first weeks of launch. We set up bot tests, where we had AI running the game and mimicking human players, and then tried to stress the whole infrastructure, to check everything was scaling in and out correctly, and there were no major issues. We wanted to generate a volume of traffic similar to launch, so we ran hundreds of thousands of bots on AWS. We use Amazon Simple Storage Service (Amazon S3) for backing-up server logs, so we don’t need to worry about how much we back-up, which is fantastic.

“Despite the huge surge of users, the launch went without a hitch”

Asphalt 9 was the first time the Barcelona studio had done a cloud launch. After doing all the work for the game, stress levels were massive as everyone was thinking of all the things that could still go wrong. If there wasn’t enough provision, we could have ended up with a nightmare scenario where users couldn’t launch the game. Seeing the launch go without any issues, despite the huge surge of users that came in, was a huge relief.

LEGO Legacy: Heroes,

Gameloft theorized that greater collaboration between the studio team and the ISOPS team would enable better game design and increased functionality, ultimately resulting in a better experience for players. As a pilot run, in March 2020, just before its 20th anniversary, Gameloft built and launched LEGO Legacy: Heroes Unboxed all on the Amazon Web Services (AWS) Cloud.

Flexible Computing Capacity and Collaboration

For years, Gameloft developed and hosted its games in its own data centers, but as it increased its portfolio, it wanted to gain more flexibility, especially with accurately provisioning compute capacity. When Gameloft released Disney Magic Kingdom in 2016 they had to do a lot of smart estimating and calculating of how big player data was going to be, how many players they expected, and what their daily active user count was going to look like. They had to fit there self into their own infrastructure to make sure that the launch was smooth.”

But LEGO Legacy: Heroes Unboxed was hosted entirely on the AWS Cloud, however, Gameloft was able to better prepare the launch since there was no risk that any load test would affect other games running in the data centers.

Even before its newest venture in the cloud, Gameloft had some experience on AWS. About six years earlier, the company began using Amazon Cloudfront, a fast content delivery network service that securely delivers data, videos, applications, and APIs to customers globally with low latency and high transfer speeds, all within a developer-friendly environment.

Then in 2018, the company started taking advantage of Amazon Elastic Compute Cloud (Amazon EC2), a web service that provides secure, resizable compute capacity and is designed to make web-scale cloud computing easier for developers, particularly for multiplayer games. Gameloft started hosting its game servers on AWS, taking advantage of AWS’s global footprint to bring its games closer to where players actually are and thereby improving user experience.

Gameloft’s interest in more fully integrating development and maintenance presented another opportunity to work on AWS. “With LEGO Legacy: Heroes unboxed, they were building a game while building the infrastructure as well,” To do so meant changing how the teams interacted with each other and with the infrastructure. “ They needed to review their automation process, infrastructure creation, and maintenance and it is easier to do that on the cloud.

Evolving the Development Process on the AWS Cloud

The LEGO Legacy: Heroes Unboxed studio team and the ISOPS team stayed in close contact throughout initial development to prepare for the launch — an act that was a leap of faith. But communication proved to be key, with the ISOPS team continuously consulting with the game team regarding processes and setup to help it address its needs. This enabled everyone involved to catch issues even before they were noticed in the game. Technical Director of Gameloft Stolls also found great value in the ability to ramp up bot testing using Amazon EC2. “We ran about 200,000 bots all at the same time, and they ramped up within a few minutes,” he says. By the time LEGO Legacy: Heroes Unboxed launched in March 2020, Gameloft had its AWS Cloud infrastructure set up and ready to handle the influx of players. “Being on a separate Amazon EC2 infrastructure helped us provision the infrastructure how we felt it needed to be provisioned for the launch of our game,” says Stolls. “This was one of the smoothest worldwide launches for an online game that I’ve experienced at Gameloft.”

The team initially overprovisioned the infrastructure during the launch to provide an uninterrupted experience for players. From there, the team saved around 40 percent on provisioning costs by optimizing its use of Amazon EC2 instances in a portion of its autoscaling groups after the launch. “We went from C5 instances to M5,” says Stolls. “Then we ended up with the R5 instances because they provide a lot more memory per central processing unit.”

Working in its own game-centric bubble also enabled the LEGO Legacy: Heroes Unboxed team to make use of logging and monitoring features as well as graphs through Kibana and other open-source tools compatible with AWS services. With the power to query logs and other data more efficiently and the ability to receive alerts, the LEGO Legacy: Heroes Unboxed team has since been able to fix problems without widely impacting the player experience. “The AWS infrastructure really improved our ability to work faster — to debug faster and make changes faster,” says Stolls. “Now we can schedule maintenance for the low peak times so that we have less effect on players. ISOPS always did a great job at keeping our games running, and with LEGO Legacy: Heroes Unboxed, we’re able to maintain a high uptime and work together to provide stability.”

Expanding the AWS Infrastructure for Other Game Teams

Teams across the company are now clamoring to make use of the same innovative tools that enable greater coordination between game teams and the central infrastructure team. “We’ve decided that all the new games will be launching using the same model as LEGO Legacy: Heroes Unboxed,” says Barousse director of ISOPS for Gameloft. “One of the biggest benefits of running a game on AWS is the provisioning part. We were able to use more tools to decrease any risks at launch. If you run your game on AWS, you can overprovision your game infrastructure at launch without any capital expenditure investment.” Furthermore, Gameloft is currently migrating Kubernetes management to Amazon Elastic Kubernate Service(Amazon EKS). The company is also exploring the potential of machine learning to detect cheating and even to design games.

By fully building and hosting LEGO Legacy: Heroes Unboxed on the AWS Cloud, Gameloft was able to grant its teams greater infrastructure autonomy, enabling the teams to adequately provision compute capacity and maintain LEGO Legacy: Heroes Unboxed without affecting other Gameloft games. At the same time, it increased collaboration between the studio team and the cloud team. “It was great to see,” says Stolls. “We were all in this production together, both teams. It really added to the whole accomplishment of releasing the title.”

Benefits of AWS

  • Facilitated infrastructural autonomy for an individual game team
  • Ran 200,000 bots concurrently in preparation for launch
  • Enabled 40% savings on provisioning costs after launch
  • Enabled the development team to streamline maintenance

AWS Services Used

Amazon Elastic Cloud Compute (Amazon EC2)

Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides secure, resizable compute capacity in the cloud. Amazon EC2’s simple web service interface allows you to obtain and configure capacity with minimal friction. It provides you with complete control of your computing resources and lets you run on Amazon’s proven computing environment.

Learn more »

Amazon CloudFront

Amazon CloudFront is a fast content delivery network (CDN) service that securely delivers data, videos, applications, and APIs to customers globally with low latency, high transfer speeds, all within a developer-friendly environment.

Learn more »

Amazon Elastic Kubernetes Service

Amazon Elastic Kubernetes Service (Amazon EKS) is a fully managed Kubernetes service.

Learn more »

Thankyou……!

--

--