Lesson 4 of 10 Data Pipeline Design Patterns

Designing a Lakehouse

This lesson explains the lakehouse, which keeps one governed copy of data in open table formats on S3 for many engines and teams, combining the low cost and openness of a data lake with the transactions and governance of a warehouse.

Learning outcomes

After completing this lesson, you will be able to:

  • Describe the components of the reference lakehouse design.
  • Match each zone to a format and an audience.
  • Explain why one governed copy is better than copies per engine.

The reference design

S3 with Iceberg tables in raw, cleaned and curated zones → Glue Data Catalog → Lake Formation permissions → Athena, Redshift, EMR and SageMaker reading the same tables.

A lakehouse combines a data lake's low-cost, open storage with a warehouse's reliable tables. Data is stored in S3 as Apache Iceberg tables, or in S3 Tables, which add ACID transactions, row-level updates and time travel to open files. The Glue Data Catalog holds one definition of each table, so every engine sees the same schema and partitions.

Lake Formation applies fine-grained permissions to those tables, and SageMaker Catalog adds business discovery and sharing. Because storage, catalogue and permissions are shared, Athena, Redshift, EMR, Glue and SageMaker all work on the same data without copies. The following table summarises the layers.

LayerServiceRole
StorageS3 with Apache Iceberg, or S3 TablesOpen files with ACID transactions, updates and time travel
CatalogueGlue Data CatalogOne set of table definitions for every engine
GovernanceLake Formation, SageMaker CatalogFine-grained permissions, sharing and discovery
EnginesAthena, Redshift, EMR, Glue, SageMakerSQL, Spark and ML on the same data

The following diagram shows the layers of the reference design.

The layers of a lakehouse. Data is stored once in S3 as Iceberg tables or S3 Tables, in raw, cleaned and curated zones. The Glue Data Catalog holds one definition of each table, Lake Formation and SageMaker Catalog govern access, and Athena, Redshift, EMR, Glue and SageMaker all work on the same tables.
Every engine reads the same files through the same catalogue.
Match the pairs

Lakehouse layers

Exam skills 2.1.7 · 4.2.4

Match each lakehouse layer with the service that provides it.

Log in to try this activity Interactive activities are free with an account.

Zones of a lakehouse

A lakehouse uses the same zones as a data lake, described in the lesson Organising a Data Lake into Zones, with each zone matched to a format and an audience. The raw zone keeps data exactly as received, in its original JSON or CSV, and is read mainly by data engineers, for reprocessing. The cleaned zone holds validated, de-duplicated and correctly typed data as Parquet or Iceberg, used by data engineers and data scientists. The curated zone holds business-level aggregates and models, as Iceberg tables or Redshift tables, which analysts and dashboards query. The following table summarises the zones.

ZoneContentsFormatWho reads it
Raw (bronze)Data exactly as receivedOriginal (JSON, CSV)Data engineers; reprocessing
Cleaned (silver)Validated, deduplicated, typedParquet or IcebergData engineers, data scientists
Curated (gold)Business-level aggregates and modelsParquet or Iceberg; Redshift tablesAnalysts, dashboards
Sort into groups

Which zone?

Exam skills 2.1.2

Decide which lakehouse zone each dataset belongs in.

Log in to try this activity Interactive activities are free with an account.

Why it matters

Without a lakehouse, data is copied into each engine, and the copies drift, cost storage and need their own permissions. With one governed copy, permissions are defined once in Lake Formation, every engine sees the same data, and Iceberg's transactions let pipelines update tables while others query them. SageMaker Unified Studio brings these engines together in one environment.

The following diagram compares three separate team copies of sales data with one governed copy.

Three copies compared with one governed copy. Before, analysts, data scientists and a third team each keep their own copy of sales data, with different numbers and permissions. After, curated sales are Iceberg tables in S3, registered in the Glue Data Catalog and governed by Lake Formation, and every team reads the same tables, with column-level permissions hiding customer details where needed.
The team names are illustrative.
Worked example

One copy for many teams

Analysts query sales data in Redshift, data scientists copy the same data to S3 for Spark, and a third team keeps its own extract; the three disagree, and permissions differ in each place.

The lakehouse answer is to keep curated sales as Iceberg tables in S3, registered in the Glue Data Catalog and governed by Lake Formation. Analysts query them from Redshift and Athena, data scientists from EMR or SageMaker, and column-level permissions hide customer details from teams that do not need them.

Check yourself

Which service applies the same permissions across Athena, Redshift, EMR and Glue in a lakehouse?

Show answer

AWS Lake Formation.

Exam Tips

Remember for the exam

  • Lakehouse: Iceberg on S3 → Glue Data Catalog → Lake Formation → many engines.
  • One governed copy replaces copies in each engine.
  • Lake Formation permissions apply across Athena, Redshift, EMR and Glue.
  • S3 Tables provide managed Iceberg storage with automatic maintenance.