All posts
Cost Optimization

Dev and Test Environments Idle Overnight: How Small Teams Stop Paying for EC2 and RDS Nobody Uses

By

November 9, 2026

7 min read

A dev environment used 12 hours on weekdays sits idle 64% of the week. Scheduling it off saves most of its compute bill, but some charges keep running and RDS restarts itself after seven days. What to schedule, with which AWS tool, what still costs money when everything is stopped, and the settings that keep it from annoying the people who work late.

Cost Optimization
EC2
RDS
Dev Environments

Running only from 8:00 to 20:00 on weekdays is 60 hours out of 168. For anything billed by the hour, that is 64% off: a $300 a month dev database becomes about $107, and a $120 instance about $43. The savings are real, but so are the details that make teams turn the schedule off a month later.

What to schedule, and how

Resource

How to turn it off

Watch for

EC2 instances

EventBridge Scheduler calling StopInstances and StartInstances, or the Instance Scheduler on AWS solution for many accounts

Instance store data is lost on stop; a public IP changes unless it is an Elastic IP

Auto Scaling groups

Scheduled actions setting desired and minimum capacity to 0 at night

Health checks and lifecycle hooks still need to pass at morning scale-up

ECS services

Scheduled scaling to a desired count of 0

Load balancer health checks fail while at 0, which is expected; mute the alarms

RDS instances and Aurora clusters

StopDBInstance and StopDBCluster on a schedule

AWS starts a stopped database again after 7 days, so the schedule must stop it again

Aurora Serverless v2

Minimum capacity 0 with auto-pause

In our measurements the first query after a pause took 14 to 21 seconds

EKS node groups and Karpenter

Scale node groups to 0, or let Karpenter remove nodes when workloads scale to 0

The control plane is billed while the cluster exists

What keeps billing while everything is off

  • EBS volumes and snapshots, by the GB, whether the instance runs or not.

  • RDS and Aurora storage and backups.

  • NAT gateways: about $33 a month each before any traffic. A dev VPC with one per Availability Zone can cost more than the instances behind it.

  • Public IPv4 addresses, including Elastic IPs, at $0.005 an hour.

  • Load balancers, by the hour.

  • EKS control planes, at $0.10 an hour per cluster.

Making it stick

  1. Schedule by tag (for example Schedule=office-hours), so new resources opt in by being tagged, not by editing a list.

  2. Give people an easy way to keep something on: an opt-out tag, or a chat command that starts the environment for a few hours.

  3. Set the time zone in the schedule itself; EventBridge Scheduler accepts one per schedule.

  4. Stop databases after the instances that use them, and start them first.

  5. Report the savings monthly from Cost Explorer, by the same tag, so the schedule keeps its supporters.

Want your dev and test spend cut this month?

We'll go through what runs overnight across your accounts and set up the schedules with you. 30 minutes, free.

hoolco Monthly Review

Once a month: what changed in tech that month and what it means for you, from cloud and AI to security and the tools you build with. Every item links to its source. No sales pitch, unsubscribe in one click.

As of November 9, 2026. Provided as is, for general information, and accurate to the best of our knowledge on the date shown. Not legal, compliance, tax, financial or other professional advice. Prices, limits and vendor services change; check current vendor documentation before relying on anything here. Terms of use.