The problem

Mogean’s core product is a verified dataset of US places of interest, refreshed every month. For a long time the pipeline that produced it was a 28-step process on one laptop. It worked. It was also a single point of failure, impossible to hand over, and limited by one machine’s memory.

What I built

A cloud version in which every stage has a clear owner and a clear failure mode.

  • Scheduling. Step Functions and EventBridge run the monthly release and the daily collection work.
  • Heavy joins. PySpark on EMR, using spot capacity, does the matching and consolidation across sources.
  • Collection. Fargate workers pull from a queue and fetch brand locations in parallel. A slow source does not block the rest.
  • Government data. Lambda functions ingest public sources including the FDIC, NCUA, NCES, FAA, IMLS and CMS.
  • State. Aurora Serverless holds what was collected, when, and how it compared with last month.
  • Publishing. The final stage writes a release manifest. The storefront and the public website read their numbers from that manifest, so no figure on either site is typed by hand.

All of it is defined in code with the AWS CDK, so the infrastructure is reviewed the same way the application is.

How it was moved

Not in one cutover. The cloud pipeline ran beside the laptop version until its output matched, stage by stage. Each release passes 28 automated checks before it can be published, and the acceptance tests run against the real output file and not a sample.

The result

The monthly release no longer depends on one machine or one person. The published dataset holds more than 22 million US places and more than 3,100 active brands, and the whole path from collection to storefront runs without manual catalog work.