✦ Want a lab built just for you? ✦
Request a Lab ↗

Building a Serverless Data Lake with AWS Glue and Athena

About this lab

You are a junior data engineer at ShopStream, a mid-size online retailer that sells electronics and home goods. The analytics team has been downloading CSV exports from the order management system every week and loading them into spreadsheets, but the data volume has grown past what Excel can handle. Your manager asks you to build a proper data pipeline that automatically catalogs and transforms raw sales data so analysts can query it on demand.

You will upload raw CSV files to Amazon S3, use AWS Glue Crawlers to automatically discover the schema, build a Glue ETL job that cleans and enriches the data, and query the results using Amazon Athena. By the end of this lab you will have a fully serverless batch pipeline that turns messy exports into query-ready tables without provisioning a single server.

Lab details

  • Level: Beginner
  • Cloud: AWS
  • Domain: Data Engineering
  • Duration: 60 minutes
  • Estimated cloud cost: ~$0.35

What you will learn

  • Create an organized S3 data lake structure with raw and transformed zones
  • Use AWS Glue Crawlers to automatically discover and catalog CSV schemas
  • Build a Glue ETL job that cleans, enriches, and joins multiple datasets
  • Query transformed data using Amazon Athena with standard SQL
  • Optimize query performance using partitioned tables and columnar formats

Concepts covered

  • Data Lakes
  • Serverless ETL
  • AWS Glue
  • Schema Discovery
  • Amazon Athena
  • Data Partitioning

Technologies used

  • Amazon S3
  • AWS Glue
  • AWS Glue Crawlers
  • Amazon Athena

Prerequisites

  • An AWS account (free tier works for most resources)
  • Basic understanding of SQL
  • Familiarity with CSV file formats

Topics

  • AWS
  • S3
  • Glue
  • Athena
  • ETL
  • Data Lake
  • Serverless
  • Batch
  • Beginner
  • Data Engineering