“The Waste Hunter” - Automated AWS cost optimization through serverless architecture.

Cost: $0.00 (AWS Free Tier)

Status: Completed


🎯 Project Overview

This project is a serverless FinOps tool designed to automatically hunt down and report wasted AWS resources. It addresses one of the biggest challenges in cloud computing: Cost Sprawl.

By running on a scheduled cron job, this bot acts as an automated auditor, ensuring that developer environments remain clean and cost-efficient without requiring manual intervention.

🏆 Business Value


🏗️ Architecture

The solution uses a Serverless Event-Driven Architecture. It costs nothing when it’s not running, and scales infinitely.

graph LR
    Trigger["EventBridge Schedule\\n(Daily @ 8 AM)"] -->|Trigger| Lambda["AWS Lambda\\n(Python Logic)"]

    subgraph "Waste Hunting (Boto3)"
        Lambda -->|Scan| EBS[Detached EBS Volumes]
        Lambda -->|Scan| Snap[Old Snapshots]
        Lambda -->|Scan| IP[Unused Elastic IPs]
    end

    Lambda -->|Calculate| Calc[Cost Calculator]
    Calc -->|Format| Report[JSON Report]

    Report -->|Notify| Slack[Slack Channel]
    Report -->|Notify| Email[Email Report]

    style Lambda fill:#ff9900,stroke:#333,stroke-width:2px
    style Slack fill:#4A154B,stroke:#333,stroke-width:2px,color:white

🛠️ Technology Stack