DEV Community

Gurpreet Singh
Gurpreet Singh

Posted on Edited on

How to Find & Slash 20-40% Off Your AWS Bill in 5 Seconds with CostSlash

Most AWS bills accumulate silent waste over time:

  • Unattached EBS Volumes: Forgotten disks left behind when EC2 instances are deleted ($10–$100/month per disk).
  • Legacy GP2 Storage: Upgrading older gp2 volumes to modern gp3 gives an instant 20% price cut and faster baseline IOPS with zero downtime.
  • 24/7 Dev/Staging RDS: Non-production databases running through nights and weekends when no developers are online.
  • Idle NAT Gateways: Staging VPC gateways that silently incur AWS's $32.85/month base fee with zero data processed.
  • Unassociated Elastic IPs: Unused IPv4 addresses incurring hourly AWS penalty fees.

To solve this, I built CostSlash — an open-source, read-only Python CLI tool.

⚡ How It Works

CostSlash scans your AWS account concurrently across all active AWS regions using thread pools in about 2 to 4 seconds.

1. Install via PyPI


bash
pip install costslash

2 Run scan:
• Mac/Linux: `costslash scan --live --all-regions --fix`
• Windows (PowerShell): `python -m costslash scan --live --all-regions --fix` 

## 🔒 Security & Privacy Guarantee

• 100% Read-Only: Only calls read-only AWS metadata APIs (via Boto3).
• Zero Root Keys: Uses your existing local authenticated AWS CLI session.
• Client-Side: Zero data or telemetry is sent to any external server.

## 🔗 Links & Resources

• GitHub Repo: https://github.com/GurpreetSingh1979/costslash
• PyPI Release: https://pypi.org/project/costslash/
• Live Web Platform: https://costslash-web.vercel.app

Would love your feedback, stars on GitHub, and suggestions on what AWS service checks to add next!
Enter fullscreen mode Exit fullscreen mode

Top comments (0)