<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ayobami Adejumo on Medium]]></title>
        <description><![CDATA[Stories by Ayobami Adejumo on Medium]]></description>
        <link>https://medium.com/@aayostem?source=rss-f9e45943d11c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*qVgVHHWYBibOiBnsGeEJkg.png</url>
            <title>Stories by Ayobami Adejumo on Medium</title>
            <link>https://medium.com/@aayostem?source=rss-f9e45943d11c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 05:36:25 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@aayostem/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com" rel="hub"/>
        <item>
            <title><![CDATA[Your AWS bill is $47,000 a month. Here is exactly where $18,000 of it is going to waste — and the CLI commands that prove it]]></title>
            <link>https://medium.com/@aayostem/your-aws-bill-is-47-000-a-month-d3c34d763cf1?source=rss-f9e45943d11c------2</link>
            <guid isPermaLink="false">https://medium.com/p/d3c34d763cf1</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Ayobami Adejumo]]></dc:creator>
            <pubDate>Sun, 12 Apr 2026 15:41:26 GMT</pubDate>
            <atom:updated>2026-04-12T15:48:34.904Z</atom:updated>
            <content:encoded><![CDATA[<p>Your AWS bill is $47,000 a month. Here is exactly where $18,000 of it is going to waste — and the CLI commands that prove it.</p><p>The number that changes the conversation</p><p>Thirty-five-person Series B. Twelve months since their last infrastructure review. AWS bill: $47,342.17 last month.</p><p>After four hours of digging — running queries, tagging resources, analysing usage patterns — I found $18,240 of monthly waste. Forty percent of their bill. Money spent on infrastructure doing nothing useful for their customers.</p><pre>#The command that revealed the first $6,000<br>aws ce get-cost-and-usage \<br>  --time-period Start=2026-02-01,End=2026-03-01 \<br>  --granularity MONTHLY \<br>  --metrics &quot;UnblendedCost&quot; \<br>  --group-by Type=DIMENSION,Key=SERVICE \<br>  --filter &#39;{&quot;Dimensions&quot;: {&quot;Key&quot;: &quot;RECORD_TYPE&quot;, &quot;Values&quot;: [&quot;Refund&quot;, &quot;Credit&quot;, &quot;Fee&quot;, &quot;Tax&quot;, &quot;Support&quot;]}}&#39;</pre><p>Why did $18,000 go unnoticed for 18 months? Nobody&#39;s job was to watch it. The CTO watched the product roadmap. Engineers watched their services. The CFO watched the total bill but had no way to interrogate it. The bill grew 8% a month alongside revenue, which made the growth feel normal even when the infrastructure driving it was not.</p><p>Waste category 1 — gp2 EBS volumes never migrated to gp3</p><p>AWS introduced gp3 volumes in late 2020. They are 20% cheaper than gp2 at the same size with better baseline performance. Every company running on AWS before 2021 has gp2 volumes that were never migrated because the migration is opt-in.</p><pre># Find all gp2 volumes<br>aws ec2 describe-volumes \<br>  --filters Name=volume-type,Values=gp2 \<br>  --query &#39;Volumes[*].{ID:VolumeId,Size:Size,Age:CreateTime}&#39; \<br>  --output table</pre><pre># Migrate a volume (live, no downtime, 60 seconds)<br>aws ec2 modify-volume --volume-id vol-xxxx --volume-type gp3</pre><p>A company with 20 gp2 volumes averaging 200GB each spends approximately $460 per month more than they need to. Over a year that is $5,520 in waste from a 5-minute CLI task. The effort-to-saving ratio of this change is the highest of any FinOps intervention available.</p><p>Waste category 2 — NAT Gateway data processing charges</p><p>NAT Gateway charges $0.045 per GB of data processed. At a company running 50 EKS pods that each pull dependencies and container images regularly, NAT Gateway charges can reach $3,000 to $6,000 per month.</p><pre># Check current NAT Gateway spend<br>aws ce get-cost-and-usage \<br>  --time-period Start=2026-03-01,End=2026-04-01 \<br>  --granularity MONTHLY \<br>  --metrics &quot;UnblendedCost&quot; \<br>  --filter &#39;{&quot;Dimensions&quot;: {&quot;Key&quot;: &quot;USAGE_TYPE&quot;, &quot;Values&quot;: [&quot;NATGateway-Bytes&quot;]}}&#39;</pre><p>The solution: VPC endpoints. A Gateway Endpoint for S3 is free. Interface Endpoints for ECR cost approximately $7.30 per month per availability zone.</p><pre># VPC Gateway Endpoint for S3 (free)<br>resource &quot;aws_vpc_endpoint&quot; &quot;s3&quot; {<br>  vpc_id       = aws_vpc.main.id<br>  service_name = &quot;com.amazonaws.us-east-1.s3&quot;<br>  route_table_ids = [aws_route_table.private.id]<br>}</pre><p>At a company spending $3,000 per month on NAT Gateway charges for S3 and ECR traffic, the VPC endpoint pays for itself in the first week.</p><p>Waste category 3 — Rightsizing RDS and EC2 instances</p><p>A company provisions a db.r5.xlarge at launch expecting significant database load. Over 18 months, the database runs at 30% CPU and 25% memory utilisation. Nobody looks because the database is not causing problems.</p><pre># Find oversized instances using AWS Compute Optimizer<br>aws compute-optimizer get-ec2-instance-recommendations --region us-east-1 \<br>  --query &#39;instanceRecommendations[?finding==`OVER_PROVISIONED`].{Instance:instanceName,Current:currentInstanceType,Recommended:recommendationOptions[0].instanceType}&#39;</pre><pre># Check P99 CPU before downsizing (don&#39;t use average)<br>aws cloudwatch get-metric-statistics \<br>  --namespace AWS/RDS \<br>  --metric-name CPUUtilization \<br>  --dimensions Name=DBInstanceIdentifier,Value=your-database \<br>  --statistics &quot;p99&quot; \<br>  --period 3600 \<br>  --start-time $(date -d &quot;30 days ago&quot; --iso-8601=seconds) \<br>  --end-time $(date --iso-8601=seconds)<br></pre><p>If P99 CPU is below 40%, downsizing is safe. If above 60%, do not downsize. The db.r5.xlarge at $800/month becomes a db.r5.large at $400/month — $400 saved monthly with 10 minutes of analysis.</p><p>Waste category 4 — S3 storage without lifecycle policies</p><p>Application logs, database exports, build artefacts, and CloudTrail logs all go to S3 and stay there unless someone explicitly deletes them or sets a lifecycle policy. After two years, a startup can have hundreds of gigabytes of stale objects.</p><pre># List buckets and check storage class distribution<br>aws s3api list-objects-v2 --bucket your-bucket \<br>  --query &#39;Contents[].StorageClass&#39; --output text | tr &#39;\t&#39; &#39;\n&#39; | sort | uniq -c</pre><p>The lifecycle policy that reduces storage costs by 60-80%:</p><pre>{<br>  &quot;Rules&quot;: [{<br>    &quot;Id&quot;: &quot;Tier-to-IA-after-30-days&quot;,<br>    &quot;Status&quot;: &quot;Enabled&quot;,<br>    &quot;Transitions&quot;: [<br>      {&quot;Days&quot;: 30, &quot;StorageClass&quot;: &quot;STANDARD_IA&quot;},<br>      {&quot;Days&quot;: 90, &quot;StorageClass&quot;: &quot;GLACIER_INSTANT_RETRIEVAL&quot;}<br>    ]<br>  }]<br>}</pre><pre>aws s3api put-bucket-lifecycle-configuration \<br>  --bucket your-bucket \<br>  --lifecycle-configuration file://lifecycle.json</pre><p>Waste category 5 — Savings Plans bought before rightsizing</p><p>Buying Savings Plans before rightsizing locks in waste. If you commit to 100 EC2 vCPUs and then rightsize to 60 vCPUs, you are paying for compute you no longer use.</p><p>The correct order: rightsize first → eliminate waste → wait 30 days → buy Savings Plan at 70-80% of new baseline.</p><pre># Model Savings Plan coverage on optimised utilisation<br>aws savingsplans get-savings-plans-purchase-recommendation \<br>  --savings-plan-type ComputeSavingsPlans \<br>  --term-in-years ONE_YEAR \<br>  --payment-option NO_UPFRONT</pre><p>The before and after</p><p>14-day FinOps sprint results:</p><p>Waste category Monthly saving<br>gp2 → gp3 migration $460<br>VPC endpoints (NAT Gateway) $3,345<br>RDS rightsizing $400<br>S3 lifecycle policies $117<br>Idle EC2 instances $1,200<br>Total $5,522</p><p>The reason these savings exist is not because companies are being careless. It is because AWS&#39;s default behaviour is to provision at the rate the customer first chose and never reduce it. AWS has no incentive to tell you about gp2 to gp3 migration or recommend smaller instances.</p><p>The command to start your audit today:</p><pre>aws ce get-cost-and-usage \<br>  --time-period Start=$(date -d &quot;last month&quot; +%Y-%m-01),End=$(date +%Y-%m-01) \<br>  --granularity MONTHLY \<br>  --metrics &quot;UnblendedCost&quot; \<br>  --group-by Type=DIMENSION,Key=SERVICE \<br>  --output table</pre><p>If your monthly AWS bill is over $10,000 and you have not run a FinOps audit in the last 12 months, the commands in this article will find waste. The question is not whether it is there. The question is whether you have the cycles to find it and fix it.</p><p>I run a FinOps sprint. Link in bio.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d3c34d763cf1" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>