FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
How to audit your AWS account for waste in 5 minutes using Python
How-ToDevOps

How to audit your AWS account for waste in 5 minutes using Python

via Dev.to DevOpsVikas Tripathi1mo ago

Most AWS accounts have hundreds of dollars in monthly waste hiding in plain sight. The problem isn't that it's hard to find — it's that nobody automates the looking. Here's a 5-minute audit you can run right now. What You'll Need Python 3.x boto3 installed ( pip install boto3 ) Read-only AWS credentials Step 1: Create Read-Only IAM User Create a user with this policy: { "Version" : "2012-10-17" , "Statement" : [ { "Effect" : "Allow" , "Action" : [ "ec2:DescribeInstances" , "ec2:DescribeVolumes" , "ec2:DescribeAddresses" , "ec2:DescribeSnapshots" , "cloudwatch:GetMetricStatistics" , "sts:GetCallerIdentity" ], "Resource" : "*" } ] } Step 2: Find Unattached EBS Volumes These are the silent killers. Volumes that exist but aren't attached to anything — charging you every month. import boto3 def find_unattached_ebs ( region = ' us-east-1 ' ): ec2 = boto3 . client ( ' ec2 ' , region_name = region ) volumes = ec2 . describe_volumes ( Filters = [{ ' Name ' : ' status ' , ' Values ' : [ ' availa

Continue reading on Dev.to DevOps

Opens in a new tab

Read Full Article
23 views

Related Articles

References: The Alias You Didn’t Know You Needed
How-To

References: The Alias You Didn’t Know You Needed

Medium Programming • 15h ago

Pointers: The Concept Everyone Says Is Hard
How-To

Pointers: The Concept Everyone Says Is Hard

Medium Programming • 16h ago

Learning a Recurrent Visual Representation for Image Caption Generation
How-To

Learning a Recurrent Visual Representation for Image Caption Generation

Dev.to • 17h ago

How-To

# 5 JSON Mistakes Developers Make (And How to Fix Them Fast)

Medium Programming • 19h ago

10 subtle go mistakes that only show up in production
How-To

10 subtle go mistakes that only show up in production

Medium Programming • 19h ago

Discover More Articles