A lightweight, blazing-fast CLI tool to audit AWS accounts, identify wasted cloud resources, and generate actionable cost-saving reports.
Architecture • Quick Start • Features • CI/CD
Stop burning money in the cloud. This tool programmatically connects to your AWS environment, audits specific resource types known for generating "zombie costs", and provides a beautiful terminal report detailing exactly how much money you can save this month by deleting them.
- 📦 Orphaned EBS Volumes: Detects
availableEBS volumes that are no longer attached to any EC2 instance. - 🌐 Idle Elastic IPs: Detects EIPs that are provisioned but not associated with a running instance.
- 📊 Rich Reporting: Uses the Python
richlibrary to render beautiful, easy-to-read financial reports in the terminal. - 🔐 Secure by Default: Adheres to AWS well-architected framework; requires no hardcoded credentials (uses your local
~/.aws/credentialsor IAM Roles).
Ensure you have Python 3.10+ installed and AWS credentials configured via the AWS CLI (aws configure).
git clone https://github.com/your-username/aws-finops-cli.git
cd aws-finops-cli
make installRun the CLI to audit your default region (us-east-1):
python src/cli.py auditTo audit a specific region:
python src/cli.py audit --region eu-west-1- Core Logic: Python 3, Object-Oriented Design (OOD).
- AWS Integration:
boto3SDK. - CLI Interface:
clickfor command routing,richfor terminal UI. - Automation:
Makefilefor developer workflow encapsulation.
This repository utilizes GitHub Actions to ensure code quality on every push:
- Automated syntax checking with
flake8. - Strict code formatting enforcement via
black.