Service · Analytics
AWS Lake Formation
Build a data lake on S3 and secure it in one place, down to columns and rows.
Database and table
- Grant to a role or user
Column
- Hide sensitive columns
Row and cell
- Data filters
LF-tags
- Grant by label, scales well
Other accounts
- Share with AWS RAM
| Level | How |
|---|---|
| Database and table | Grant to a role or user |
| Column | Hide sensitive columns |
| Row and cell | Data filters |
| LF-tags | Grant by label, scales well |
| Other accounts | Share with AWS RAM |
What it is
A data lake keeps data of every kind in S3, in zones. A raw zone holds the data as it arrived. A curated zone holds cleaned data in a columnar format such as Parquet, partitioned for the queries people run, for example by date. The Glue Data Catalog lists the tables. Analytics services such as Athena, Redshift Spectrum and EMR read the lake in place.
What it is
AWS Lake Formation adds easy ingestion and central security. Blueprints create workflows that load data from databases and logs into the lake. For security, you register an S3 location, and then grant permissions at database, table, column, row and cell level, instead of writing many IAM and bucket policies. LF-tags let you label data, for example “pii”, and grant access by tag, which scales to thousands of tables. You can also share tables with other accounts.
Remember
- Zones: raw, then curated. Parquet, partitioned, with a catalog.
- Blueprints ingest from databases and logs.
- One place for permissions: database, table, column, row and cell level.
- LF-tags grant access by label, for example by sensitivity.
- Cross-account sharing of tables, using AWS RAM.
Remember
- Works with Athena, Redshift Spectrum, EMR and Glue.
On the exam
- “Column-level and row-level access to data in S3 for different teams” points to Lake Formation.
- “Grant access by sensitivity label across many tables” points to Lake Formation LF-tags.
- “Share a data lake table with another AWS account” points to Lake Formation cross-account sharing.
Do not mix it up with
AWS GlueServerless ETL and the Data Catalog: crawl data, transform it, and write it as Parquet.
Amazon AthenaServerless SQL on S3. You pay for data scanned, so use partitions, Parquet and compression.
- Resource-based policiesA policy attached to the resource that names who may use it, including other accounts and services.