Skip to main content

AWS Cloud Cost Auditor & FinOps Toolkit

A zero-agent, production-grade CLI suite designed to audit AWS infrastructure for orphaned resources, calculate monthly financial drag, synthesize remediation bash scripts, and generate branded executive PDF showbacks.


Prerequisites

  • Python 3.9+
  • AWS CLI configured with appropriate permissions (aws configure or standard AWS environment variables: AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION).

Installation

Free Lite CLI (PyPI)

Install the open-source single-account auditor directly from PyPI:

pip install aws-finops-auditor
aws-finops-auditor --file sample_aws_data.csv

Reusable GitHub Action (CI/CD Cost Gate)

Run automated AWS FinOps waste checks on pull requests or schedules directly in GitHub Actions:

- name: Run AWS FinOps Cost Audit
  uses: Ace-FinOps-Enterprise/aws-finops-auditor-action@v1
  with:
    fail-on-waste: '100'

Practitioner ($149/yr) & Agency ($999/yr) Annual Tiers

Extract your purchased archive from Gumroad, navigate into the directory, and install dependencies:

pip install -r requirements.txt

1. Practitioner Quickstart (Single-Account Audits)

Included in Practitioner & Agency tiers (infrastructure_auditor.py)

Audit the active AWS account configured in your local environment.

Run Audit Against Live AWS Infrastructure

python infrastructure_auditor.py --compliance --remediate

Run in Demo / Offline Mode (Using Sample Dataset)

python infrastructure_auditor.py --file sample_aws_data.csv --compliance --remediate

Outputs Generated:

  • Terminal Summary: Categorized breakdown of orphaned EBS volumes, low-utilization compute, and unattached Elastic IPs.
  • compliance_audit_export.csv: Full resource inventory with showback cost tags and compliance control mappings (SOC2 CC6.6, ISO27001 A.10.1.1).
  • remediate_anomalies.sh: Ready-to-review bash script with safe CLI commands to purge waste.

2. Enterprise & Agency Quickstart (Multi-Account AWS Organizations)

Included in the Consultancy & Agency Pack (enterprise_audit.py)

Scan multiple member accounts across an entire AWS Organization via STS role assumption and generate executive PDF reports.

Cross-Account IAM Role Setup

Deploy org-access-role.yaml via AWS CloudFormation StackSets across your target member accounts:

  • Default Role Name: OrganizationAccountAccessRole
  • Trust Relationship: Your primary management/auditing account ID.

Run Full Multi-Account Audit & Executive PDF Generation

python enterprise_audit.py --license-key YOUR_GUMROAD_KEY --report --remediate

Advanced Enterprise CLI Flags

Flag Description Default
--license-key Gumroad enterprise license key for verification Required
--report Compiles client-ready executive PDF report False
--report-out Custom output file path for the PDF deliverable AWS_FinOps_Executive_Report.pdf
--remediate Generates remediate_anomalies.sh purge script False
--org-id Custom company/client name for PDF header branding AWS Organization Root
--regions Comma-separated list of AWS regions to scan us-east-1,us-east-2,us-west-2
--role-name Cross-account IAM role to assume via STS OrganizationAccountAccessRole
--demo Populates report from sample_aws_data.csv if live accounts show $0 waste False

Example: Multi-Region Scan with Custom Client Branding

python enterprise_audit.py \
  --license-key YOUR_GUMROAD_KEY \
  --org-id "Acme Corp Infrastructure" \
  --regions "us-east-1,us-west-2,eu-west-1" \
  --report \
  --report-out "Acme_FinOps_Q4_Audit.pdf" \
  --remediate

3. Executing Remediation Safely

Every audit that includes --remediate generates an idempotent bash script (remediate_anomalies.sh) with set -euo pipefail safety controls:

  1. Inspect before executing:
    cat remediate_anomalies.sh
    # On Windows PowerShell:
    Get-Content remediate_anomalies.sh
    
  2. Execute remediation purge:
    chmod +x remediate_anomalies.sh
    ./remediate_anomalies.sh
    

Non-destructive actions (like upgrading deprecated RDS engines) are prefixed with # as operational warnings and require manual review.


4. AWS Marketplace Container Deployment (Enterprise)

Enterprise buyers procuring through AWS Marketplace can deploy the containerized multi-account scanner directly into ECS Fargate using aws-marketplace-cloudformation.yaml:

docker build -t aws-finops-auditor-enterprise:latest .
docker run --rm -e AWS_REGION=us-east-1 aws-finops-auditor-enterprise:latest \
  --aws-marketplace --report --remediate --s3-bucket your-finops-audit-bucket

Support & Upgrades

  • Commercial Licenses & Add-ons: Gumroad Product Portal
  • Issues & Support: Contact support via your Gumroad receipt portal or primary vendor email.

Metadata

Release files for aws-finops-auditor 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aws-finops-auditor 1.2.0
File Size Uploaded Provenance Actions
aws_finops_auditor-1.2.0.tar.gz 18.7 kB Without provenance Details for aws_finops_auditor-1.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aws-finops-auditor 1.2.0
File Interpreter ABI Platform Actions
aws_finops_auditor-1.2.0-py3-none-any.whl Python 3 none any Details for aws_finops_auditor-1.2.0-py3-none-any.whl

Total release size: 39.7 kB

Release files / aws_finops_auditor-1.2.0.tar.gz

Download URL aws_finops_auditor-1.2.0.tar.gz
Size 18.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8a421add7a72d05ac09da58626411664309d380964f67d12ed3274266adf5b40
BLAKE2b-256 checksum
How to use checksums
5287ad63151041108582bd2f29b01578300c513f0f43f79278642717c56ed69a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.11

Release files / aws_finops_auditor-1.2.0-py3-none-any.whl

Download URL aws_finops_auditor-1.2.0-py3-none-any.whl
Size 21.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c71c4f03efbd731d07631edb452db0369d26ad945f8ba9b85356aca8b5fb1558
BLAKE2b-256 checksum
How to use checksums
cad07190253c94718ba0dfa61c3845d3a2a255a121d86caeffba53d530d62fee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.11

Security for aws-finops-auditor 1.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page