Cloud Analytics

Moonfrog Labs Accelerates Analytics and Reduces Costs by Migrating Production Warehouse to Amazon Redshift RG Instances

The modern gaming industry relies heavily on the rapid ingestion and processing of massive telemetry datasets to maintain competitive advantages. Moonfrog Labs, a prominent mobile gaming company, recently concluded a high-stakes infrastructure migration, moving its massive 148 TB production analytics warehouse from Amazon Redshift RA3 instances to the newer RG instance family. This transition, executed via elastic resize, was designed to address growing computational bottlenecks and enable more frequent data loading cycles without sacrificing stability. The shift has resulted in a marked improvement in performance metrics, including a 79% reduction in data load times and a significant decrease in the cost per query, fundamentally altering how the company’s product and data science teams interact with live game data.

The decision to migrate was prompted by a systematic evaluation of current capacity versus future demand. While the previous RA3-based infrastructure provided reliable uptime, the increasing volume of telemetry—generated by millions of player sessions, in-game purchases, and event-based interactions—began to strain the existing compute headroom. By mid-2026, the company’s five-node ra3.4xlarge cluster was consistently hitting 90% CPU utilization during peak hours. Furthermore, the reliance on Amazon Redshift Spectrum for querying external data lake tables—which had seen a 33% increase in data scan volume between March and June—was driving up operational costs through separate per-terabyte billing.

How Moonfrog scales analytics and lowers query cost with Amazon Redshift RG instances | Amazon Web Services

The migration strategy was structured into four distinct phases: establishing a baseline, validating the new configuration, verifying access, and optimizing workload management. On July 26, 2026, Moonfrog Labs initiated the migration process. By utilizing elastic resize, the engineering team successfully transitioned the cluster from five RA3 nodes to an initial configuration of eight RG nodes. This was a calculated risk-mitigation strategy, providing temporary excess capacity while the team monitored the stability of the new architecture.

One of the most critical aspects of this transition was the seamless continuity of services. Because the migration utilized native Redshift functionality, there was no requirement for an export-and-reload process, which typically introduces significant downtime and complexity. The company’s existing BI tools, SQL queries, and ETL pipelines remained functional throughout the cutover, with only a brief, five-minute interval noted as the cluster adjusted to the new node family.

Following the initial cutover, Moonfrog Labs entered a period of iterative right-sizing. Over the course of eight days, the team systematically reduced the cluster size from eight nodes to seven, and finally to six. This six-node RG configuration, which provides 96 total vCPUs compared to the 60 vCPUs available in the previous five-node RA3 setup, was determined to be the optimal balance between performance and expenditure.

How Moonfrog scales analytics and lowers query cost with Amazon Redshift RG instances | Amazon Web Services

The data confirms the effectiveness of this transition. Prior to the migration, a standard COPY operation—the process of loading data into the warehouse—averaged 16.8 seconds. Following the move to RG instances, that duration dropped to 3.6 seconds, representing a 79% increase in efficiency. This dramatic improvement allowed Moonfrog to shift its operational strategy, enabling a four-fold increase in daily COPY operations, jumping from roughly 16,000 to over 70,000 operations per day.

The financial implications of the migration have been equally favorable. By leveraging the integrated data lake query engine inherent in RG instances, Moonfrog eliminated the separate per-terabyte S3 scanning charges associated with the legacy Spectrum configuration. Despite a slight increase in total monthly spend—driven by the decision to provision more capacity for future growth—the cost efficiency improved drastically. By September 2026, the cost per 1,000 total queries had fallen by 59% compared to the pre-migration baseline. This shift in unit economics allows the company to scale its data-driven decision-making processes without seeing a linear increase in infrastructure costs.

The broader implications for Moonfrog Labs center on the newfound computational headroom. With average CPU utilization now hovering between 35% and 39%—a significant drop from the 54% average observed under the RA3 configuration—the company is better positioned to integrate more complex analytical workloads. Specifically, the engineering team is currently evaluating the integration of Large Language Model (LLM) agents to support conversational analytics. These advanced AI-driven tools require the ability to execute multiple concurrent queries to generate meaningful insights, a task that would have been prohibitively expensive and performance-intensive under the previous hardware constraints.

How Moonfrog scales analytics and lowers query cost with Amazon Redshift RG instances | Amazon Web Services

The migration also highlights a shift in industry best practices regarding data lake management. By moving to a platform that handles Apache Iceberg and Apache Parquet scans directly on cluster nodes, Moonfrog has effectively modernized its data stack. Looking ahead, the company plans to transition its external data lake tables from Parquet to Iceberg, a move that will provide additional benefits such as schema evolution and time-travel capabilities. These features are essential for modern data engineering teams that need to maintain historical accuracy while rapidly iterating on data models.

Reflecting on the lessons learned, the Moonfrog engineering team emphasized the importance of rigorous baseline testing in non-production environments. By meticulously recording metrics in Amazon CloudWatch—including WLM queue wait times, query duration, and CPU utilization—the team was able to validate the migration’s success with quantitative certainty rather than relying on anecdotal performance observations. Furthermore, the decision to maintain concurrency scaling alongside the new reserved nodes proved vital, providing a safety net for unpredictable bursts in analytical traffic.

The success of this migration serves as a blueprint for other enterprises operating at scale. The transition from RA3 to RG instances is not merely a hardware upgrade; it is an architectural modernization that aligns compute resources with the reality of modern data workloads. As mobile gaming continues to grow in complexity, the ability to turn telemetry into actionable insights in near-real-time is no longer a luxury—it is a competitive necessity. By successfully executing this transition, Moonfrog Labs has ensured that its infrastructure can support its ambitious roadmap for the coming years, including more frequent data refreshes and the eventual deployment of AI-driven analytical assistants.

How Moonfrog scales analytics and lowers query cost with Amazon Redshift RG instances | Amazon Web Services

For other organizations considering a similar path, the experience of Moonfrog underscores that careful planning, incremental right-sizing, and a deep understanding of cost-per-workload metrics are the cornerstones of a successful cloud migration. As the company looks toward its next phase of development, it remains focused on measuring the impact of these improvements on end-user experience, specifically monitoring dashboard load times and the overall responsiveness of its analytical interfaces. The journey from a constrained, legacy-based architecture to a high-performance, future-ready environment demonstrates the potential for businesses to unlock greater value from their existing data assets through strategic modernization.

Related Articles

Back to top button
Whatvis
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.