Design, migrate, and optimize serverless data pipelines on AWS Glue, engineered for scale, validated for accuracy, and tuned to control DPU cost from day one.
DataTerrain designs, builds, migrates, and optimizes AWS Glue ETL on Apache Spark and PySpark, including automated conversions from Alteryx, Informatica, Talend, and legacy scripts, with the cost control and validation enterprise teams need. See our full ETL Solutions practice for how this fits into broader data engineering work, or our Reports Conversion services if the pipeline feeds legacy reports.
A complete engagement, not just a job conversion exercise, typically spans six areas:
Cost lives in the read, not the transform. Glue is billed per DPU-hour at $0.44 per DPU-hour, and runtime is dominated by how much data each run scans and shuffles, not by how clever the transformation logic is. A job that reloads all history every run, reads thousands of tiny S3 files, or ignores partition pruning will always cost more than the same logic reading only what changed. Get the read pattern right (job bookmarks, partitioning, file layout), and the rest follows.
Not every Glue engagement is a hand-written PySpark job. Depending on team skillset and workload type, it may also involve:
| Stage | Description |
|---|---|
| Sources | Databases, SaaS, S3, streams |
| Crawlers + Catalog | Schema discovery & metadata |
| Glue Spark / PySpark | Transform & migrated logic |
| Validation | Row-count & checksum checks |
| Targets | Redshift, Snowflake, S3, BI |
The break point is the transform layer and the read pattern. Connectors and catalog setup are the easy part. The decade of business logic being migrated, and how each job reads its data, is where cost and correctness are won or lost.
| What | Where it is now |
|---|---|
| Current runtime | Glue 5.1 is the default (Apache Spark 3.5, Python 3.11) |
| Job engines | Spark ETL and streaming, Python Shell, and Ray |
| Ray engine | Closed to new customers, supported for existing workloads only |
| Python Shell 3.6 | End of support March 31, 2026; new 3.6 jobs are blocked |
| Pricing model | Serverless, billed at $0.44 per DPU-hour, no cost when idle |
| Native data quality | AWS Glue Data Quality provides built-in anomaly detection and rule-based checks |
| The Challenge | How DataTerrain Solves It |
|---|---|
| Uncontrolled DPU cost | Right-size workers, enable job bookmarks, model cost before build |
| Schema drift breaks jobs silently | Build schema-drift handling into every job so source changes fail loudly |
| Slow Spark jobs, poor performance tuning | Profile and re-tune partitioning, worker type, and join strategy rather than just scaling up |
| Lift-and-shift from legacy ETL | Redesign Alteryx / Informatica / Talend logic for Spark instead of copying it 1:1 |
| Full reloads every run | Incremental processing with job bookmarks |
| No validation | Row-count, checksum, and side-by-side testing before anything goes live |
Outcome: pipelines that are fast, cost-predictable, and provably correct.
| Job Type | Best For | Engine | Notes |
|---|---|---|---|
| Spark ETL (glue etl) | Large-scale batch transformations | Apache Spark (PySpark/Scala) | Default on Glue 5.1; auto-scaling workers |
| Spark Streaming (gluestreaming) | Near-real-time ingestion | Spark Structured Streaming | Reads from Kinesis and Kafka |
| Python Shell (pythonshell) | Lightweight, single-node tasks | Native Python | Very low cost, from 0.0625 DPU |
| Ray (glueray) | Distributed Python (pandas) | Ray on AWS Graviton | Closed to new customers |
| Glue Studio | Visual, low-code pipelines | Underlying Spark engine | Best for broader team access without deep Spark skills |
Client background: A world-leading e-commerce company processing enormous volumes of transactional and operational data every day. Hundreds of business-critical reports ran on a legacy PL/SQL-based reporting engine, expensive to maintain and misaligned with the company's AWS cloud strategy.
The challenge: Years of business logic locked inside procedural PL/SQL code, limited source-to-output lineage. Output parity was non-negotiable.
What DataTerrain did: DataTerrain re-platformed the reporting pipeline onto serverless AWS Glue using source discovery, data profiling, line-by-line reverse-engineering of business rules, a reusable PySpark framework, and row-by-row reconciliation against legacy outputs before cutover.
The results:
We'll assess your current pipelines, what runs, what costs too much, where the logic hides, and what it takes to move or optimize it, with a target Glue architecture and a DPU cost estimate. Performed remotely, no production access required.
Building a Fully Automated ETL Pipeline with AWS Glue | Harnessing AWS Glue for Real-Time Data Processing and Analytics | Informatica to AWS Glue ETL Migration | Converting Alteryx Workflows to Python | Automating ETL Testing with Python