Skip to Content

AWS Lake Formation

AWS Lake Formation for building a data lake on S3 in days, its blueprints and Glue foundations, and centralized fine-grained permissions at the row, column and cell level.

What it is

A data lake is a central place to keep all of an organisation's data for analytics, structured and unstructured, usually in S3.

AWS Lake Formation is a fully managed service to set up a data lake in days and to govern it.

  • Discover, cleanse, transform and ingest data into the data lake.
  • It automates many complex manual steps (collecting, cleansing, moving, cataloguing data…) and de-duplicates records (with ML transforms).
  • Combine structured and unstructured data in the data lake.
  • Out-of-the-box source blueprints: S3, RDS, relational and NoSQL databases…
  • Fine-grained access control for applications: row, column and cell-level.
  • Built on top of AWS Glue: it uses Glue crawlers, Glue ETL and the Glue Data Catalog.

AWS Lake Formation: data from S3, RDS, Aurora and on-premises databases is ingested into a Lake Formation data lake stored in S3, with source crawlers, ETL and data prep, the Data Catalog, security settings and access control in one place; Athena, Redshift, EMR and QuickSight read it with row, column and cell-level permissions AWS Lake Formation: data from S3, RDS, Aurora and on-premises databases is ingested into a Lake Formation data lake stored in S3, with source crawlers, ETL and data prep, the Data Catalog, security settings and access control in one place; Athena, Redshift, EMR and QuickSight read it with row, column and cell-level permissions

Ingest once, govern access in one place.

Centralized permissions

Without Lake Formation, securing a data lake means writing S3 bucket policies, IAM policies and per-service settings, and keeping them consistent for Athena, QuickSight, Redshift and EMR separately.

With Lake Formation:

  • Permissions are granted and revoked on databases, tables, columns and rows in one place, much like in a relational database (GRANT SELECT ON sales (region, amount) TO analysts).
  • Data filters give column-level, row-level and cell-level security.
  • The permissions are enforced by the analytics services: Athena, QuickSight, Redshift Spectrum, EMR and Glue.
  • Data can be shared with other AWS accounts or a whole AWS Organization, with the same fine-grained control. LF-Tags grant access by tag at scale.

For example, the marketing team's analysts query the customer table in Athena and see every column except email and phone, and only rows for their own country, while the data science team sees everything.

Real-world examples

  • A hospital group ingests data from several databases into an S3 data lake with Lake Formation blueprints, and researchers see patient records without names or addresses (column-level security).
  • A company with many accounts keeps one central data lake account and shares specific tables with each business unit's account through Lake Formation.

Exam tips

  • "Build a data lake quickly" → Lake Formation.
  • "Centrally manage fine-grained (column, row, cell-level) access to data in the data lake" → Lake Formation permissions.
  • "Share data lake tables across accounts with fine-grained control" → Lake Formation (cross-account sharing, LF-Tags).
  • "De-duplicate records in the data lake" → Lake Formation / Glue ML transforms (FindMatches).

Common traps

  • "Use S3 bucket policies for column-level access." S3 policies work on objects, not columns or rows; use Lake Formation.
  • "Lake Formation replaces Glue." It's built on Glue (catalog, crawlers, ETL) and adds governance.

Check yourself

Setting up Lake Formation permissions takes a full data lake to be meaningful, so instead:

AWS documentation

On this page

Open notes

Spotted a mistake?

These notes are open source. Suggest a fix, or star the repo if they helped you.

Suggest an edit

For AI agents: llms.txt · llms-full.txt