<?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: Ace Rodriguez</title>
    <description>The latest articles on DEV Community by Ace Rodriguez (@ace_rodriguez_83ab38e92b4).</description>
    <link>https://dev.to/ace_rodriguez_83ab38e92b4</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%2F4203630%2Face5dc11-f0ea-4c3a-afad-29f8921b3fe2.jpg</url>
      <title>DEV Community: Ace Rodriguez</title>
      <link>https://dev.to/ace_rodriguez_83ab38e92b4</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ace_rodriguez_83ab38e92b4"/>
    <language>en</language>
    <item>
      <title>Stop Manually Deleting EBS Volumes: Building a Zero-Agent AWS FinOps Auditor in Python</title>
      <dc:creator>Ace Rodriguez</dc:creator>
      <pubDate>Wed, 11 Nov 2026 22:16:06 +0000</pubDate>
      <link>https://dev.to/ace_rodriguez_83ab38e92b4/stop-manually-deleting-ebs-volumes-building-a-zero-agent-aws-finops-auditor-in-python-k7k</link>
      <guid>https://dev.to/ace_rodriguez_83ab38e92b4/stop-manually-deleting-ebs-volumes-building-a-zero-agent-aws-finops-auditor-in-python-k7k</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Frbo087r4jh3eyvycpjyk.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Frbo087r4jh3eyvycpjyk.jpg" alt=" " width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&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 AWS Cost Explorer, hunting down unattached EBS volumes, idle EC2 instances, and unassociated Elastic IPs across multiple regions.&lt;/p&gt;

&lt;p&gt;AWS provides native tools like Cost Explorer and Trusted Advisor, but they often lack programmable, deeply customizable data manipulation. Manually tracking down orphaned resources in the AWS Console is slow, repetitive, and burns engineering hours that should be spent shipping features.&lt;/p&gt;

&lt;p&gt;To solve this, I built &lt;strong&gt;&lt;code&gt;aws-finops-auditor&lt;/code&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;It is a lightweight, CLI-driven tool that uses &lt;code&gt;boto3&lt;/code&gt; to inspect cloud resources and &lt;code&gt;pandas&lt;/code&gt; to normalize, analyze, and aggregate infrastructure waste into an actionable report. No console clicking—just a fast terminal command that identifies where you are leaking budget and maps findings to compliance frameworks.&lt;/p&gt;




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

&lt;p&gt;Most custom AWS cleanup scripts blind-fire &lt;code&gt;boto3&lt;/code&gt; API calls and execute immediate deletions. When dealing with production workloads, destructive actions require guardrails and dry-run reviews. &lt;/p&gt;

&lt;p&gt;Applying data analytics principles, &lt;code&gt;aws-finops-auditor&lt;/code&gt; treats cloud infrastructure as an inspectable data pipeline:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Vectorized Filtering:&lt;/strong&gt; Rather than writing nested loops over raw API dictionaries, the tool pulls AWS resource state into a structured Pandas DataFrame. This makes complex filtering—such as isolating EBS volumes in an &lt;code&gt;available&lt;/code&gt; state without active attachments—concise and robust.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deterministic Pricing Engine:&lt;/strong&gt; The auditor calculates exact monthly financial drag based on provisioned storage classes and regional compute rates.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Compliance Control Mapping:&lt;/strong&gt; Resources are mapped against control frameworks (SOC2 CC6.6, ISO27001 A.10.1.1) and exported to CSV with resource tagging intact.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automated, Safe Remediation:&lt;/strong&gt; Instead of executing deletions automatically, the &lt;code&gt;--remediate&lt;/code&gt; flag synthesizes a safe, idempotent bash script (&lt;code&gt;remediate_anomalies.sh&lt;/code&gt;) with strict &lt;code&gt;set -euo pipefail&lt;/code&gt; safety checks.
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Example generated purge script (remediate_anomalies.sh)&lt;/span&gt;
&lt;span class="nb"&gt;set&lt;/span&gt; -euo pipefail

&lt;span class="c"&gt;# --- Unattached EBS Volumes ---&lt;/span&gt;
&lt;span class="c"&gt;# Estimated Monthly Savings: $48.00&lt;/span&gt;
aws ec2 delete-volume --volume-id vol-0123456789abcdef0 --region us-east-1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  Try It Out
&lt;/h2&gt;

&lt;p&gt;The single-account core engine is available free and open-source:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;📦 &lt;strong&gt;&lt;a href="https://aisser.gumroad.com/l/vpcju" rel="noopener noreferrer"&gt;Download Free Lite Package (Gumroad)&lt;/a&gt;&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;💻 &lt;strong&gt;&lt;a href="https://github.com/Ace-FinOps-Enterprise/aws-finops-auditor" rel="noopener noreferrer"&gt;GitHub Repository&lt;/a&gt;&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Need Multi-Account AWS Organization Support?
&lt;/h2&gt;

&lt;p&gt;For DevOps teams, consultants, and MSPs managing multiple AWS accounts, the commercial toolkit adds enterprise cross-account automation:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Practitioner License ($99):&lt;/strong&gt; Single-account CLI scanner, automated compliance CSV exports, and dynamic bash remediation generation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Consultancy &amp;amp; Agency Pack ($499):&lt;/strong&gt; Automated multi-account STS cross-account orchestration across an entire AWS Organization, automated CloudFormation StackSets, and branded executive PDF showback reports for clients and leadership.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;👉 &lt;strong&gt;&lt;a href="https://aisser.gumroad.com/l/krgac" rel="noopener noreferrer"&gt;Explore the AWS Cloud Cost Auditor Toolkit on Gumroad&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;




&lt;p&gt;What is the most stubborn source of orphaned spend in your AWS environments? Let me know in the comments below!&lt;/p&gt;

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