Meteo Blog // Architecture

Resúmenes meteorológicos impulsados por IA para España — totalmente serverless en AWS

EventBridge Scheduler
cron: 5x/día (hora España)
0h, 6h, 10h, 14h, 18h
invoca
🌦️
AEMET OpenData API
17 CC.AA. · temp, lluvia, cielo
Rate-limited con reintentos
🧠
AWS Lambda
Python 3.12 · Docker
Fetch → Prompt → LLM → S3
Amazon Bedrock
Amazon Nova Micro
Resumen meteorológico
en lenguaje natural
weather.json + invalidación caché
🗃
Amazon S3
Frontend estático +
weather.json (datos)
🌐
CloudFront CDN
HTTPS · OAC · TTL 5min datos
TTL 1h assets estáticos
📱
Frontend
HTML + Vanilla JS
Tailwind CSS · Sin frameworks
📄
Repo (código + IaC)
Chunking semántico
Script local offline
📊
Titan Embed v2 + FAISS
256 dims · cosine similarity
Índice en S3
💬
API Gateway + Lambda
RAG + weather.json
Memoria en S3 · Nova Micro
🛠
Terraform
IaC · S3 remote state
Lambda, IAM, ECR, S3,
CloudFront, Route 53, ACM
📦
Docker + ECR
Container image
Lifecycle: últimas 10
GitHub Actions
Push to main → deploy
OIDC auth (sin secrets AWS)
Python Terraform Docker AWS Lambda Bedrock S3 CloudFront Route 53 AEMET API GitHub Actions