Domain 1 of 4 · Chapter 3 of 4

Pipeline Orchestration

Unlock the complete study guide + 1,040 practice questions across 16 full exams.

Bundled into the existing AWS Certified Data Engineer - Associate premium course — no separate purchase.

Included in this chapter:

  • Choosing the conductor: which orchestrator for which pipeline
  • Step Functions internals: Standard vs Express, Retry, Catch, and Map
  • Resiliency, idempotency, and decoupling with SNS and SQS
  • Exam-pattern recognition for orchestration questions

Choosing a pipeline orchestrator on AWS

Decision axisAWS Step FunctionsAmazon MWAAAWS Glue workflowsAmazon EventBridge
What it isServerless state-machine workflowManaged Apache Airflow (Python DAGs)Glue-native crawler + job chainingEvent bus + cron/rate scheduler
Best fitServerless workflows with branching and error handlingTeams on Airflow / rich operator ecosystemPipelines built only of Glue crawlers and jobsEvent-driven or scheduled triggering of a pipeline
Authoring modelAmazon States Language (JSON), visual designerPython DAG files in an S3 bucketTriggers and conditions in the Glue console/APIRules with event patterns or schedule expressions
Servers to manageNone (serverless)Managed Airflow environment (sized workers)None (serverless)None (serverless)
Error handlingPer-state Retry / Catch, Map, Parallel built inAirflow retries, dependencies, sensors, backfillConditional triggers; job retries within GlueRetry policy + dead-letter queue per target
Pricing modelPer state transition (Standard) or per request + duration (Express)Per environment-hour plus worker computeNo extra charge beyond the Glue resources runPer million events / scheduler invocations

Decision tree

Pipeline is only Gluecrawlers and jobs?YesAWS Glue workflowsnative crawler + job triggersNoTeam already runs Airflow DAGs?needs operator / provider ecosystemYesAmazon MWAAmanaged Apache AirflowNoNeed branching + error handling?serverless, no cluster to runYesAWS Step Functionsstate machine: Retry / Catch / MapJust triggerAmazon EventBridgeevent rule / SchedulerAlways: alert and decouple with SNS fan-out and SQS queues; Lambda is the small glue logic between steps

Cheat sheet

  • The orchestrator coordinates steps; it never moves the data itself
  • Reach for AWS Step Functions as the default serverless orchestrator
  • Step Functions Standard is exactly-once; only synchronous Express is at-most-once
  • Choose Express Step Functions for high-volume, short, event-driven workflows
  • In Step Functions, Retry handles transient failures and Catch handles permanent ones
  • Use a Step Functions Map state to process every item in a collection in parallel
  • Use the .sync service integration so the orchestrator waits for a long job to finish
  • Use Amazon MWAA when the team already runs Airflow DAGs
  • Use AWS Glue workflows when the pipeline is only Glue crawlers and jobs
  • A Glue conditional trigger expresses a dependency edge between Glue steps
  • Use EventBridge to trigger a pipeline; it starts the workflow but is not the workflow engine
  • Use EventBridge Scheduler for cron and rate schedules at scale
  • SNS is pub/sub fan-out; SQS is a durable pull queue
  • Fan out with SNS to multiple SQS queues so each consumer gets its own durable backlog
  • Set the SQS visibility timeout to at least six times the consumer's processing time
  • SQS retains messages 4 days by default, up to 14 days, and quarantines failures in a DLQ
  • Make pipeline steps idempotent so a retry or duplicate delivery never double-writes
  • Use Lambda as small glue logic, not as a multi-step workflow engine

Unlock with Premium — includes all practice exams and the complete study guide.

Also tested in

References

  1. AWS Step Functions Developer Guide — What is Step Functions
  2. Amazon MWAA User Guide — What is Amazon Managed Workflows for Apache Airflow
  3. AWS Glue Developer Guide — Workflows overview (and AWS Glue triggers)
  4. Amazon EventBridge User Guide — What is Amazon EventBridge
  5. Amazon EventBridge Scheduler User Guide — What is EventBridge Scheduler
  6. AWS Step Functions Developer Guide — Standard vs. Express workflows
  7. AWS Step Functions Developer Guide — Map state in Distributed mode
  8. Amazon SNS Developer Guide — What is Amazon SNS
  9. Amazon SQS Developer Guide — What is Amazon SQS