Logo Lanfrica

Letsapatiiso07/aws-weather-pipeline

Domain:

environment and energydigital infrastructure

Record type:

projectsoftware
Creator:
Let
Host:
Real-time weather data pipeline using AWS services - automated ETL for South African cities # 🌀️ AWS Real-Time Weather Analytics Pipeline **Live automated weather data collection and processing system for South African cities** ## πŸ—οΈ Architecture Overview ``` β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ EventBridge │───▢│ AWS Lambda │───▢│ Amazon S3 β”‚ β”‚ (Every 15min) β”‚ β”‚ Data Ingestion β”‚ β”‚ Raw Storage β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β–Ό β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ DynamoDB β”‚ β”‚ CloudWatch β”‚ β”‚ Structured DB β”‚ β”‚ Monitoring β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ ``` ## πŸ“Š Real-Time Data Collection **Cities Monitored**: Pretoria, Cape Town, Johannesburg, Durban **Collection Frequency**: Every 15 minutes (96 data points/day per city) **Data Metrics**: Temperature, Humidity, Pressure, Weather Conditions, Wind Speed ## ⚑ Key Features βœ… **Fully Automated ETL Pipeline** - Zero manual intervention βœ… **Real-Time Processing** - Live data ingestion and storage βœ… **Dual Storage Strategy** - Raw JSON (S3) + Structured data (DynamoDB) βœ… **Error Handling & Logging** - Comprehensive monitoring via CloudWatch βœ… **Scalable Architecture** - Serverless, auto-scaling components βœ… **Cost Optimized** - Runs entirely within AWS Free Tier ## πŸ› οΈ Tech Stack | Component | Technology | Purpose | |-----------|------------|---------| | **Compute** | AWS Lambda (Python 3.9) | Data processing & ETL | | **Storage** | Amazon S3 | Raw data lake | | **Database** | DynamoDB | Real-time querying | | **Scheduler** | EventBridge | Automated triggers | | **Monitoring** | CloudWatch | Logs & metrics | | **API** | OpenWeatherMap | Weather data source | ## πŸ“ Project Structure ``` aws-weather-pipeline/ β”œβ”€β”€ README.md β”œβ”€β”€ lambda_functions/ β”‚ └── weather_ingestion/ β”‚ β”œβ”€β”€ lambda_function.py β”‚ └── requirements.txt β”œβ”€β”€ architecture/ β”‚ β”œβ”€β”€ architecture_diagram.png β”‚ └── aws_services.md β”œβ”€β”€ data_samples/ β”‚ β”œβ”€β”€ sample_s3_data.json β”‚ └── sample_ …