Skip to content

trivediayush/AWS-Cost-Analytics-and-FinOps-Dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

AWS Cost Analytics and FinOps Dashboard

This project implements a FinOps dashboard to track AWS usage costs. It uses Python for data processing, SQLite for storage, and Grafana for visual monitoring.

πŸ“ Project Structure

  • data/usage.db - SQLite database containing AWS service usage and cost data.
  • init.py - Initializes the database schema.
  • fetch_data.py - (Optional) Script to fetch and insert usage data into the database.
  • grafana/ - Contains dashboard configuration and data source settings.

βš™οΈ Features

  • Tracks AWS services by usage and cost.
  • SQLite backend for lightweight data management.
  • Grafana dashboard with visualizations (bar/pie charts) of service-wise costs.

πŸš€ Setup Instructions

  1. Clone the repository and navigate into the project directory.

  2. Run init.py to initialize the database:

    python init.py
    
  3. (Optional) Populate the database with sample or real usage data.

  4. Start Grafana and configure the SQLite data source pointing to data/usage.db.

  5. Create a new dashboard or import existing JSON, and visualize data using SQL queries:

    SELECT service, SUM(amount) AS cost FROM cost_data GROUP BY service ORDER BY cost DESC;
    

πŸ“Š Example Visualizations

  • Service-wise cost distribution using bar or pie charts

  • Trends over time (if usage_date is included in queries)

πŸ“ License

This project is licensed under the MIT License.

About

FinOps dashboard to track AWS usage costs with Python, SQLite, Grafana

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages