Course

Orchestrating Data Pipelines with Airflow

Orchestrate a real data pipeline with Apache Airflow — DAGs, operators, sensors, hooks, testing, monitoring, and a capstone that ties Airflow, PySpark, and Kubernetes together.

At a glance

Level
Intermediate
Lessons
10 lessons across 2 modules
What you build
A real Airflow DAG orchestrating CityFlow's PySpark job on Kubernetes
Cost
100% free · runs entirely on your own laptop, no cloud account

What you'll build

You'll rejoin CityFlow one last time and give their pipeline the piece it's been missing: a single place that runs every step in the right order, on a schedule, with retries, visibility, and alerts when something breaks. Starting from why hand-rolled scripts and cron eventually fall over, you'll install a real Apache Airflow stack (Docker, LocalExecutor), write real DAGs with the TaskFlow API and classic operators, wait on and talk to real systems with sensors and hooks, and rebuild CityFlow's ingest→validate→transform→load pipeline as a tested, logged, monitored DAG. The capstone ties this whole four-course path together: a real Airflow DAG submits a real PySpark job (Course 2) to the real Kubernetes cluster (Course 3), end to end, entirely on your own machine.

Before you start

What you'll be able to do

  • Design and author real Airflow DAGs with the TaskFlow API and classic operators
  • Wait on and talk to real systems with sensors, hooks, and connections
  • Test, log, monitor, and alert on a real DAG's failures
  • Orchestrate a real PySpark job on Kubernetes from an Airflow DAG

Prerequisites

  • Comfortable Python — reading a script, running it, managing basic dependencies
  • A working command line
  • Docker Desktop, and ideally a local Kind cluster from Docker & Kubernetes for Data Engineering (the capstone reuses it directly)

Tools you'll use

  • Apache Airflow
  • Docker
  • Kubernetes via Kind
  • PySpark
  • PostgreSQL

What you'll build

2 hands-on project lessons.

Curriculum

Last updated July 2026.

No account required. Progress is saved in this browser.

Course syllabus

Work through the modules at your own pace. Each lesson is a self-contained, hands-on read.

1 What Is a Data Pipeline? 5 lessons · 1 week
2 Introduction to Airflow 5 lessons · 1 week

Before you start

You'll need comfortable Python and a working command line. This course assumes you've either taken Docker & Kubernetes for Data Engineering and PySpark for Data Engineering already, or are comfortable picking up Docker and a running Kind cluster as you go — the capstone reuses both directly. No prior Airflow experience is assumed; Module 2 starts from installing it.

Set up your environment

Everything in this course runs for real, locally, on your own machine — no cloud account, nothing to pay for. You'll need a computer with a few gigabytes of free disk space and an internet connection.

  1. Docker Desktop — if you haven't already installed it in the Docker & Kubernetes course, Module 2 walks you through running Airflow with it.
  2. A local Kind cluster — reused from the Docker & Kubernetes course for the capstone; instructions to recreate it are included if you don't already have one.

Every command in every lesson is real and was actually run to produce the output you'll see — nothing is simulated or invented.

Ready to orchestrate a real pipeline?

Start by feeling why orchestration exists — then build up to a real Airflow DAG running a real PySpark job on real Kubernetes.

Start the first lesson

Want this taught live to your team?

Mehdi runs tailored corporate workshops on this exact material — hands-on, in-person or remote.

Learn about corporate training →
Sponsor

Keep DATATWEETS free. Help fund practical data, AI, and engineering lessons for learners worldwide.

Buy Me a Coffee at ko-fi.com