Problem Statement

Cloud costs keep rising because teams over-provision compute/storage and don’t plan commitments well. We need a simple tool that uses AWS usage history to predict demand and recommend safe, explainable cost-savings (rightsizing, commitments, spot, schedules) without hurting performance.

Proposed Solution

Build a student-friendly Cloud Savings Optimizer (CSO) that:

Key Features

Work Flow

[ Cloud Account (read-only) ]
├─ Cost Explorer     → daily cost $
├─ CloudWatch        → CPU %, (MEM% via CW Agent), Network I/O
├─ EC2 Describe*     → instance types/specs/tags
├─ Pricing API       → On-Demand / Reserved prices
└─ Spot PriceHistory → historical spot $ (optional)
   (scoped IAM keys, read-only policies)
           |
           ▼
[ Python App ]
├─ Data collectors (boto3)  → pull hourly → stash raw CSV/JSON
├─ Storage (SQLite/Postgres)→ raw + staging + features
├─ Feature job (daily)      → p95 CPU/MEM, cpu_equiv_hours, cost
├─ Forecast (Prophet/SARIMAX)→ 30-day demand + baseline
├─ Optimizer (OR-Tools/PuLP) → RI/SP/Spot/OD mix (headroom & spot cap)
└─ Tips engine (simple rules)→ rightsizing / schedules + $ impact
           │
           ▼
[ API (FastAPI) ]
/forecast  /plan  /recommendations  /anomalies(optional)
           │
           ▼
[ Web Dashboard (Streamlit) ]
KPIs • Charts • Forecast • Purchase Plan • Rightsizing • What-If • Export