<?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: CloudBudgie</title>
    <description>The latest articles on DEV Community by CloudBudgie (@cloudbudgie).</description>
    <link>https://dev.to/cloudbudgie</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%2F4205277%2Fa3ea9ac2-24b9-4713-a176-8af021509f8f.png</url>
      <title>DEV Community: CloudBudgie</title>
      <link>https://dev.to/cloudbudgie</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/cloudbudgie"/>
    <language>en</language>
    <item>
      <title>The AWS Costs Hiding in Plain Sight</title>
      <dc:creator>CloudBudgie</dc:creator>
      <pubDate>Tue, 24 Nov 2026 15:00:00 +0000</pubDate>
      <link>https://dev.to/cloudbudgie/the-aws-costs-hiding-in-plain-sight-1f2o</link>
      <guid>https://dev.to/cloudbudgie/the-aws-costs-hiding-in-plain-sight-1f2o</guid>
      <description>&lt;p&gt;Your AWS bill is almost always right. It just isn't very helpful.&lt;/p&gt;

&lt;p&gt;It tells you what you used. It doesn't tell you what you still need. The test instance someone spun up for a quick experiment. The volume left behind when an old server was shut down. The staging environment nobody remembers owning. They're all on the bill, and none of them come labeled "waste."&lt;/p&gt;

&lt;p&gt;Here's the catch: something that &lt;em&gt;looks&lt;/em&gt; idle isn't automatically safe to delete. So grab your magnifying glass. Some of this waste is hiding in plain sight.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Your AWS bill can tell you what you used. It can't tell you what you no longer need.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  EC2 instances that are running but doing little
&lt;/h2&gt;

&lt;p&gt;We've all done it. You launch an instance to test something, move on to the next fire, and months later it's still running and still billing. Low activity is your first clue, especially in nonproduction accounts. But don't stop at average CPU.&lt;/p&gt;

&lt;p&gt;Before you touch it, check network traffic, memory (if you collect it), scheduled jobs, tags, Auto Scaling group membership, and who owns it. That "idle" box might be a bastion host, a warm standby, or a service that only wakes up for the jobs that really matter.&lt;/p&gt;

&lt;p&gt;My favorite first step: list the quiet instances, then ask each owner to call theirs &lt;strong&gt;required&lt;/strong&gt;, &lt;strong&gt;resizable&lt;/strong&gt;, &lt;strong&gt;schedulable&lt;/strong&gt;, or &lt;strong&gt;removable&lt;/strong&gt;. Each answer leads to a different change, and only one of them means delete.&lt;/p&gt;

&lt;h2&gt;
  
  
  EBS volumes nobody is using
&lt;/h2&gt;

&lt;p&gt;Terminating an instance doesn't mean its storage goes with it. Root volumes created at launch are deleted on termination by default. Volumes attached after launch keep &lt;code&gt;DeleteOnTermination&lt;/code&gt; set to false, so they survive. Detached volumes sit in the &lt;code&gt;available&lt;/code&gt; state, and EBS bills for provisioned storage whether anything is attached or not.&lt;/p&gt;

&lt;p&gt;Finding them takes one command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;aws ec2 describe-volumes \
  --filters &lt;span class="nv"&gt;Name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;status,Values=available \
  --query &lt;span class="s1"&gt;'Volumes[].{ID:VolumeId,GiB:Size,Type:VolumeType,Created:CreateTime}'&lt;/span&gt; \
  --output table
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Before you delete one, check its tags and creation date, find out whether the data has an owner, and decide whether you want a snapshot first. Snapshots are incremental and billed for the data they store. A snapshot usually costs less than keeping the volume, but it isn't a free archive.&lt;/p&gt;

&lt;p&gt;There's a second win hiding here: attached volumes provisioned far beyond what they use. Measure carefully, though. File-system usage inside the instance and the volume's provisioned size are two different numbers.&lt;/p&gt;

&lt;h2&gt;
  
  
  Load balancers serving almost nothing
&lt;/h2&gt;

&lt;p&gt;Load balancers have a way of outliving the apps they were built for. An Application Load Balancer is billed for every hour it runs, plus capacity units for the traffic it handles. Idle still costs money.&lt;/p&gt;

&lt;p&gt;Low request counts alone aren't a reason to remove one. Check listeners, target groups, registered and healthy targets, DNS records that point at it, and anything that only fires occasionally, like a monthly partner integration. Application, Network, and Classic Load Balancers report different metrics, so compare like with like.&lt;/p&gt;

&lt;p&gt;A "dead" load balancer behind a forgotten DNS record can still matter to somebody. Treat removing it like any other infrastructure change: get it reviewed.&lt;/p&gt;

&lt;h2&gt;
  
  
  NAT gateways and quiet networking costs
&lt;/h2&gt;

&lt;p&gt;NAT gateways are easy to miss because they're plumbing, not application servers. AWS charges for every hour a NAT gateway is available and for every gigabyte it processes. Traffic that crosses Availability Zones on its way to the gateway can add data transfer charges on top.&lt;/p&gt;

&lt;p&gt;Look at your route tables and outbound traffic before deciding a gateway is unnecessary. If a lot of that traffic goes to Amazon S3 or DynamoDB, a gateway VPC endpoint carries no additional charge and keeps it off the NAT gateway. Interface endpoints for other services have their own hourly and per-GB charges, so do the math before swapping one cost for another.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Caution:&lt;/strong&gt; Don't delete a NAT gateway because an application has little &lt;em&gt;inbound&lt;/em&gt; traffic. Private subnets use NAT for &lt;em&gt;outbound&lt;/em&gt; calls like package downloads, third-party APIs, and AWS service endpoints, and those dependencies are easy to miss.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  The long tail of cloud waste
&lt;/h2&gt;

&lt;p&gt;Then there's the stuff that's small on its own and adds up together:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Public IPv4 addresses.&lt;/strong&gt; AWS charges for public IPv4 addresses, including Elastic IPs that are allocated but not associated with anything.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;S3 versions and uploads.&lt;/strong&gt; Every stored version of an object is billed, and parts from incomplete multipart uploads keep using storage until the upload is completed or aborted. A lifecycle rule can clean up both.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Snapshots and images.&lt;/strong&gt; Old EBS snapshots and container images in Amazon ECR pile up quietly without retention or lifecycle policies.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Logs.&lt;/strong&gt; CloudWatch Logs keeps log data forever unless you set a retention period on the log group.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Two quick checks you can run today:&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;# Elastic IPs that are not associated with anything&lt;/span&gt;
aws ec2 describe-addresses \
  --query &lt;span class="s1"&gt;'Addresses[?AssociationId==null].[PublicIp,AllocationId]'&lt;/span&gt; \
  --output table

&lt;span class="c"&gt;# Log groups with no retention period (kept forever)&lt;/span&gt;
aws logs describe-log-groups \
  --query &lt;span class="s1"&gt;'logGroups[?retentionInDays==null].logGroupName'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Every category needs its own definition of &lt;em&gt;unused&lt;/em&gt;. A backup kept for compliance isn't waste. A rarely accessed object might be valuable. An old image might be your rollback plan. The goal isn't to delete as much as possible. It's to find the costs that no longer have a purpose, and make good calls about them.&lt;/p&gt;

&lt;h2&gt;
  
  
  From finding waste to fixing it
&lt;/h2&gt;

&lt;p&gt;Finding waste is the easy part. Fixing it safely is where the real work is. A good recommendation answers five questions:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;What evidence supports it?&lt;/strong&gt; Metrics, inventory, configuration, and the time window they cover.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Who owns the resource?&lt;/strong&gt; Somebody needs to confirm what it's for.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;What changes?&lt;/strong&gt; The proposed action and its likely cost impact.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;What could break?&lt;/strong&gt; Dependencies, availability, security, and recovery.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;How is it reviewed and reversed?&lt;/strong&gt; A safe change process beats a dramatic savings estimate every time.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Before deleting a resource
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;An owner confirmed it is no longer needed&lt;/li&gt;
&lt;li&gt;Nothing depends on it: DNS records, routes, integrations, or scheduled jobs&lt;/li&gt;
&lt;li&gt;Data that must be kept is backed up, and the backup has an owner too&lt;/li&gt;
&lt;li&gt;You know how to recreate or restore it if you were wrong&lt;/li&gt;
&lt;li&gt;The change is reviewed the same way as any other infrastructure change&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;Finding waste is a measurement problem. Fixing it is a change-management problem.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Keep it fixed
&lt;/h2&gt;

&lt;p&gt;A one-time cleanup feels great. Then next week someone launches a new test environment, and some of it gets forgotten too. Infrastructure changes every day, so cost reviews can't be a once-a-year project.&lt;/p&gt;

&lt;p&gt;That's what &lt;strong&gt;CloudBudgie&lt;/strong&gt; is built for. It finds idle and detached resources like unattached EBS volumes, idle load balancers, inactive NAT gateways, and unassociated Elastic IPs. It shows you the estimated savings and the evidence behind each one. Then you choose how to fix it: apply supported changes directly, or have BudgieBot open a Terraform or CloudFormation pull request for your team to review. You stay in control the whole way.&lt;/p&gt;

&lt;h2&gt;
  
  
  References
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-describing-volumes.html" rel="noopener noreferrer"&gt;Amazon EBS volume states&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/preserving-volumes-on-termination.html" rel="noopener noreferrer"&gt;Preserve data when an instance is terminated&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-snapshots.html" rel="noopener noreferrer"&gt;Amazon EBS snapshots&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://aws.amazon.com/elasticloadbalancing/pricing/" rel="noopener noreferrer"&gt;Elastic Load Balancing pricing&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-pricing.html" rel="noopener noreferrer"&gt;Pricing for NAT gateways&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.aws.amazon.com/vpc/latest/privatelink/gateway-endpoints.html" rel="noopener noreferrer"&gt;Gateway endpoints&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://aws.amazon.com/blogs/aws/new-aws-public-ipv4-address-charge-public-ip-insights/" rel="noopener noreferrer"&gt;AWS public IPv4 address charge&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpu-abort-incomplete-mpu-lifecycle-config.html" rel="noopener noreferrer"&gt;Aborting incomplete multipart uploads with a lifecycle configuration&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Working-with-log-groups-and-streams.html" rel="noopener noreferrer"&gt;Working with log groups and log streams&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Originally published at &lt;a href="https://cloudbudgie.com/blog/hidden-aws-costs" rel="noopener noreferrer"&gt;cloudbudgie.com/blog/hidden-aws-costs&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>aws</category>
      <category>devops</category>
      <category>infrastructure</category>
    </item>
    <item>
      <title>Why Low CPU Doesn’t Mean an EC2 Instance Is Oversized</title>
      <dc:creator>CloudBudgie</dc:creator>
      <pubDate>Tue, 17 Nov 2026 15:00:00 +0000</pubDate>
      <link>https://dev.to/cloudbudgie/why-low-cpu-doesnt-mean-an-ec2-instance-is-oversized-1ph2</link>
      <guid>https://dev.to/cloudbudgie/why-low-cpu-doesnt-mean-an-ec2-instance-is-oversized-1ph2</guid>
      <description>&lt;p&gt;An EC2 instance averages 8% CPU. Obviously oversized, right?&lt;/p&gt;

&lt;p&gt;Maybe. But shrink it on that number alone and a cheap optimization can turn into an expensive incident.&lt;/p&gt;

&lt;p&gt;Sizing an instance on CPU alone is like buying a shirt by measuring only the sleeves. Average CPU is a fine place to start. It just isn't the whole story. It says nothing about memory, network, or storage, and it hides the moments your workload actually works hard.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;A quiet CPU doesn't mean a quiet workload.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Averages hide the moments that matter
&lt;/h2&gt;

&lt;p&gt;An average squashes a whole day into one number. A server can idle for hours and still need every bit of its capacity for a nightly batch job, a deploy, or a traffic spike.&lt;/p&gt;

&lt;p&gt;So before you pick a smaller instance, look at the peaks: busy stretches, recurring jobs, and seasonal patterns. CloudWatch will give you percentiles like p95 and p99 alongside the average:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;aws cloudwatch get-metric-statistics \
  --namespace AWS/EC2 --metric-name CPUUtilization \
  --dimensions &lt;span class="nv"&gt;Name&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;InstanceId,Value=i-0123456789abcdef0 \
  --start-time 2026-10-01T00:00:00Z --end-time 2026-10-15T00:00:00Z \
  --period 3600 --extended-statistics p95 p99 \
  --query &lt;span class="s1"&gt;'Datapoints[].[Timestamp,ExtendedStatistics.p95,ExtendedStatistics.p99]'&lt;/span&gt; \
  --output text &lt;span class="o"&gt;|&lt;/span&gt; sort
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Look at more than a day, too. A business app might be dead quiet on weekends and slammed at month-end. Size for the busy times, because that's what the new instance has to handle, not the average.&lt;/p&gt;

&lt;h2&gt;
  
  
  Memory is often the real constraint
&lt;/h2&gt;

&lt;p&gt;Here's one that catches a lot of teams: the default EC2 metrics in CloudWatch don't include memory. The hypervisor can't see inside the guest operating system. To measure memory, you need the CloudWatch agent or another monitoring tool running on the instance.&lt;/p&gt;

&lt;p&gt;That creates a classic blind spot. CPU is low, memory is nearly full, and nobody can see it. Halve the instance size and you usually halve the memory too. Hello, swapping, garbage-collection pressure, and out-of-memory crashes.&lt;/p&gt;

&lt;p&gt;Check used and available memory, swap, and app-level signals like heap usage. Sometimes the right move isn't a smaller instance at all, it's a different family. A memory-optimized instance with fewer vCPUs can fit a low-CPU, high-memory workload better than a smaller general-purpose one.&lt;/p&gt;

&lt;h2&gt;
  
  
  Network and storage have limits too
&lt;/h2&gt;

&lt;p&gt;Every instance family and size comes with its own network bandwidth, packet rates, and EBS bandwidth and IOPS limits. Plenty of smaller sizes list bandwidth as "up to" a number. They can burst to it for a while, but they can't hold it.&lt;/p&gt;

&lt;p&gt;If your app spends its time waiting on a database, a disk, or a remote API, CPU stays low while the real bottleneck sits somewhere else. Shrink the instance and you can make that bottleneck worse.&lt;/p&gt;

&lt;p&gt;Compare your workload's peak throughput, I/O, and latency against the documented limits of the instance you're considering. And remember that EBS performance depends on both the volume and the instance. A fast volume can't help if the instance can't drive it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Burstable instances add another wrinkle
&lt;/h2&gt;

&lt;p&gt;Burstable instances like the T family earn CPU credits while they run below a baseline and spend them above it. A workload that looks quiet on average might be living on those bursts.&lt;/p&gt;

&lt;p&gt;Check the &lt;code&gt;CPUCreditBalance&lt;/code&gt; and &lt;code&gt;CPUCreditUsage&lt;/code&gt; metrics, and know which mode the instance runs in. In standard mode, an instance that runs out of credits gets held to its baseline. In unlimited mode it can keep bursting, but if average CPU stays above the baseline over a rolling 24-hour window, you pay for surplus credits. So a burstable instance that looks cheaper on paper can end up costing more, or running slower, under sustained load.&lt;/p&gt;

&lt;h2&gt;
  
  
  Architecture and compatibility are part of the price
&lt;/h2&gt;

&lt;p&gt;Moving to a newer generation or a Graviton (Arm-based) instance can be a great move. Just check compatibility first: operating system images, native dependencies, container images built for a single architecture, agents and drivers, and commercial software licensed per vCPU or tied to a processor type.&lt;/p&gt;

&lt;p&gt;The cheapest hourly price isn't automatically the cheapest decision. Engineering time, deployment risk, and performance all count.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The cheapest instance is the one that meets the workload's real requirements—not the one with the smallest price tag.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  A safer way to rightsize
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Baseline.&lt;/strong&gt; Record utilization, latency, error rates, throughput, and cost over a representative period, busy times included.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Shortlist.&lt;/strong&gt; Pick candidate types that meet your CPU, memory, network, storage, and architecture needs, not just the cheapest one.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Test.&lt;/strong&gt; Try the change somewhere lower-risk first, with realistic peak load.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ship it through review.&lt;/strong&gt; Make the change through your normal approval and deployment process, with a rollback plan ready.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Watch.&lt;/strong&gt; Keep an eye on the workload afterward. If your infrastructure lives in Terraform or CloudFormation, make the change there so your code and reality stay in sync.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Rightsizing evidence checklist
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;CPU peaks and percentiles over a representative period, not just the average&lt;/li&gt;
&lt;li&gt;Memory and swap, collected by the CloudWatch agent or another tool&lt;/li&gt;
&lt;li&gt;Network throughput and EBS I/O compared with the candidate type’s limits&lt;/li&gt;
&lt;li&gt;CPU credit balance and credit mode for burstable instances&lt;/li&gt;
&lt;li&gt;Architecture, image, and licensing compatibility for the candidate&lt;/li&gt;
&lt;li&gt;A tested rollback path and a plan to monitor after the change&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;An optimization only counts if the app still performs afterward.&lt;/p&gt;

&lt;h2&gt;
  
  
  What a good recommendation explains
&lt;/h2&gt;

&lt;p&gt;A rightsizing recommendation should show its work. What was measured, and what wasn't. The proposed instance type and the expected cost difference. The constraints that matter, and how to validate the change.&lt;/p&gt;

&lt;p&gt;That's a higher bar than "CPU is low, downsize now." But it's a lot more useful to the engineer who's on the hook for production.&lt;/p&gt;

&lt;p&gt;It's the bar I hold &lt;strong&gt;CloudBudgie&lt;/strong&gt; to. Its EC2 rightsizing recommendations show the utilization evidence behind each one, including memory when the instance reports it, along with a confidence level and the estimated monthly savings. Then you decide how to act: apply a supported change directly, or have BudgieBot open a Terraform or CloudFormation pull request for your team to review.&lt;/p&gt;

&lt;h2&gt;
  
  
  References
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/viewing_metrics_with_cloudwatch.html" rel="noopener noreferrer"&gt;List the available CloudWatch metrics for your instances&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Install-CloudWatch-Agent.html" rel="noopener noreferrer"&gt;Collect metrics with the CloudWatch agent&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html" rel="noopener noreferrer"&gt;CloudWatch statistics definitions (percentiles)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances-unlimited-mode-concepts.html" rel="noopener noreferrer"&gt;Burstable performance instances: unlimited mode concepts&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-performance.html" rel="noopener noreferrer"&gt;Amazon EBS volume performance&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-optimization.html" rel="noopener noreferrer"&gt;Amazon EBS-optimized instances&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-network-bandwidth.html" rel="noopener noreferrer"&gt;Amazon EC2 instance network bandwidth&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/aws/aws-graviton-getting-started" rel="noopener noreferrer"&gt;AWS Graviton technical guide&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Originally published at &lt;a href="https://cloudbudgie.com/blog/ec2-rightsizing-beyond-cpu" rel="noopener noreferrer"&gt;cloudbudgie.com/blog/ec2-rightsizing-beyond-cpu&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>aws</category>
      <category>finops</category>
      <category>devops</category>
      <category>cloud</category>
    </item>
    <item>
      <title>Finding AWS Waste Is Easy. Making the Fix Stick Is Harder.</title>
      <dc:creator>CloudBudgie</dc:creator>
      <pubDate>Mon, 09 Nov 2026 14:24:27 +0000</pubDate>
      <link>https://dev.to/cloudbudgie/finding-aws-waste-is-easy-making-the-fix-stick-is-harder-efg</link>
      <guid>https://dev.to/cloudbudgie/finding-aws-waste-is-easy-making-the-fix-stick-is-harder-efg</guid>
      <description>&lt;p&gt;You resized the instance in the AWS console. It was an &lt;code&gt;m6i.2xlarge&lt;/code&gt; running at a fraction of its capacity, and an &lt;code&gt;m6i.xlarge&lt;/code&gt; saves about $140 a month. Nice work.&lt;/p&gt;

&lt;p&gt;Three weeks later, a teammate ran &lt;code&gt;terraform apply&lt;/code&gt; to ship an unrelated change. The plan included one extra line, &lt;code&gt;instance_type = "m6i.xlarge" -&amp;gt; "m6i.2xlarge"&lt;/code&gt;, buried among everything else. Nobody caught it.&lt;/p&gt;

&lt;p&gt;The instance went back to its old size, and so did the bill.&lt;/p&gt;

&lt;p&gt;That's the quiet failure mode of cloud cost optimization. One reverted resize is easy to miss. Now imagine it at scale: dozens of fixes across accounts and repositories, each one waiting for the next deploy to undo it.&lt;/p&gt;

&lt;p&gt;Finding waste is easy. Fixing it in a way that lasts, at that scale, is the hard part.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;A fix that only exists in the console is a fix with an expiry date.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  The fix belongs where the infrastructure is defined
&lt;/h2&gt;

&lt;p&gt;If your infrastructure is managed with Terraform or CloudFormation, the code is the source of truth. A change made anywhere else is configuration drift: the running resource and the code that describes it disagree.&lt;/p&gt;

&lt;p&gt;With Terraform, the next apply settles that disagreement in the code's favor. With CloudFormation, the stack no longer describes what's actually running, and drift detection will flag it.&lt;/p&gt;

&lt;p&gt;Either way, the saving isn't really yours yet.&lt;/p&gt;

&lt;p&gt;The durable fix is to change the code. Update &lt;code&gt;instance_type&lt;/code&gt;, open a pull request, and let it go through the same review and deployment as any other infrastructure change. Once it's merged, the repository describes the smaller instance, and the next deploy keeps it instead of undoing it.&lt;/p&gt;

&lt;p&gt;CloudBudgie still offers direct remediation through AWS APIs for supported optimizations. That's the right tool when a resource isn't managed in code. But for anything Terraform or CloudFormation owns, a direct change is a temporary one.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why fixes don't make it into code
&lt;/h2&gt;

&lt;p&gt;Changing an instance type in Terraform is a one-line diff. Any engineer can write it in a minute, and an AI coding assistant can write it faster.&lt;/p&gt;

&lt;p&gt;But a cost review across a few AWS accounts doesn't produce one change. It produces dozens: oversized instances, log groups that keep data forever, S3 buckets collecting incomplete multipart uploads, ECR repositories with no lifecycle policy. They live in different repositories, owned by different teams.&lt;/p&gt;

&lt;p&gt;Every one of them needs the same steps. Find the resource in code. Make the change. Validate it. Open a pull request. Get it reviewed.&lt;/p&gt;

&lt;p&gt;None of that is hard. Together, it's a backlog nobody owns. So the savings sit in a dashboard, or someone takes the shortcut and clicks the fix in the console, and we're back where we started.&lt;/p&gt;

&lt;h2&gt;
  
  
  Meet BudgieBot
&lt;/h2&gt;

&lt;p&gt;BudgieBot is CloudBudgie's automated Infrastructure as Code remediation. It turns cost-saving recommendations into validated Terraform and CloudFormation pull requests, without anyone writing the change by hand.&lt;/p&gt;

&lt;p&gt;There are three ways to use it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;One click per recommendation.&lt;/strong&gt; Review a recommendation in CloudBudgie and choose to open a pull request. BudgieBot finds the resource in your connected GitHub repository, prepares the change, validates it, and opens the PR.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;One click for many.&lt;/strong&gt; Select up to 50 recommendations of the same kind and open pull requests for all of them at once. BudgieBot groups the changes by repository, so each team reviews one pull request for its share instead of one per resource.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No clicks for lower-risk changes.&lt;/strong&gt; For a short list of lower-risk optimizations, like releasing unused Elastic IPs, removing unattached EBS volumes, and setting CloudWatch log retention, you can set an automation policy instead. Recommendations above your savings threshold become pull requests on their own. Start in Preview Mode to see what it would do first.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Whichever you choose, the result is the same: a pull request in your repository, going through your team's normal review. BudgieBot doesn't merge it, and nothing is deployed just because BudgieBot suggested it.&lt;/p&gt;

&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%2Ffsvjc3x6vw018oqzyxi7.png" 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%2Ffsvjc3x6vw018oqzyxi7.png" alt="CloudBudgie EC2 rightsizing recommendation for application-server: m6i.2xlarge to m6i.xlarge, $140.16 estimated monthly savings, with Apply directly and Create IaC pull request options." width="800" height="592"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Illustrative example of a CloudBudgie EC2 rightsizing recommendation. For an instance managed in Terraform or CloudFormation, the IaC pull request keeps the change in code.&lt;/em&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  From recommendation to pull request
&lt;/h2&gt;

&lt;p&gt;Let's go back to the instance from the beginning. CloudBudgie sees it running on an &lt;code&gt;m6i.2xlarge&lt;/code&gt; and, based on its utilization history, recommends an &lt;code&gt;m6i.xlarge&lt;/code&gt;. At on-demand prices in us-east-1, that's about $140 a month.&lt;/p&gt;

&lt;p&gt;That recommendation is a starting point, not permission to resize a production server blindly. As we covered in &lt;a href="https://cloudbudgie.com/blog/ec2-rightsizing-beyond-cpu" rel="noopener noreferrer"&gt;EC2 rightsizing beyond CPU&lt;/a&gt;, low CPU doesn't necessarily mean an instance is oversized. Rightsizing deserves a human decision, so it's a one-click approval rather than an automatic one.&lt;/p&gt;
&lt;h3&gt;
  
  
  1. Approve the recommendation
&lt;/h3&gt;

&lt;p&gt;You review the evidence and the estimated savings in CloudBudgie, then choose to open a pull request instead of changing the instance directly. You don't need to know Terraform to do it.&lt;/p&gt;
&lt;h3&gt;
  
  
  2. BudgieBot prepares the change
&lt;/h3&gt;

&lt;p&gt;BudgieBot finds the resource's definition in the connected repository and prepares the change. For a straightforward configuration, the diff is exactly what you'd expect:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight diff"&gt;&lt;code&gt; resource "aws_instance" "application" {
   ami           = var.ami_id
&lt;span class="gd"&gt;-  instance_type = "m6i.2xlarge"&lt;/span&gt;
&lt;span class="gi"&gt;+  instance_type = "m6i.xlarge"&lt;/span&gt;

   tags = {
     Name = "application-server"
   }
 }
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Small, targeted, and easy to review.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Real configurations aren't always this simple. Instance types come from variables, shared modules, and &lt;code&gt;.tfvars&lt;/code&gt; files. When a change edits a value that other resources share, the pull request says so, so reviewers can see everything that moves with it.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  3. Validate it
&lt;/h3&gt;

&lt;p&gt;Before opening the pull request, BudgieBot checks the change.&lt;/p&gt;

&lt;p&gt;For Terraform, that means:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;terraform fmt&lt;/code&gt; on files that were already formatted, so the change matches the repository's style without reformatting files it didn't touch.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;terraform init -backend=false&lt;/code&gt; to initialize without connecting to the configured state backend.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;terraform validate&lt;/code&gt; to check that the configuration is valid.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For CloudFormation, it runs &lt;code&gt;cfn-lint&lt;/code&gt; on the templates the change touches.&lt;/p&gt;

&lt;p&gt;These checks matter, but they don't prove everything. Terraform validation doesn't tell you whether the smaller instance can handle Monday morning traffic, or that a deployment will succeed. Those calls still need engineering judgment.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Open the pull request
&lt;/h3&gt;

&lt;p&gt;Once the change passes its checks, BudgieBot opens a GitHub pull request with the diff, the estimated savings, and the validation results.&lt;/p&gt;

&lt;p&gt;From there, it's an ordinary infrastructure change: the same branch protections, code review, CI checks, and approval rules your team already uses. BudgieBot doesn't merge it or deploy it.&lt;/p&gt;

&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%2Fp6d0up94c015oor07bti.png" 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%2Fp6d0up94c015oor07bti.png" alt="A BudgieBot GitHub pull request rightsizing application-server, listing the savings, the Terraform validation that passed, and a one-line instance_type diff in main.tf." width="800" height="738"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Illustrative example of a BudgieBot pull request. The values and diff are examples, not output from a real repository.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The goal isn't to remove engineers from infrastructure decisions. It's to remove the repetitive work between a recommendation and a reviewable change, dozens of times over.&lt;/p&gt;

&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%2Ft146me8hjg1tdimqqc3n.png" 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%2Ft146me8hjg1tdimqqc3n.png" alt="Six-step workflow: CloudBudgie identifies savings, you or your policy approve the fix, BudgieBot prepares, validates, and opens the GitHub PR, and your team reviews and merges." width="799" height="353"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;BudgieBot automates the middle of the path. Approval happens in CloudBudgie, by you or by a policy you set. Reviewing, merging, and deploying stay with your team.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Small changes, clear boundaries
&lt;/h2&gt;

&lt;p&gt;Automation that opens pull requests on its own has to be easy to trust.&lt;/p&gt;

&lt;p&gt;A cost optimization pull request should be narrowly scoped. If the recommendation is to resize one EC2 instance, the change shouldn't quietly refactor networking, reorganize modules, or touch unrelated resources.&lt;/p&gt;

&lt;p&gt;BudgieBot's workflow keeps preparation, validation, and pull request creation separate, and every change is checked before anyone sees it. There are deliberate limits on what it can do, too. It isn't given unrestricted permission to change AWS infrastructure as part of the IaC workflow. It never merges its own pull requests. Automatic pull requests are limited to a short list of lower-risk optimizations. And not every CloudBudgie optimization supports IaC remediation.&lt;/p&gt;

&lt;p&gt;Those limits are intentional. Infrastructure automation is most useful when its actions are predictable, its scope is clear, and engineers can understand the result without reverse-engineering what an agent decided to do.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;A useful infrastructure automation doesn't need unlimited authority. It needs a well-defined job and a reviewable result.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Find it. Fix it. Keep it fixed.
&lt;/h2&gt;

&lt;p&gt;Cloud cost optimization has gotten very good at telling teams where they could save money. But dashboards don't reduce bills, and neither does a fix that quietly reverts.&lt;/p&gt;

&lt;p&gt;That's why we're building CloudBudgie around three connected steps:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Find it.&lt;/strong&gt; Identify AWS waste, with the evidence and estimated monthly savings behind each finding.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Fix it.&lt;/strong&gt; Apply supported optimizations directly, or have BudgieBot turn them into pull requests for your team to review.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keep it fixed.&lt;/strong&gt; Make the change in code, so the next deploy keeps it. Then use continuous protections and scheduling to help stop new waste from creeping back.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;BudgieBot is how the fix gets into code, at the scale your recommendations actually arrive.&lt;/p&gt;

&lt;p&gt;Finding $140 a month in savings is nice.&lt;/p&gt;

&lt;p&gt;Keeping it is better.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Originally published on the &lt;a href="https://cloudbudgie.com/blog/budgiebot-iac-remediation" rel="noopener noreferrer"&gt;CloudBudgie blog&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  References
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://docs.aws.amazon.com/compute-optimizer/latest/ug/view-ec2-recommendations.html" rel="noopener noreferrer"&gt;Viewing EC2 instance recommendations (AWS Compute Optimizer)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-resize.html" rel="noopener noreferrer"&gt;Change the instance type&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://developer.hashicorp.com/terraform/cli/commands/fmt" rel="noopener noreferrer"&gt;terraform fmt command reference&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://developer.hashicorp.com/terraform/cli/commands/init" rel="noopener noreferrer"&gt;terraform init command reference&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://developer.hashicorp.com/terraform/cli/commands/validate" rel="noopener noreferrer"&gt;terraform validate command reference&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/aws-cloudformation/cfn-lint" rel="noopener noreferrer"&gt;AWS CloudFormation Linter (cfn-lint)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://developer.hashicorp.com/terraform/tutorials/state/resource-drift" rel="noopener noreferrer"&gt;Manage resource drift&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html" rel="noopener noreferrer"&gt;Detect unmanaged configuration changes to stacks and resources with drift detection&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/about-protected-branches" rel="noopener noreferrer"&gt;About protected branches&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>aws</category>
      <category>finops</category>
      <category>devops</category>
      <category>cloud</category>
    </item>
    <item>
      <title>Your Dev Environment Doesn’t Need to Work Nights</title>
      <dc:creator>CloudBudgie</dc:creator>
      <pubDate>Tue, 03 Nov 2026 15:00:00 +0000</pubDate>
      <link>https://dev.to/cloudbudgie/your-dev-environment-doesnt-need-to-work-nights-1bbl</link>
      <guid>https://dev.to/cloudbudgie/your-dev-environment-doesnt-need-to-work-nights-1bbl</guid>
      <description>&lt;p&gt;It's 2 AM. Your dev environment is up and running. Nobody is using it.&lt;/p&gt;

&lt;p&gt;For a lot of teams, that's just the default. Spin it up, leave it on, move on to the next thing. It's convenient. But your dev and test environments don't need production-style, around-the-clock availability.&lt;/p&gt;

&lt;p&gt;Off-hours scheduling asks one simple question: &lt;strong&gt;when does this environment actually need to be running?&lt;/strong&gt; For most dev environments, the answer is easy: tuck them in at 6, wake them up at 9.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Development infrastructure shouldn't need an overnight shift.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Start with the working schedule
&lt;/h2&gt;

&lt;p&gt;Say your dev environment is used from 9 AM to 6 PM, Monday through Friday. That's 45 hours out of a 168-hour week. In this example, it sits outside its schedule for 123 hours, about 73% of the week.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Illustrative schedule: running 9 AM–6 PM on weekdays and stopped otherwise. Stopping compute doesn't stop every charge.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;To be clear, that is &lt;strong&gt;not&lt;/strong&gt; 73% off your AWS bill. It's the share of runtime you could remove from the resources you schedule. What you actually save depends on how each service bills while it's stopped, whether Reserved Instances or Savings Plans already cover that usage, how long things take to start, and everything else in the account that keeps running.&lt;/p&gt;

&lt;p&gt;The best place to start is anything with predictable hours: dev databases, internal test systems, and staging environments that are only used during the workday.&lt;/p&gt;

&lt;h2&gt;
  
  
  Find out what can safely stop
&lt;/h2&gt;

&lt;p&gt;Before you schedule anything, talk to the people who own and use the environment. Ask about:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;overnight CI pipelines and scheduled data jobs&lt;/li&gt;
&lt;li&gt;backups and maintenance windows&lt;/li&gt;
&lt;li&gt;teammates in other time zones&lt;/li&gt;
&lt;li&gt;on-call engineers who might need to debug at night&lt;/li&gt;
&lt;li&gt;integrations that assume a service is always reachable&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Then check what each resource can actually do. Not every AWS service has a stop button, and the ones that do behave differently:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;EC2 instances&lt;/strong&gt; stop compute billing while stopped, but attached EBS volumes keep billing, and so do Elastic IP addresses. An instance without an Elastic IP gets a new public IPv4 address when it starts again.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;RDS DB instances and Aurora clusters&lt;/strong&gt; can be stopped for up to seven days at a time. After that, AWS starts them automatically. Some setups, like read replicas, can't be stopped at all. Storage and backups keep billing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Redshift clusters&lt;/strong&gt; can be paused and resumed, and storage keeps billing while they're paused.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Auto Scaling groups&lt;/strong&gt; can be scaled to zero. That terminates the instances, so anything stored on them is gone when new ones launch.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;An off-hours schedule should be a deliberate decision, not a blind timer.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Caution:&lt;/strong&gt; A database that AWS restarts after seven days will run, and bill, until your next scheduled stop. Make sure your scheduler stops it again. Don't assume something you stopped once stays stopped.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Know what keeps costing money
&lt;/h2&gt;

&lt;p&gt;Stopping compute cuts compute charges for the hours it's off. It doesn't touch the cost of storage, snapshots, backups, Elastic IP addresses, load balancers, NAT gateways, or monitoring that stays in place.&lt;/p&gt;

&lt;p&gt;So treat any runtime estimate as an estimate for the resources you schedule, not a promise about your whole bill. Track the scheduled resources' compute charges separately from everything else, and you'll see exactly what the schedule changed.&lt;/p&gt;

&lt;h2&gt;
  
  
  Time zones and exceptions are part of the plan
&lt;/h2&gt;

&lt;p&gt;A simple schedule can trip up when your team spans time zones, or when daylight saving time shifts everyone's working hours.&lt;/p&gt;

&lt;p&gt;Pick one clearly defined time zone for each schedule. Plan for holidays, release nights, and the occasional late evening. Decide up front how someone starts an environment outside its window, and who can change the schedule.&lt;/p&gt;

&lt;p&gt;People also need to see what's going on. Owners should be able to tell why an environment is stopped, when it'll start again, and whether the last stop or start failed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Before enabling off-hours&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;[ ] Every scheduled resource has an owner who agreed to the schedule&lt;/li&gt;
&lt;li&gt;[ ] Overnight jobs, backups, and CI pipelines have been moved or accounted for&lt;/li&gt;
&lt;li&gt;[ ] The schedule uses one defined time zone and handles daylight saving time&lt;/li&gt;
&lt;li&gt;[ ] There is a known way to start an environment outside its window&lt;/li&gt;
&lt;li&gt;[ ] Stopping and restarting has been tested, including start-up time&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Start small and measure
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Pick one low-risk environment, and write down its current cost and how it's actually used.&lt;/li&gt;
&lt;li&gt;Confirm who owns it and what depends on it.&lt;/li&gt;
&lt;li&gt;Set a conservative schedule, tell the team, and test both stopping and starting.&lt;/li&gt;
&lt;li&gt;Watch for anything that breaks, and track the scheduled resources' charges against everything else.&lt;/li&gt;
&lt;li&gt;Adjust as usage changes, then roll it out to other nonproduction environments.&lt;/li&gt;
&lt;/ol&gt;

&lt;blockquote&gt;
&lt;p&gt;The safest cost optimization is the one your team can explain, schedule, and reverse.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Ways to do it
&lt;/h2&gt;

&lt;p&gt;You don't need a product to get started. AWS gives you a few building blocks:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Instance Scheduler on AWS&lt;/strong&gt;, an AWS solution that starts and stops EC2 and RDS resources on schedules you define.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Amazon EventBridge Scheduler&lt;/strong&gt;, which can call AWS APIs like &lt;code&gt;StopInstances&lt;/code&gt; and &lt;code&gt;StartInstances&lt;/code&gt; on a cron schedule.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scheduled actions&lt;/strong&gt; for Auto Scaling groups and Redshift clusters, built right into those services.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Whichever you pick, keep the schedule in one place, ideally next to the rest of your infrastructure code, so it gets reviewed and versioned like any other change.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where CloudBudgie fits
&lt;/h2&gt;

&lt;p&gt;CloudBudgie's &lt;strong&gt;Off-Hours Mode&lt;/strong&gt; stops or pauses supported resources outside working hours and starts them again automatically. Today that covers RDS DB instances, Aurora clusters, Redshift clusters, DocumentDB and Neptune clusters, and Auto Scaling groups, which scale to zero. You choose the resources and the hours. You see the estimated monthly savings before you confirm. If a scheduled stop or start fails, you see the error on the resource, and you can edit or remove a schedule any time.&lt;/p&gt;

&lt;p&gt;I'll be honest about what it doesn't do. Not every cloud service can be switched off. NAT gateways and many cache services have no stop operation, so saving money on them means deleting and recreating them. That's a different kind of change, and Off-Hours Mode doesn't do it.&lt;/p&gt;

&lt;p&gt;The idea is simple: match your infrastructure to when it's actually used, keep the schedule easy to understand, and keep your team in control.&lt;/p&gt;

&lt;h2&gt;
  
  
  References
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-lifecycle.html" rel="noopener noreferrer"&gt;Stop and start Amazon EC2 instances&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_StopInstance.html" rel="noopener noreferrer"&gt;Stopping an Amazon RDS DB instance temporarily&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-cluster-stop-start.html" rel="noopener noreferrer"&gt;Stopping and starting an Amazon Aurora DB cluster&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.aws.amazon.com/redshift/latest/mgmt/rs-mgmt-pause-resume-cluster.html" rel="noopener noreferrer"&gt;Pausing and resuming Amazon Redshift clusters&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scheduled-scaling.html" rel="noopener noreferrer"&gt;Scheduled scaling for Amazon EC2 Auto Scaling&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.aws.amazon.com/solutions/instance-scheduler-on-aws/" rel="noopener noreferrer"&gt;Instance Scheduler on AWS&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.aws.amazon.com/scheduler/latest/UserGuide/what-is-scheduler.html" rel="noopener noreferrer"&gt;Amazon EventBridge Scheduler&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://aws.amazon.com/blogs/aws/new-aws-public-ipv4-address-charge-public-ip-insights/" rel="noopener noreferrer"&gt;AWS public IPv4 address charge&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>aws</category>
      <category>devops</category>
      <category>finops</category>
      <category>cloud</category>
    </item>
    <item>
      <title>I built an AWS cost tool that fixes the waste, not just reports it</title>
      <dc:creator>CloudBudgie</dc:creator>
      <pubDate>Thu, 29 Oct 2026 14:00:00 +0000</pubDate>
      <link>https://dev.to/cloudbudgie/i-built-an-aws-cost-tool-that-fixes-the-waste-not-just-reports-it-4l27</link>
      <guid>https://dev.to/cloudbudgie/i-built-an-aws-cost-tool-that-fixes-the-waste-not-just-reports-it-4l27</guid>
      <description>&lt;p&gt;I’ve been working on a side project called &lt;strong&gt;CloudBudgie&lt;/strong&gt; on my own for a while now, and I’m getting close to launch.&lt;/p&gt;

&lt;p&gt;I built it because I needed something that didn’t seem to exist. The cost tools I tried were good at showing where my money went, but not as good at telling me what I could actually get rid of. What I really wanted was a tool that would spot the waste, tell me what the right replacement was, and then fix it at the source.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CloudBudgie&lt;/strong&gt; scans your AWS account for idle and oversized resources and identifies opportunities to reduce waste. Depending on the optimization, you can apply changes directly through AWS or our &lt;strong&gt;BudgieBot&lt;/strong&gt; opens a pull request in your repository with the proposed fix. You review and merge it like any other PR, keeping the change in your normal development workflow.&lt;/p&gt;

&lt;p&gt;A lot of waste also comes from running things around the clock that don’t need to be. &lt;strong&gt;Off-Hours Mode&lt;/strong&gt; lets you pick resources, like dev and test environments, and schedule them to shut down at night and on weekends.&lt;/p&gt;

&lt;p&gt;I'd love feedback from anyone who manages AWS accounts, whether for side projects or at work.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Please give CloudBudgie a try. It's free to get started.&lt;/strong&gt; And if you hit the free plan's limits, just reach out. I'm happy to give early users more room to explore.&lt;/p&gt;

&lt;p&gt;All I ask in return is honest feedback: what works, what's confusing, and what you wish it did.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://cloudbudgie.com" rel="noopener noreferrer"&gt;https://cloudbudgie.com&lt;/a&gt;&lt;/p&gt;

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