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.
| Machine | vCPU | Memory | Per hour | 24/7 per month | Saving per month | Calculator |
|---|---|---|---|---|---|---|
| EC2 instances | ||||||
t3.micro | 2 | 1 GiB | $0.0104 | $8 | $5 | Estimate |
t3.small | 2 | 2 GiB | $0.0208 | $15 | $11 | Estimate |
t3.medium | 2 | 4 GiB | $0.0416 | $30 | $21 | Estimate |
t3.large | 2 | 8 GiB | $0.0832 | $61 | $43 | Estimate |
t3.xlarge | 4 | 16 GiB | $0.1664 | $121 | $85 | Estimate |
t3.2xlarge | 8 | 32 GiB | $0.3328 | $243 | $171 | Estimate |
t4g.small | 2 | 2 GiB | $0.0168 | $12 | $9 | Estimate |
t4g.medium | 2 | 4 GiB | $0.0336 | $25 | $17 | Estimate |
t4g.large | 2 | 8 GiB | $0.0672 | $49 | $34 | Estimate |
t4g.xlarge | 4 | 16 GiB | $0.1344 | $98 | $69 | Estimate |
m7i.large | 2 | 8 GiB | $0.1008 | $74 | $52 | Estimate |
m7i.xlarge | 4 | 16 GiB | $0.2016 | $147 | $103 | Estimate |
m7i.2xlarge | 8 | 32 GiB | $0.4032 | $294 | $207 | Estimate |
m7g.large | 2 | 8 GiB | $0.0816 | $60 | $42 | Estimate |
m7g.xlarge | 4 | 16 GiB | $0.1632 | $119 | $84 | Estimate |
m7g.2xlarge | 8 | 32 GiB | $0.3264 | $238 | $167 | Estimate |
c7i.large | 2 | 4 GiB | $0.0892 | $65 | $46 | Estimate |
c7i.xlarge | 4 | 8 GiB | $0.1785 | $130 | $92 | Estimate |
r7i.large | 2 | 16 GiB | $0.1323 | $97 | $68 | Estimate |
r7i.xlarge | 4 | 32 GiB | $0.2646 | $193 | $136 | Estimate |
g5.xlarge (GPU) | 4 | 16 GiB | $1.006 | $734 | $516 | Estimate |
| RDS databases (PostgreSQL) | ||||||
db.t3.micro | 2 | 1 GiB | $0.018 | $13 | $9 | Estimate |
db.t3.small | 2 | 2 GiB | $0.036 | $26 | $18 | Estimate |
db.t3.medium | 2 | 4 GiB | $0.072 | $53 | $37 | Estimate |
db.t3.large | 2 | 8 GiB | $0.145 | $106 | $74 | Estimate |
db.t4g.micro | 2 | 1 GiB | $0.016 | $12 | $8 | Estimate |
db.t4g.small | 2 | 2 GiB | $0.032 | $23 | $16 | Estimate |
db.t4g.medium | 2 | 4 GiB | $0.065 | $47 | $33 | Estimate |
db.t4g.large | 2 | 8 GiB | $0.129 | $94 | $66 | Estimate |
db.m6i.large | 2 | 8 GiB | $0.178 | $130 | $91 | Estimate |
db.m7g.large | 2 | 8 GiB | $0.168 | $123 | $86 | Estimate |
db.m7g.xlarge | 4 | 16 GiB | $0.337 | $246 | $173 | Estimate |
db.r7g.large | 2 | 16 GiB | $0.239 | $174 | $123 | Estimate |
db.r7g.xlarge | 4 | 32 GiB | $0.478 | $349 | $245 | Estimate |
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.