Stop manually deleting EBS volumes: Building an open-source AWS Auditor in Python
Описание и применение
Инструмент aws-finops-auditor автоматизирует поиск неиспользуемых ресурсов AWS, генерируя отчёты и скрипты для их удаления, экономя время инженеров.
Задача
Manually tracking orphaned AWS resources consumes engineering time and leads to costly, insecure infrastructure.
Результат
The tool automates detection of idle or orphaned AWS resources, producing actionable reports and remediation scripts, saving engineering hours and reducing costs.
Рабочий процесс
- 1. Run aws-finops-auditor to pull raw AWS data via boto3.
- 2. Data is loaded into a Pandas DataFrame for filtering.
- 3. Apply vectorized filters (e.g., EBS volumes with 'available' state and 0% I/O over 30 days).
- 4. Generate a markdown report of findings.
- 5. Optionally run with --remediate to create a bash script (remediate_anomalies.sh) for automated deletion.
Доказательства
I built aws-finops-auditor. It is an open-source, CLI-driven tool that uses boto3 to pull your raw infrastructure data and Pandas to normalize, analyze, and aggregate it into a clean, actionable markdown report.
Instead of automatically deleting resources, passing the --remediate flag dynamically writes a targeted, executable bash script (remediate_anomalies.sh).
- Дата записи: 2026-10-03T17:55:43.695Z