How srujangowda-10/weatherapi-data-engineering-project works
Main Components
A. Data Source Layer:
• WeatherAPI (external data source)
• API endpoints for current weather and forecast data
• 10 major Indian cities as data points
B. AWS Infrastructure Layer:
• Lambda Functions (show two distinct functions)
• Data Extraction Lambda
• Data Transformation Lambda
• S3 Buckets (show at least two buckets)
• Raw Data Bucket
• Transformed Data Bucket
• AWS Secrets Manager
• EventBridge for scheduling
C. Snowflake Layer:
• External Stage
• Snowpipes
• Data Warehouse Tables
• Dimension Tables (Location, Condition)
• Fact Tables (Current Weather, Forecast Day, Forecast Hour)
Component Relationships and Data Flow
1. WeatherAPI → Lambda (Extraction) → Raw S3 Bucket
2. Raw S3 Bucket → Lambda (Transformation) → Transformed S3 Bucket
3. Transformed S3 Bucket → Snowflake External Stage → Snowpipes → Tables
Specific Design Elements
A. Top Section:
• WeatherAPI with its endpoints
• EventBridge timer connection to Lambda
B. Middle Section:
• AWS infrastructure components
• S3 buckets with file formats
• Secrets Manager connection to Lambda
C. Bottom Section:
• Snowflake architecture
• Table relationships (star schema)
• Snowpipe data flow
Additional Details
• Data formats at each stage (JSON, CSV, etc.)
• Scheduling intervals from EventBridge
• Table relationships in Snowflake
• Security components (AWS Secrets Manager)
Important Notes
• Timing information for scheduled events
• Data transformation steps between components
• Error handling and monitoring points
• Volume metrics or data size indicators
Recommended Tools
Suggest using:
• Standard database symbols
This system design should emphasize the ETL pipeline nature of the project, showing clear separation between extraction, transformation, and loading phases while highlighting the cloud-based architecture and automated nature of the solution.