<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ace7-coder</title>
    <description>The latest articles on DEV Community by Ace7-coder (@ace7coder).</description>
    <link>https://dev.to/ace7coder</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4160122%2F50c05eb0-5732-4cdc-ac31-07f859bf08c2.png</url>
      <title>DEV Community: Ace7-coder</title>
      <link>https://dev.to/ace7coder</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ace7coder"/>
    <language>en</language>
    <item>
      <title># Stop manually deleting EBS volumes: Building an open-source AWS Auditor in Python.</title>
      <dc:creator>Ace7-coder</dc:creator>
      <pubDate>Sat, 03 Oct 2026 16:37:24 +0000</pubDate>
      <link>https://dev.to/ace7coder/-stop-manually-deleting-ebs-volumes-building-an-open-source-aws-auditor-in-python-1hfg</link>
      <guid>https://dev.to/ace7coder/-stop-manually-deleting-ebs-volumes-building-an-open-source-aws-auditor-in-python-1hfg</guid>
      <description>&lt;p&gt;If you manage cloud infrastructure at scale, you already know the Friday afternoon drill. Finance pings you about a 15% spike in the AWS bill, and suddenly you are spending your weekend clicking through the Cost Explorer, hunting down unattached EBS volumes, idle EC2 instances, and unencrypted S3 buckets across a dozen different accounts. &lt;/p&gt;

&lt;p&gt;AWS provides native tools for this, but they often lack the programmable, deeply customizable data manipulation that a pure Python and Pandas pipeline provides. I realized that manually tracking down these orphaned resources was burning valuable engineering hours that should have been spent building.&lt;/p&gt;

&lt;p&gt;So, I built &lt;code&gt;aws-finops-auditor&lt;/code&gt;. &lt;/p&gt;

&lt;p&gt;It is an open-source, CLI-driven tool that uses &lt;code&gt;boto3&lt;/code&gt; to pull your raw infrastructure data and Pandas to normalize, analyze, and aggregate it into a clean, actionable markdown report. No more console clicking—just a single terminal command that spits out exactly where you are wasting money and failing security checks.&lt;/p&gt;

&lt;h2&gt;
  
  
  Technical Deep Dive: Treating Infrastructure as Data
&lt;/h2&gt;

&lt;p&gt;Most AWS scripts just blind-fire &lt;code&gt;boto3&lt;/code&gt; commands. But when you are dealing with production infrastructure, you need strict review processes before executing destructive actions. Applying principles from data analytics, I designed &lt;code&gt;aws-finops-auditor&lt;/code&gt; to treat cloud infrastructure as a data pipeline.&lt;/p&gt;

&lt;p&gt;First, it pulls the raw AWS environment state into a Pandas DataFrame. This allows for complex filtering—like isolating EBS volumes that have an 'available' state and 0% I/O over 30 days—in just two lines of vectorized code, rather than writing brittle, deeply nested loops.&lt;/p&gt;

&lt;p&gt;Then comes the remediation generator. Instead of automatically deleting resources, passing the &lt;code&gt;--remediate&lt;/code&gt; flag dynamically writes a targeted, executable bash script (&lt;code&gt;remediate_anomalies.sh&lt;/code&gt;).&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# --- Unattached EBS Volumes ---&lt;/span&gt;
&lt;span class="c"&gt;# Account: 111122223333&lt;/span&gt;
aws ec2 delete-volume &lt;span class="nt"&gt;--volume-id&lt;/span&gt; vol-0123456789abcdef0

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Try it out (and get the Enterprise Tier)&lt;br&gt;
The core CLI is completely open-source. I would love for you to run it against your own AWS billing exports and let me know how much idle waste it finds. You can grab the code and star the repository here:&lt;br&gt;
👉 &lt;a href="https://github.com/Ace7-coder/aws-finops-auditor" rel="noopener noreferrer"&gt;https://github.com/Ace7-coder/aws-finops-auditor&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you are an engineering manager or lead who needs to scale this across an entire AWS Organization, I packaged the Enterprise Tier to solve that exact problem. It includes the multi-account STS scanning engine, the automated Friday morning GitHub Actions CI/CD schedule, and the automated bash remediation generator.&lt;/p&gt;

&lt;p&gt;You can get lifetime access to the Enterprise package for a one-time $99 fee here:&lt;br&gt;
👉 &lt;a href="https://aisser.gumroad.com/l/krgac" rel="noopener noreferrer"&gt;https://aisser.gumroad.com/l/krgac&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;What is the most frustrating part of managing your cloud infrastructure costs? Let me know in the comments below!&lt;/p&gt;

</description>
      <category>automation</category>
      <category>aws</category>
      <category>devops</category>
      <category>python</category>
    </item>
  </channel>
</rss>
