- Maintained reporting across 40+ venues, with capacity to scale beyond 150.
- Modernised the legacy platform on AWS, significantly reducing operating costs.
- Avoided USD $100,000 in software costs through direct Excel–Redshift connectivity.
- Built reusable integrations to reduce future costs and support new venues, gaming systems and POS providers.

InsightsTechnical case studies
From legacy cube to production lakehouse in fourteen weeks.
Codex designed and delivered a modern data lakehouse on AWS, using Apache Iceberg to replace a legacy analytics environment. The solution integrates data from five disparate sources through automated ingestion pipelines, providing a scalable, governed data foundation to support analytics and reporting across more than 150 venues.
Project highlights
- Legacy code80 thousand plus lines of legacy code replaced in fourteen weeks
- Event volume20 million plus events a month
- Venue scale40+ up to 150+
- Software cost100 thousand US dollars saved
A rapidly growing payments and venue technology provider supporting hospitality and gaming venues across Australia. The organisation supports more than 80 venues, with plans to expand its network to over 150 within the next year.
Venue count was growing. The legacy data warehouse could not scale with it.
- The challenge
The organisation relied on a legacy, on-premises data warehouse and analytics platform managed by a third-party provider to support reporting across gaming, point-of-sale and customer operations.
As the business expanded, the existing architecture presented growing challenges around scalability, data integration, manual processing and reporting reliability. With a fixed timeframe to transition away from the legacy environment, the organisation needed a modern, scalable data platform that could support increasing data volumes, improve reporting consistency and enable future analytics capabilities without disrupting business operations.
- The use case at a glance
- Input
- Data from 5 disparate sources across gaming, POS and customer analytics with different data formats
- Users
- Business analysts, reporting teams and venue operations
- Process
- Ingest, transform, enrich, govern and report
- Output
- Timely, reliable reporting and analytics across gaming, POS and customer data via Redshift and Excel
- Scale
- 80+ venues currently, scaling to 150+. ~20M+ events processed per month. 5 data sources ingested.
- Systems affected
- Legacy OLAP cube, MS SQL Server data warehouse, gaming software systems, POS systems, customer analytics systems, Excel reporting
- What was holding it back
- Limited scalability to add new venues as the business expanded
- Data coverage limited to only one gaming software provider
- Incomplete dataset coverage required for holistic insights
- Heavy reliance on manual data handling
- Inconsistent and unreliable reporting with poor response times
- Inability to support AI or future data initiatives
- What had to stay the same
The replacement platform had to be delivered within a fixed timeframe to meet a hard rollout deadline. Continuity of the OLAP cube reporting experience had to be maintained for existing venue users.
Direct connectivity from Excel to the analytics layer was required to preserve existing reporting workflows.
- How success would be measured
We agreed five areas to measure success against: data completeness across gaming and POS datasets, reporting reliability and response times, venue onboarding scalability, reduction in manual data handling, and platform readiness for future analytics and AI use cases. The results are reported against the same five areas.
- Data completeness across gaming and POS datasets
- Reporting reliability and response times
- Venue onboarding scalability
- Reduction in manual data handling
- Platform readiness for future analytics and AI use cases
A modern data lakehouse with governance and scalability built in.
Codex designed and delivered a modern data lakehouse on AWS, using Apache Iceberg to replace the legacy analytics environment. The solution provides a scalable, governed foundation for integrating data from multiple sources, improving reporting reliability and supporting future analytics and AI capabilities.
From source to report
AI-enabled reverse engineering of business logic in 100k+ lines of legacy MS SQL Server and SSIS code
Conduct detailed data discovery to identify gaps, dependencies and prioritised datasets
Design a lakehouse architecture with layered data zones (Landing, Bronze, Silver and Gold)
Build data-contract driven, automated data ingestion pipelines using AWS Transfer Family, APIs and Lambda to support scale
Implement event-driven orchestration with EventBridge and MWAA
Develop data pipelines using AWS Glue for data transformation and enrichment
Establish data governance with Lake Formation and Glue Data Catalog with an observability layer
Deliver a serverless-first architecture to minimise operational overhead and cost, with reporting integration via Amazon Redshift and downstream tools like Excel
Reliable data. Scalable growth. Lower operating costs.
The new data platform improved reporting reliability, streamlined data integration and established a scalable foundation for analytics across the organisation’s growing venue network. With more consistent access to data and insights, the organisation is better positioned to support operational decision-making, onboard new venues and expand its analytics capabilities.
- Automated processing of 20M+ events per month through serverless pipelines.
- Integrated five data sources using metadata-driven workflows.
- Achieved 100% data completeness across gaming and POS operations.
- Automated ingestion and transformation, reducing manual effort.
- Unified gaming and POS data in one platform.
- Governed data access through AWS Lake Formation and Glue Data Catalog.
- Standardised pipelines for reliable, consistent and accurate reporting.
- Implemented a layered lakehouse for structured, governed data processing.
- Met the critical rollout deadline within a fixed delivery timeframe.
- Implemented Amazon S3 Tables with Apache Iceberg for schema evolution, historical access and efficient partitioning.
- Built event-driven pipelines processing ~20M events monthly.
- Supported batch, micro-batch and event-driven workflows.
- Adopted serverless architecture to reduce infrastructure overhead.
- Built an extensible foundation for new data sources without major architectural changes.
From legacy OLAP to a governed lakehouse on AWS.
The solution uses a scalable, AWS-native data lakehouse architecture to integrate, process and manage data from multiple sources. Automated workflows and built-in governance provide a reliable, secure foundation for reporting and analytics, with the flexibility to support growing data volumes and future business requirements.
Technical choices connected to customer value.
Behind every solution is a set of deliberate choices. These seven shaped the outcome.
Select a decision to see its trade-off and customer value.
- 01
Use Apache Iceberg on S3 Tables as the lakehouse foundation
- Why
- The platform needed schema evolution, time travel and efficient partitioning to support growing and changing data sources.
- Trade-off
- Iceberg introduces table management complexity compared with a simple warehouse.
- Customer value
- Schema changes, snapshot-based time travel and date-based partitioning are handled natively. The platform adapts as data sources evolve without redesign.
- 02
Use AI to reverse-engineer 100K+ lines of legacy code
- Why
- Manual analysis of legacy business logic at this scale would have consumed a significant portion of the delivery window.
- Trade-off
- AI-assisted code analysis requires validation of extracted logic.
- Customer value
- Accelerated discovery and reduced risk of missing critical business rules embedded in legacy code.
- 03
Design a layered data zone architecture (Landing, Bronze, Silver, Gold)
- Why
- Different data consumers need data at different levels of refinement and governance.
- Trade-off
- More pipeline stages to build and maintain.
- Customer value
- Raw data is preserved for auditability. Each layer adds progressive quality, enrichment and governance. Consumers access the right data at the right level.
- 04
Build data-contract driven ingestion pipelines using open standards
- Why
- Five disparate sources with different formats needed a consistent, scalable ingestion pattern.
- Trade-off
- Upfront effort to define and enforce data contracts.
- Customer value
- New data sources can be onboarded through configuration rather than custom code. Future ingestion effort is significantly reduced.
- 05
Orchestrate batch, micro-batch and event-driven workflows
- Why
- Different data sources have different latency and volume characteristics.
- Trade-off
- Multiple orchestration patterns to manage and monitor.
- Customer value
- Each data source is processed using the right pattern for its characteristics. The platform handles ~20M events per month without bottlenecks.
- 06
Deliver a serverless-first architecture to minimise operational overhead
- Why
- A growing business scaling from 80 to 150+ venues cannot afford proportional infrastructure management effort.
- Trade-off
- Serverless constraints on execution time and memory for some workloads.
- Customer value
- Cost scales with usage. No infrastructure management overhead. The team focuses on data and business value rather than platform operations.
- 07
Maintain direct Excel-to-Redshift connectivity for reporting continuity
- Why
- Business users relied on Excel for reporting and analysis. Changing the reporting tool would have added adoption risk and cost.
- Trade-off
- Excel connectivity constraints shape some aspects of the Redshift serving layer design.
- Customer value
- Existing reporting workflows preserved. $100K USD saved in additional software costs. Zero disruption to business users.
Automate data processing. Keep people in control of business decisions.
Ingestion, transformation and governance flow through on pipelines and contracts the business has defined. Analysts access governed, reliable data through familiar tools to make informed decisions.
Data is ingested from five sources via Transfer Family, APIs and Lambda. Event-driven orchestration coordinates transformation and enrichment across layered data zones. Metadata-driven processing using open standard data contracts ensures consistency without manual intervention.
Governed, reliable data is served through Amazon Redshift with direct Excel connectivity. Business analysts access reporting and analytics through familiar tools with full visibility into data lineage, quality and freshness through the observability layer.
Business analysts and reporting teams interpret insights, validate business logic and make decisions based on governed data. Venue onboarding, data source expansion and business rule changes are managed through operational processes with appropriate oversight.
Assess. Implement. Operate.
Codex worked from the existing reporting requirements and legacy platform constraints, then designed, built and operationalised the lakehouse on AWS in fourteen weeks.
Understand the data, the legacy platform and the constraints
- AI-enabled reverse engineering of 100k+ lines of legacy MS SQL Server and SSIS code
- Conduct detailed data discovery to identify gaps, dependencies and prioritised datasets
- Map existing reporting requirements and downstream dependencies
- Define success measures for data completeness, reliability, scalability and delivery timeline
Build and validate the production platform
- Design the layered lakehouse architecture (Landing, Bronze, Silver, Gold) on S3 Tables with Iceberg
- Build data-contract driven ingestion pipelines for 5 data sources
- Implement event-driven orchestration with EventBridge and MWAA
- Develop transformation and enrichment pipelines using AWS Glue
- Establish governance with Lake Formation and Glue Data Catalog
- Integrate reporting via Redshift with direct Excel connectivity
- Deliver within the fixed delivery window meeting the hard rollout deadline
Monitor performance and scale to new venues
- Monitor pipeline health, data quality and processing volumes
- Onboard additional venues from 40+ toward 150+ target
- Expand data source coverage to additional gaming and POS software providers
- Extend the platform to support advanced analytics and AI use cases
The people behind the work.
The three people who wrap around the customer, accountable for the relationship, the solution and the delivery.
- Account
- Solution
- Delivery
Still relying on a legacy data warehouse that cannot scale with your business?
Codex can help determine whether a modern data lakehouse could improve reporting reliability, reduce operational costs and create a scalable foundation for growth within your existing data landscape.