Case Study · Modernization

Moving AWS Glue data jobs to Prefect on Amazon EKS

Client Canadian professional sports organization (sports data & analytics)
Engagement Modernization (Partner delivery)
Timeline July to October 2026 (~3 months)
Our Role Lead architect & implementer
AWS GLUE AUDIT 267 Jobs on record ~113 live jobs 108 never-run GITHUB ACTIONS CI/CD • 1 container / flow group • Safe bucket guard check • Flow load verification Push → Amazon ECR Renovate Auto-Upgrades PREFECT 3 ON AMAZON EKS + KARPENTER 30 FLOWS Tagged Prod Release SHARED LAYER Secrets CSI · S3 Guard Existing job code unchanged · Per-deployment secrets Staged cutover · RDS PostgreSQL · Datadog
DATA ORCHESTRATION MODERNIZATION ARCHITECTURE PREFECT 3 · AMAZON EKS · HELM · GITHUB ACTIONS

Our role

We served as lead architect and implementer on an engagement delivered through a consulting partner. We audited the existing AWS Glue setup, designed and built the Prefect platform and workflows, and shipped the production release, working alongside the client's platform team.

The challenge

The client ran its sports-data pipelines on AWS Glue and wanted a Kubernetes workflow orchestrator on its existing Amazon EKS cluster. Getting a clear picture was hard. Of 267 jobs on record, 108 had never run, and most had no linked source repository. No Amazon CloudWatch alarm in the account monitored Glue, and no job was set to retry. Jobs also reached secrets and data lake storage directly, so a test run could write to live data. Rebuilt jobs had to match existing behaviour and roll out without disrupting running pipelines.

What we did

  1. Audited the Glue environment before moving anything. We catalogued every job, grouped them by pattern, and mapped how they triggered each other. That showed about 113 live jobs rather than the 267 on record, which set the migration scope.
  2. Proved Prefect on the existing cluster first. Before a wider build, we ran a pilot of 8 Prefect workflows to prove the approach on the client's cluster.
  3. Kept existing job code unchanged. A shared layer pulls secrets from AWS Secrets Manager into Kubernetes and redirects data lake writes to a test bucket during trials, and a build check blocks unsafe bucket access. That let us test flows without touching live data.
  4. Built one container image per group of flows, not one per job. Each deployment mounts its own secrets. GitHub Actions builds the image, checks that every flow loads, registers the deployments, and verifies each one in Prefect.
  5. Staged the production rollout. We released the Prefect platform and registered the deployments from a tagged release. Each group of jobs moves over on its own schedule, so existing pipelines keep running throughout the switch.

Results

  • 267 AWS Glue jobs catalogued, and 108 never-run jobs identified for deletion.
  • Pilot of 8 Prefect workflows proved the approach before the wider build.
  • 21 Glue jobs plus 8 pilot flows rebuilt as Prefect flows.
  • Prefect platform released to production with 30 flow deployments registered from a tagged release; the client's team ran the first live production flows the next day.
  • Prefect upgrades automated with Renovate, backed by a documented revert procedure.

What the client kept

  • Prefect platform repository: Helm chart, production configuration, CI/CD workflows, smoke tests, and user and developer guides
  • Flows repository: the shared secrets and storage layer, container build file, development and production deployment definitions, CI workflows, and registration and validation scripts
  • Deployment and memory right-sizing guides
  • Renovate configuration with a documented revert procedure
  • Handover to the client's team to run the platform and flows in production