A Data Lake Separates Analytics From Production
An online retailer wants to analyze orders, logs, click events, partner files, and spreadsheets together. Heavy scans and joins should not compete with customer transactions on the production database, and not every source fits one operational schema.
A data lake creates a separate analytics foundation. It is not one AWS service or simply a large bucket. S3 stores the data; metadata makes it discoverable; processing makes it trustworthy and efficient; query engines answer questions; presentation tools show the answers.
The Architecture In One View
The smallest useful mental model has five jobs:
- Keep the source — private S3 raw zone. Batch exports, logs, and partner files land independently of production. Preserve the original input long enough to audit and replay it after a transformation bug. S3 durability does not make the objects clean or understandable.
- Describe it — Glue Data Catalog. Catalog tables record schema, format, partitions, and S3 locations. The bytes and rows remain in S3. A Glue crawler can infer and register metadata; it does not clean records or prove that an inferred schema has the right business meaning.
- Prepare it — Glue ETL. Jobs validate, standardize, deduplicate, and write new curated data rather than overwriting the only raw copy. Compressed, column-oriented Parquet lets compatible queries skip unneeded columns. Date or another common filter can define partitions so a query skips unrelated S3 paths.
- Ask questions — Athena or Redshift. Athena supplies serverless SQL directly over cataloged S3 data for occasional or ad hoc questions. Redshift supplies a data warehouse for repeated, complex, concurrent analytics with governed models and predictable performance requirements.
- Present answers — QuickSight. QuickSight builds dashboards from an appropriate query engine or prepared dataset. It is the presentation layer, not storage, ETL, or query compute.
The trust path commonly becomes raw → curated → published. Raw preserves what arrived, curated holds validated and query-efficient data, and published datasets expose stable business definitions. Those names are conventions; separate locations, permissions, owners, and pipelines make the trust boundaries real.
Read deeper into raw, curated, and published trust zonesFollow One File From Arrival To Answer
- A daily order export lands in the private S3 raw zone. Analytics no longer scans the production database, and the original file remains replayable.
- A Glue job reads the raw file, applies the approved validation and transformation rules, and writes compressed Parquet into a curated date partition.
- The Glue Data Catalog describes the curated table, its columns, format, partitions, and S3 location. It points to the objects; it does not contain their rows.
- An analyst submits SQL to Athena. Athena reads the catalog metadata, uses the date filter to find relevant partitions, scans the required S3 objects and columns, and writes query results to a protected S3 results location.
- If the same logic becomes a frequent, complex workload for many BI users, curated data can feed a Redshift warehouse instead. QuickSight then presents the prepared answer without making every dashboard refresh rescan raw data.
The most important Athena performance and cost question is: how many bytes must this query read? Compression reduces bytes, Parquet can skip unused columns, partitions can skip unrelated paths, and narrow SQL avoids selecting unnecessary data. Excessive partitions and huge numbers of tiny files create their own overhead.
Read deeper into Parquet, compression, and partition pruningChoose The Query And Ingest Paths From The Workload
Do not choose from the word “SQL” alone. Ask where the data lives and how the workload behaves. Athena is the first thought for intermittent serverless SQL over S3. Redshift is the first thought for a modeled warehouse serving repeated complex queries and many concurrent BI users.
Likewise, do not add streaming because the destination is a data lake. A complete nightly file is batch input and can land in S3. For continuous events, choose Kinesis Data Streams when custom consumers need a retained stream, ordering within shards, or rereading during retention. Choose Amazon Data Firehose when the main job is managed buffering and delivery to S3 or another supported destination.
Read deeper into the Athena versus Redshift decisionSAA Recognition Signals And Traps
- “Durable, low-cost repository for many data formats” points to an S3 data lake, but organization, metadata, governance, and processing are what keep it from becoming a data swamp.
- “Persistent table, schema, partition, and location metadata for S3 data” points to the Glue Data Catalog. “Infer and populate that metadata” points to a Glue crawler.
- “Serverless ETL or data integration” points to Glue jobs; a crawler does not perform that cleaning or transformation.
- “Run serverless SQL directly over S3” points to Athena. “Reduce Athena cost” points first to reducing bytes scanned through columnar formats, compression, useful partitions, and narrow queries.
- “Repeated complex BI with warehouse models and many concurrent users” points to Redshift. Not every dashboard or SQL requirement needs a warehouse.
- “Multiple custom consumers process a retained real-time stream” points to Kinesis Data Streams; “managed streaming delivery to S3” points to Data Firehose.
- “Dashboards and visualizations” points to QuickSight, but it still needs a query engine or prepared dataset beneath it.
- Do not delete the raw source before the realistic replay window, expose raw sensitive data to dashboard users, or assume a catalog entry makes bad data trustworthy. Use Lake Formation when the requirement specifically calls for centralized fine-grained lake permissions across teams, accounts, tables, columns, or rows.
One-Minute Review
sources -> private S3 raw zone keeps replayable originals
-> Glue Data Catalog describes locations and schemas
-> Glue ETL writes trusted, compressed, partitioned Parquet
-> Athena answers occasional S3 questions OR Redshift serves repeated warehouse BI
-> QuickSight presents the result
If you remember only one thing: keep storage, metadata, transformation, query, and presentation as separate jobs, then choose Athena or Redshift from the query workload—not from the word SQL.