Phase 04 · Data Engineering & Big DataLesson 4 of 4
End-to-End Data Engineering Project (Azure)
Build a complete pipeline from raw ingestion to business-ready data.
The problem
The best way to understand data engineering is to follow data on its whole journey: from messy raw files to clean, trustworthy numbers on a dashboard. This lesson walks through the architecture of an end-to-end pipeline on Azure, the same shape you'll see in most companies regardless of cloud provider.
The concept
Deep dive: 3h 31m video. You don’t need it all in one sitting. Use the chapter list under the video to jump straight to the part you need.
Jump to a chapter 25 chapters
- 0:00Project Introduction
- 0:50Getting Started
- 2:34Pre-requisite
- 8:34Project Architecture
- 20:00Azure Free Account
- 27:00Azure Cloud
- 34:37Olist Dataset
- 42:00SQL DB & Data Ingestion
- 1:06:30Role of Data Engineer
- 1:11:24Resource & Resource Group
- 1:12:24Azure Data Factory
- 1:31:00ADLS storage account
- 1:41:00Meddallion Architecture
- 1:46:23Ingestion with ADF
- 2:00:46Real Time Ingestion with ADF
- 2:26:49Parametrized Ingestion ADF
- 2:42:00Azure Databricks Creation
- 2:43:21Databricks Overview
- 2:51:36Databricks UI Overview
- 2:58:12Compute and Notebook
- 3:00:00MongoDB & Ingestion
- 3:08:10Databricks Workflow
- 3:12:12Datbricks to ADLS connection
- 3:25:12Accessing data from Lake
- 3:30:02Outro & Next Part
Chapters from the video description on YouTube.
The journey of data#
- Sources
- Ingest
- Data lakeBronze → Silver → Gold
- Warehouse
- Dashboards & ML
- Sources: databases, APIs, CSV exports, app events.
- Ingest: copy the data into the cloud on a schedule or as a stream.
- Store & transform: clean and reshape it in layers inside a data lake.
- Serve: load business-ready tables into a warehouse.
- Use: dashboards, reports and machine learning models.
The medallion architecture#
Most modern pipelines organise the data lake into three layers:
| Layer | Contains | Example |
|---|---|---|
| Bronze | Raw data, exactly as ingested | Untouched CSVs from the sales system |
| Silver | Cleaned and standardised | Duplicates removed, dates fixed, types corrected |
| Gold | Business-ready aggregates | Revenue per region per month |
Typical Azure building blocks#
| Step | Azure service |
|---|---|
| Ingest & orchestrate | Azure Data Factory: schedules and moves data between systems |
| Store | Azure Data Lake Storage (ADLS): cheap, scalable file storage for all three layers |
| Transform | Azure Databricks (Spark): cleans and aggregates data at scale |
| Serve | Azure Synapse Analytics: a warehouse for fast SQL queries |
| Visualise | Power BI: dashboards on top of the gold tables |
A transformation step, in code#
from pyspark.sql import functions as F
bronze = spark.read.json("/bronze/orders/")
silver = (bronze
.dropDuplicates(["order_id"])
.filter(F.col("amount") > 0)
.withColumn("order_date", F.to_date("order_ts")))
gold = (silver
.groupBy("region", F.month("order_date").alias("month"))
.agg(F.sum("amount").alias("revenue")))
gold.write.mode("overwrite").parquet("/gold/revenue_by_region/")
Making pipelines reliable#
- Orchestration: run steps in order, on a schedule, with retries.
- Idempotency: re-running a job for the same day should give the same result, not duplicate rows.
- Monitoring & alerts: know immediately when a step fails or data volume suddenly drops.
- Data quality checks: validate row counts, nulls and value ranges between layers.
Try it
Your task · about 10 minutes
Sketch a medallion pipeline for data you know (for example, college attendance), naming what goes in Bronze, Silver and Gold.
Recap & next
Key takeaways
- A typical pipeline goes ingest → store in a data lake → transform → serve → visualise.
- The medallion architecture layers data: Bronze (raw), Silver (cleaned), Gold (business-ready aggregates).
- Spark or Databricks does the heavy transformation; a warehouse such as Synapse serves analytics.
- Orchestration tools schedule and monitor each step, so pipelines run reliably every day.
Quick check
2 questions · instant feedback
Go deeper
The full course on Data engineering
Udemy course
Big Data Engineering Bootcamp with GCP and Azure Cloud
View course (opens Udemy in a new tab)
Finished this lesson?
Mark it complete to track your progress and keep your streak going.
