Customer Stories / Games / United States

2025
Riot Games Logo

Migrating 2,000 Databases with Minimal Downtime Using Amazon RDS with Riot Games

Learn how Riot Games migrated 2,000 databases and enhanced resiliency using automations and AWS services.

2,000

databases migrated by a six-engineer team

10-30

minutes to provision 30 databases instead of 3-6 months

Modernized

infrastructure without disrupting the player experience

Overview

Video game developer and publisher Riot Games publishes multiple online games that are popular worldwide, and it needs a robust and resilient data infrastructure to support them. But its on-premises data centers were costly to maintain and slow to build and upgrade. The company migrated to Amazon Web Services (AWS) to make its database infrastructure more resilient and flexible. It improved its agility and minimized downtime by migrating thousands of databases with a small team using AWS managed services.

Riot Key Art

Opportunity | Using Amazon RDS to Modernize Databases for Riot Games

Based in Los Angeles, California, Riot Games is the video game development and publishing company behind League of Legends, Valorant, and other popular games. Previously, Riot Games was using on-premises MySQL databases in 13 data centers that are located around the world. However, capacity planning and database maintenance were costly and time-consuming. “Our turnaround time to build on-premises databases was 3–6 months, from getting the request for a database to using the application,” says Martin Baek, database engineering team manager at Riot Games. “It took forever.” And it was difficult to upgrade and procure new hardware without causing downtime while games were live. League of Legends in particular has hundreds of millions of players, and downtime would have major impacts.

Riot Games needed infrastructure that could support large-scale global game launches, minimize latency, increase resiliency, and reduce downtime. As part of its cloud transformation on AWS, Riot Games migrated from its on-premises MySQL databases to AWS managed database services. Riot Games had been using AWS for different use cases since 2016 but had not yet adopted managed database services. In 2021, it chose Amazon Relational Database Service (Amazon RDS) for MySQL—a simple-to-manage relational database service that is optimized for total cost of ownership—as its primary database service for the databases that support its critical Player Platform system. Thus, the company accelerated database provisioning, now taking 10–30 minutes to provision a set of 30 databases using a repeatable framework on AWS instead of 3–6 months on premises. During the migration, a small team of six engineers used Amazon RDS instances for data transfer and replication processes. “We didn’t want to be in the business of building bespoke database infrastructure,” says Baek. “We wanted to use AWS instead and have managed solutions.”

kr_quotemark

The sheer flexibility to spin up whole fleets of databases at once and flip entire regions to a new architecture was really nice and fun to do on AWS.”

Martin Baek
Database Engineering Team Manager, Riot Games

Solution | Running the Player Platform Shared by All Games Using Amazon Aurora

Now, Riot Games uses Amazon Aurora—which provides unparalleled high performance and availability at global scale with full MySQL compatibility—to run the central Player Platform system. Player Platform consists of common critical infrastructure and services that all Riot Games’ major titles require to operate. “We turned to Aurora for its performance, horizontal scaling, and global replication features,” says Baek. “The central databases are serving the entire company and every single game on Aurora.” One of the highly popular titles that Riot Games publishes, Valorant, runs completely on Aurora.

Riot Games used a combination of database migration tooling that was built in house and AWS Database Migration Service (AWS DMS), a service for securely migrating databases with minimal downtime. Thus, the company accelerated the migration of thousands of clusters, hundreds of millions of player accounts, and more than 1 billion rows of data with minimal downtime. The company’s lean, diverse team migrated all critical databases to Aurora and Amazon RDS for MySQL in a relatively short time. “From building automations to implementing everything, the entire migration took us about a year and a half,” says Baek. “On premises, it would have easily taken double that time, with more headache.” Now, Riot Games doesn’t have to do capacity planning, because it can scale as needed with minimal downtime. Riot Games also optimized its existing infrastructure to be more efficient in the cloud. “We used automations on Amazon RDS to rightsize all our databases,” says Baek.

Using infrastructure as code, Riot Games launched Amazon EC2 instances, restored MySQL backups into Amazon RDS, and monitored everything with automated checks and alerts. “That shows the time we’re saving,” says Brijesh Savaliya, principal database engineer at Riot Games. “By building automations, we have to do one thing, and it builds up the entire infrastructure on AWS. We were able to do this migration flawlessly with only six people on the team.”

Riot Games has greatly reduced the operational overhead for its small development team. “Building cloud databases has been a lot simpler and efficient,” says Baek. “Turnaround time is great, and reliability has been much improved compared with the on-premises databases.” Riot Games is deploying resources in multiple Availability Zones—discrete data centers with redundant power, networking, and connectivity—to enhance its fault tolerance. Now, the company can manage new game launches in addition to Riot’s global esports events like the League of Legends World Championship and VALORANT Champions confidently with its increased resiliency and scalability.

By migrating to AWS, Riot Games has modernized its infrastructure without disrupting players’ experiences. The company has simplified resource deployment worldwide by taking advantage of the global reach of AWS services. By running databases in the cloud, the company has greatly reduced the risk of downtime due to natural disasters and other physical events. “League of Legends is a giant game. On AWS, we took a dataset that had taken us more than 10 years to build by hand across 13 data centers and migrated it to the cloud in a year and a half,” says Baek. “That was fast, and the sheer scale was monumental.”

Outcome | Optimizing for Automations and Resiliency

To further optimize its databases, Riot Games plans both to implement more automations for database upgrades and to explore NoSQL options. The company is also looking at the full set of Aurora features for other ways to improve its infrastructure. “The sheer flexibility to spin up whole fleets of databases at once and flip entire regions to a new architecture was really nice and fun to do on AWS,” says Baek.

About Riot Games

Based in Los Angeles, California, Riot Games is a video game developer and publisher that is renowned for creating one of the widely played PC games around the world: League of Legends.

AWS Services Used

Amazon Relational Database Service

Amazon Relational Database Service (Amazon RDS) is an easy-to-manage relational database service optimized for total cost of ownership.

Learn more »

Amazon Relational Database Service for MySQL

MySQL is the world's most popular open source relational database and Amazon RDS makes it easier to set up, operate, and scale MySQL deployments in the cloud.

Learn more »

Amazon Elastic Compute Cloud

Amazon Elastic Compute Cloud (Amazon EC2) offers the broadest and deepest compute platform, with over 750 instances and choice of the latest processor, storage, networking, operating system, and purchase model to help you best match the needs of your workload.

Learn more »

Amazon Aurora

Amazon Aurora provides unparalleled high-performance and availability at global scale with full MySQL and PostgreSQL compatibility, at 1/10th the cost of commercial databases.

Learn more »

More Games Customer Stories

Showing results: 1-4
Total results: 155

no items found 

  • United States

    DraftKings Scales Its Financial Ledger with…

    DraftKings enhanced its ability to handle traffic spikes during peak events such as the Super Bowl by adopting Amazon Aurora.
    2024
  • India

    Dream11 on AWS

    Dream11 is the world’s largest fantasy sports platform with more than 220 million users playing fantasy sports ranging from cricket and football to kabaddi and basketball. The flagship brand of Dream Sports, India’s leading sports technology company, it has partnerships with several national and international sports bodies and cricketers. Using Amazon Web Services (AWS), Dream11 has supported its expansion, developing new features and services fast and protecting users from disruption. Its Scaler tool combined with AWS technologies help it scale dynamically and cost-effectively to handle millions of requests a minute and hundreds of sporting events a day.

    2024
  • China

    Gemsouls Powers New Virtual Social…

    This case study examines how GemSouls, a blockchain-based game development studio, leverages AWS to build scalable and secure infrastructure for its decentralized gaming platform.
    2023
  • India

    Games24x7 Accelerates Machine Learning…

    Games24x7 improved data science productivity using Amazon SageMaker Studio and Amazon EMR, reducing overhead and automating ML processes for faster iterations
    2023
1 39

Get Started

Organizations of all sizes across all industries are transforming their businesses and delivering on their missions every day using AWS. Contact our experts and start your own AWS journey today.