View a markdown version of this page

Lakehouse Analytics Starter Package - Secure AI Foundations

Lakehouse Analytics Starter Package

The Lakehouse Analytics Starter Package deploys a complete analytics lakehouse: S3 data lake, Glue cataloging and ETL, data quality enforcement, Athena and Redshift querying, and QuickSight BI — end-to-end with a single deploy command.

Lakehouse Analytics starter kit architecture

Lakehouse Analytics starter kit — S3 storage with Glue ETL and Athena/Redshift/QuickSight consumption.

This architecture is particularly effective when:

  1. Data flows through ingestion, processing, quality validation, and consumption layers.

  2. Analytics are consumed via Athena, Redshift, and QuickSight.

  3. Data quality enforcement and ETL workflows are required.

  4. You want a validated, end-to-end reference across the six data-foundations capabilities plus governance.

Storage and Governance Components

  • Data Lake - S3 raw and transformed buckets, KMS-encrypted

  • Glue Catalog - KMS-encrypted Data Catalog with automated schema discovery

  • Lake Formation Settings - Configured for IAM-delegated access with governance mode

  • IAM Roles - data-admin, data-user, glue-etl with least-privilege policies

  • Audit - Encrypted S3 audit bucket and CloudTrail audit trail

DataOps Domain Components

  • DataOps Project - Sample Glue database with Lake Formation grants

  • Glue Crawler - Catalogs data in the transformed bucket

  • Glue ETL Job - Sample PySpark transformation script

  • Glue Data Quality - Rulesets, DQ evaluation job, and workflow that runs DQ after the crawler

Consumption Components

  • Athena Workgroup - SQL querying over the data lake

  • Redshift Cluster - Multi-AZ with cross-region snapshot copy

  • QuickSight Account - Resource-access service role, VPC connection, readers and authors groups

  • QuickSight Data Sources - Over Athena and Redshift

Deployment Instructions

Manual CLI Deploy Method

Prerequisites

Before deploying the Lakehouse Analytics Starter Package using the CLI method, verify you have:

  1. AWS CLI configured with appropriate credentials

  2. Node.js 22.x or later and npm/npx 10.x or later installed

  3. AWS CDK bootstrapped in your target account and region

  4. A VPC with at least 3 subnets across 3 Availability Zones (required for Redshift multi-AZ and QuickSight VPC connection)

  5. A QuickSight subscription (records the identity region used by group and folder permissions)

Deployment Steps

Step 1: Scaffold your project

npx @aws-mdaa/cli init my_lakehouse --starter-kit lakehouse_analytics cd my_lakehouse

Step 2: Configure your deployment

  • Edit mdaa.yaml to set:

organization: <your-unique-org-name>
context:
  vpc_id: <your vpc id>
  subnet_id_1: <your subnet id 1>
  subnet_id_2: <your subnet id 2>
  subnet_id_3: <your subnet id 3>
  notification_email: <your email>
  vpc_cidr: <vpc cidr>
  backup_region: <region for Redshift snapshot copy>
  qs_identity_region: <region where QuickSight was subscribed>
  • Review the commented-out CDK Nag suppression blocks in governance/roles.yaml.

Step 3: Deploy the solution

npx @aws-mdaa/cli ls npx @aws-mdaa/cli synth npx @aws-mdaa/cli deploy

Step 4: Verify deployment

  • Verify the S3 buckets, Glue database and crawler, Redshift cluster, Athena workgroup, and QuickSight data sources have been created.

Usage Instructions

The deploy creates the readers and authors QuickSight groups and grants them access, but does not add members. Add your QuickSight user to a group before data sources become visible.

  1. Load sample data and run the pipeline — See the USAGE.md in the starter kit directory for instructions on loading sample data, running the crawler, and executing the Glue ETL and DQ workflow.

  2. Query with Athena — Use the Athena workgroup created by the deployment against the sample database.

  3. Query Redshift — Connect via the QuickSight data source or redshift-data API using the roles configured by the starter kit.

  4. Build dashboards in QuickSight — Use the Athena and Redshift data sources under Datasets → New dataset → FROM EXISTING DATA SOURCES.

For more detailed information, refer to the README.md and USAGE.md files in the starter_kits/lakehouse_analytics directory of the MDAA repository.