What idle EC2 and RDS dev machines cost

On-demand prices for common development and test machines in US East (N. Virginia), what each costs when it runs around the clock, and what switching it off outside working hours saves. Prices come straight from the AWS Price List API.

Prices and savings

Linux EC2 instances and RDS for PostgreSQL databases, Single-AZ, on demand, us-east-1. Saving shown for a machine needed 50 hours a week.

Prices and monthly savings for EC2 instances and RDS databases
MachinevCPUMemoryPer hour24/7 per monthSaving per monthCalculator
EC2 instances
t3.micro21 GiB$0.0104$8$5Estimate
t3.small22 GiB$0.0208$15$11Estimate
t3.medium24 GiB$0.0416$30$21Estimate
t3.large28 GiB$0.0832$61$43Estimate
t3.xlarge416 GiB$0.1664$121$85Estimate
t3.2xlarge832 GiB$0.3328$243$171Estimate
t4g.small22 GiB$0.0168$12$9Estimate
t4g.medium24 GiB$0.0336$25$17Estimate
t4g.large28 GiB$0.0672$49$34Estimate
t4g.xlarge416 GiB$0.1344$98$69Estimate
m7i.large28 GiB$0.1008$74$52Estimate
m7i.xlarge416 GiB$0.2016$147$103Estimate
m7i.2xlarge832 GiB$0.4032$294$207Estimate
m7g.large28 GiB$0.0816$60$42Estimate
m7g.xlarge416 GiB$0.1632$119$84Estimate
m7g.2xlarge832 GiB$0.3264$238$167Estimate
c7i.large24 GiB$0.0892$65$46Estimate
c7i.xlarge48 GiB$0.1785$130$92Estimate
r7i.large216 GiB$0.1323$97$68Estimate
r7i.xlarge432 GiB$0.2646$193$136Estimate
g5.xlarge (GPU)416 GiB$1.006$734$516Estimate
RDS databases (PostgreSQL)
db.t3.micro21 GiB$0.018$13$9Estimate
db.t3.small22 GiB$0.036$26$18Estimate
db.t3.medium24 GiB$0.072$53$37Estimate
db.t3.large28 GiB$0.145$106$74Estimate
db.t4g.micro21 GiB$0.016$12$8Estimate
db.t4g.small22 GiB$0.032$23$16Estimate
db.t4g.medium24 GiB$0.065$47$33Estimate
db.t4g.large28 GiB$0.129$94$66Estimate
db.m6i.large28 GiB$0.178$130$91Estimate
db.m7g.large28 GiB$0.168$123$86Estimate
db.m7g.xlarge416 GiB$0.337$246$173Estimate
db.r7g.large216 GiB$0.239$174$123Estimate
db.r7g.xlarge432 GiB$0.478$349$245Estimate

How these numbers are worked out

  • Prices: on-demand hourly rates from the AWS Price List API, retrieved 7 November 2026. EC2: Linux, shared tenancy, no pre-installed software, effective 1 November 2026. RDS: PostgreSQL, Single-AZ, effective 1 October 2026. AWS changes prices from time to time; the AWS pricing pages are the final word.
  • MySQL: the same as PostgreSQL except db.t3.micro $0.017, db.t3.small $0.034, db.t3.medium $0.068, db.t3.large $0.136, db.m6i.large $0.171 per hour.
  • A month is 730 hours, as AWS bills it. A machine needed 50 hours a week runs about 217 hours a month.
  • Saving is the hourly price times the hours it's off. It leaves out what you'd pay for any scheduler, including CostCapper.

Storage is still charged while it's off

Stopping a machine stops the instance-hour charge, not the disk. In us-east-1, a gp3 EBS volume is $0.08 per GB-month and RDS gp3 storage is $0.115 per GB-month, running or stopped. A dev box with a 50 GB disk keeps costing about $4 a month while it's off. Backups and snapshots beyond the free allowance are charged too.

RDS has one more catch: a stopped database starts itself again after seven days. See how to keep an RDS database stopped for more than 7 days.

What stands out

  • Small burstable instances save little. A t3.micro costs under $8 a month around the clock, so switching it off saves about $5. Free options or no scheduler at all may be the right call.
  • Databases and larger instances are where the money is. A db.r7g.large running all month costs about $174; off outside a 50-hour week, it costs about $52.
  • Graviton is cheaper before you schedule anything. A t4g.large is about 19% less per hour than a t3.large with the same vCPU and memory.