Menu

AWS FinOps Field Notes: Cutting EBS Storage Costs 20% with gp2-to-gp3 Audits in Python
📰

AWS FinOps Field Notes: Cutting EBS Storage Costs 20% with gp2-to-gp3 Audits in Python

DEV Community: aws·Ace7-coder·3 days ago
#FZiL12SO
#devtoaws#devto#dev#volumes#account
Reading 0:00
15s threshold

While auditing cloud infrastructure costs this week, recurring configuration gaps continue to quietly inflate monthly bills.

Field Insight: The Hidden Cost Trap

gp2 costs $0.10/GB-month versus gp3 at $0.08/GB-month—an exact 20% reduction on provisioned storage—and gp3 includes 3,000 baseline IOPS and 125 MB/s throughput free, eliminating gp2 's 3 IOPS/GB burst-bucket penalty. A 40 TB EBS fleet on gp2 costs $4,000/month ($48,000/year); moving to gp3 drops it to $3,200/month ($38,400/year), saving $9,600/year with zero downtime using the AWS Elastic Volumes API.

Automated Detection: Auditing Legacy gp2 Volumes with Boto3

import boto3

def audit_gp2_volumes ( region = 'us-east-1' ) : ec2 = boto3 . client ( 'ec2' , region_name = region ) volumes = ec2 . describe_volumes ( Filters = [ { 'Name' : 'volume-type' , 'Values' : [ 'gp2' ] } ] ) .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.