Contents

Chapter 1

Overview

This chapter covers the core features and capabilities of Cloud Data Platform Blueprint.

Overview

This blueprint provides a complete reference architecture and deployable infrastructure for building a modern cloud data platform. It follows the medallion architecture (Bronze/Silver/Gold) with real-time and batch processing paths, comprehensive data governance, and a self-service analytics layer.

Whether you're building a new data platform from scratch or modernizing a legacy data warehouse, this blueprint gives you the IaC templates, processing patterns, and governance framework to deliver production-quality data infrastructure.

What's Included

FileDescription
Infrastructure as Code
cloudformation/data-lake-storage.yamlS3 data lake with medallion zones, lifecycle policies, encryption
cloudformation/streaming-ingestion.yamlKinesis Data Streams + Firehose for real-time ingestion
cloudformation/batch-processing.yamlGlue ETL jobs, crawlers, and job bookmarks for batch pipelines
cloudformation/serving-layer.yamlAthena workgroups, Redshift Serverless, QuickSight config
terraform/data-lake-foundation.tfComplete data lake foundation in Terraform
terraform/governance-layer.tfLake Formation permissions, data catalog, audit logging
terraform/variables.tfShared variables for all Terraform configs
Documentation
docs/architecture.mdFull reference architecture with Mermaid diagrams
docs/data-governance-framework.mdData classification, access control, lineage, quality
docs/scaling-guide.mdScaling strategies for each layer with cost benchmarks
Scripts
scripts/data_quality_validator.pyData quality rules engine with 20+ built-in checks
scripts/cost_estimator.pyData platform cost modeling tool
Examples
examples/glue-etl-job.pySample Glue ETL job (Bronze → Silver transformation)
examples/athena-queries.sqlCommon analytical queries for the Gold layer
examples/lake-formation-permissions.jsonExample Lake Formation permission grants
LICENSEMIT License

Architecture at a Glance

┌─────────────────────────────────────────────────────────────┐
│                      DATA SOURCES                            │
│  Databases  │  APIs  │  IoT Streams  │  Files  │  SaaS     │
└──────┬──────┴───┬────┴──────┬────────┴────┬────┴─────┬─────┘
       │          │           │             │          │
       ▼          ▼           ▼             ▼          ▼
┌─────────────────────────────────────────────────────────────┐
│                    INGESTION LAYER                            │
│  Kinesis Streams  │  Kinesis Firehose  │  AWS DMS  │  SFTP  │
└──────────────────────────┬──────────────────────────────────┘
                           │
                           ▼
┌─────────────────────────────────────────────────────────────┐
│                    STORAGE LAYER (S3)                         │
│  ┌──────────┐  ┌──────────┐  ┌──────────┐                  │
│  │  BRONZE   │→│  SILVER   │→│   GOLD    │                  │
│  │  (Raw)    │  │(Cleansed) │  │(Business) │                  │
│  └──────────┘  └──────────┘  └──────────┘                  │
└──────────────────────────┬──────────────────────────────────┘
                           │
                           ▼
┌─────────────────────────────────────────────────────────────┐
│                   PROCESSING LAYER                           │
│  Glue ETL (batch)  │  Glue Streaming  │  EMR (heavy)       │
└──────────────────────────┬──────────────────────────────────┘
                           │
                           ▼
┌─────────────────────────────────────────────────────────────┐
│                    SERVING LAYER                             │
│  Athena (ad-hoc)  │  Redshift (BI)  │  QuickSight (viz)    │
└─────────────────────────────────────────────────────────────┘
                           │
                           ▼
┌─────────────────────────────────────────────────────────────┐
│                  GOVERNANCE LAYER                            │
│  Lake Formation  │  Glue Catalog  │  CloudTrail  │  Macie  │
└─────────────────────────────────────────────────────────────┘
Chapter 2

Prerequisites

Follow this guide to get Cloud Data Platform Blueprint up and running in your environment.

Prerequisites

  • AWS Account with S3, Glue, Kinesis, Athena, Lake Formation, IAM permissions
  • AWS CLI v2 configured
  • Python 3.10+ (for scripts)
  • Terraform >= 1.5 (if using Terraform)

Quick Start

Step 1: Deploy the Data Lake Storage

bash
aws cloudformation deploy \
  --template-file cloudformation/data-lake-storage.yaml \
  --stack-name data-lake-storage \
  --parameter-overrides Environment=production OrganizationPrefix=acme \
  --capabilities CAPABILITY_NAMED_IAM

Step 2: Deploy Streaming Ingestion (if needed)

bash
aws cloudformation deploy \
  --template-file cloudformation/streaming-ingestion.yaml \
  --stack-name data-lake-streaming \
  --parameter-overrides DataLakeBucketName=acme-data-lake-production

Step 3: Deploy Batch Processing

bash
aws cloudformation deploy \
  --template-file cloudformation/batch-processing.yaml \
  --stack-name data-lake-batch \
  --parameter-overrides DataLakeBucketName=acme-data-lake-production

Step 4: Set Up Governance

bash
aws cloudformation deploy \
  --template-file cloudformation/serving-layer.yaml \
  --stack-name data-lake-serving \
  --capabilities CAPABILITY_NAMED_IAM

Step 5: Run Data Quality Checks

bash
python3 scripts/data_quality_validator.py \
  --rules examples/quality-rules.json \
  --report quality-report.json

Cost Notes

ComponentMonthly Cost (1 TB data, moderate queries)
S3 Storage (3 zones)~$30-50
Kinesis Data Streams (1 shard)~$15
Kinesis Firehose~$10-30 (per GB delivered)
Glue ETL (10 DPU-hours/day)~$130
Glue Catalog~$1-5
Athena Queries~$25-100 (per TB scanned)
Redshift Serverless (8 RPU)~$200-500
Lake FormationFree (included)
Total~$400-800/month

Cost optimization tips:

  • Use Parquet format in Silver/Gold zones (90% less Athena scan cost)
  • Enable S3 Intelligent-Tiering for Bronze zone
  • Use Glue job bookmarks to avoid reprocessing
  • Partition data by date for efficient Athena queries
Chapter 3
🔒 Available in full product

FAQ

You’ve reached the end of the free preview

Get the full Cloud Data Platform Blueprint and unlock everything.

All Chapters

Get the complete guide with every chapter unlocked, including code samples, diagrams, and best practices.

Full Tool Suite

Access all interactive tools with complete data, all workload profiles, and the full scenario library.

Source Files

Downloadable source code, configuration files, and working examples from every chapter.

Lifetime Updates

Free updates for life. Every new chapter, tool, and improvement included.

Buy Now — $49 →
📦 Free sample included — download another copy for the full product.
Cloud Data Platform Blueprint v1.0.0 — Free Preview