RDS cost optimization for startups: 7 fixes with real prices
Cut your Amazon RDS bill: Multi-AZ, instance size, storage type, backups, stopped databases and reserved instances, with us-east-1 prices and CLI commands.

Short answer: Most startup RDS bills are too high for five reasons: Multi-AZ on databases that do not need it, an instance class that is too big, Provisioned IOPS storage where gp3 would do, backups and old snapshots past the free allowance, and databases left running when nobody uses them. Fix them in that order. The first two change the compute line the most, because Multi-AZ doubles it and a smaller class cuts it.
This guide gives the prices and the commands for each fix. The prices are US East (N. Virginia) on-demand prices for RDS for PostgreSQL, read from the AWS pricing data in November 2026. I use 730 hours per month to turn hourly prices into monthly ones. MySQL and MariaDB have their own pricing pages, so check them for your engine. The commands come from the AWS CLI reference for RDS, and I checked every flag against it. If you are looking at the whole bill and not just the database, the quick wins guide covers the other services.
What RDS actually bills you for
An RDS bill has four lines, and each one is a separate fix:
- Instance hours. The instance class, billed per hour, doubled when Multi-AZ is on.
- Storage. Per GB-month, doubled for Multi-AZ, plus extra for Provisioned IOPS.
- Backup storage. Free up to 100 percent of your provisioned storage in the Region, then charged per GB-month.
- Extras. Public IPv4 addresses, data transfer, burstable CPU credits and, for old engine versions, Extended Support.
Here are the instance prices you will meet most often at a startup:
| Instance class | vCPU / memory | Single-AZ per hour | Single-AZ per month | Multi-AZ per hour | Multi-AZ per month |
|---|---|---|---|---|---|
| db.t4g.micro | 2 / 1 GiB | $0.016 | $11.68 | $0.032 | $23.36 |
| db.t4g.small | 2 / 2 GiB | $0.032 | $23.36 | $0.065 | $47.45 |
| db.t4g.medium | 2 / 4 GiB | $0.065 | $47.45 | $0.129 | $94.17 |
| db.t4g.large | 2 / 8 GiB | $0.129 | $94.17 | $0.258 | $188.34 |
| db.m6g.large | 2 / 8 GiB | $0.159 | $116.07 | $0.318 | $232.14 |
| db.m7g.large | 2 / 8 GiB | $0.168 | $122.64 | $0.337 | $246.01 |
| db.m5.large | 2 / 8 GiB | $0.178 | $129.94 | $0.356 | $259.88 |
| db.r7g.large | 2 / 16 GiB | $0.239 | $174.47 | $0.478 | $348.94 |
Source: the Amazon RDS for PostgreSQL pricing page, us-east-1, On-Demand. Monthly figures are the hourly price times 730 hours. Prices differ by Region and engine, so confirm yours before you commit to anything.
Fix 1: Turn off Multi-AZ where you do not need it
Multi-AZ keeps a standby copy in a second Availability Zone and fails over to it. It is the right setting for a production database that customers depend on. It is the wrong setting for a dev database, a staging database or a database that only runs a nightly report, because you pay double for a standby nobody will ever fail over to.
Look at the table above: a db.t4g.medium costs $47.45 a month single-AZ and $94.17 Multi-AZ. Storage doubles too. A 100 GB gp3 volume costs $11.50 a month single-AZ and $23.00 Multi-AZ. So a dev database that is Multi-AZ by accident wastes about $58 a month at this size (the $47.45 extra for the instance plus $11.50 extra for storage).
List every instance with its size, storage and Multi-AZ setting:
aws rds describe-db-instances \
--query 'DBInstances[].[DBInstanceIdentifier,DBInstanceClass,MultiAZ,StorageType,AllocatedStorage,Engine,EngineVersion]' \
--output table
Every row where MultiAZ is True should be a database you would be willing to fail over. Turn it off for the others:
aws rds modify-db-instance \
--db-instance-identifier my-staging-db \
--no-multi-az \
--apply-immediately
The CLI reference says changing this setting does not cause an outage, and that it is applied in the next maintenance window unless you pass --apply-immediately. For production, keep it on. If you want a second opinion on which databases really need it, that is part of the Free AWS Review.
Fix 2: Right-size the instance
Instance classes follow a pattern: within a family each size up roughly doubles the price. A database that sits at 10 percent CPU on a db.m6g.large ($116.07 a month) could usually run on a smaller class, and the saving repeats every month.
The decision should come from your own numbers, not a guess. AWS does not publish a rule for when an RDS instance is too big, so use your own baseline. The RDS best practices page says to capture a baseline over an hour, a day, a week and two weeks, so look at two weeks at least, and longer if you have a month-end peak. Pull the maximum CPU and the lowest free memory for the last 14 days:
aws cloudwatch get-metric-statistics \
--namespace AWS/RDS \
--metric-name CPUUtilization \
--dimensions Name=DBInstanceIdentifier,Value=my-prod-db \
--start-time "$(date -u -d '14 days ago' +%Y-%m-%dT%H:%M:%SZ)" \
--end-time "$(date -u +%Y-%m-%dT%H:%M:%SZ)" \
--period 3600 \
--statistics Maximum Average
Run it again with --metric-name FreeableMemory (bytes of available RAM) and --metric-name DatabaseConnections. The date -d form is GNU date, so on macOS use date -u -v-14d. The 3,600-second period is a multiple of 60, which the CLI reference requires, and it keeps the output to 336 data points.
Read the result like this:
- If maximum CPU stays under about 30 percent and free memory never gets close to zero, the instance is a candidate for one size down.
- If free memory is low, do not shrink it. Databases use spare memory as cache, so a high memory use alone does not mean the instance is oversized. Check
ReadIOPStoo: AWS says it should be small and stable when memory is enough. - If CPU is high only for a short nightly job, look at moving the job before you size for it.
One more thing about the burstable T4g family. It runs in Unlimited mode, and surplus CPU credits are charged at $0.075 per vCPU-hour, according to the RDS pricing page. In the worst case, a db.t4g.medium running flat out above its baseline would cost $0.065 plus $0.15 an hour for its two vCPUs, which is $0.215, more than a db.m7g.large at $0.168. If your CPU graph is flat and high all day, a burstable instance is the wrong tool. If it is quiet most of the day, it is the cheapest option in the table.
To change the size:
aws rds modify-db-instance \
--db-instance-identifier my-staging-db \
--db-instance-class db.t4g.medium \
--apply-immediately
The CLI reference is blunt about the cost of this: if you modify the instance class, an outage occurs during the change, and it is applied in the next maintenance window unless you add --apply-immediately. So do it in a quiet window, take a snapshot first, and test the new size on a restored copy if the database matters. Do one size step at a time, and check CloudWatch again after a week.
Fix 3: Move off Provisioned IOPS (io1) and check your storage type
Storage is the second-biggest line, and Provisioned IOPS is where the money hides. These are the us-east-1 rates for RDS for PostgreSQL:
| Storage type | Single-AZ | Multi-AZ |
|---|---|---|
| General Purpose gp2 and gp3 | $0.115 per GB-month | $0.23 per GB-month |
| gp3 extra IOPS above the baseline | $0.02 per IOPS-month | $0.04 per IOPS-month |
| Provisioned IOPS (io1) storage | $0.125 per GB-month | $0.25 per GB-month |
| Provisioned IOPS (io1) IOPS | $0.10 per IOPS-month | $0.20 per IOPS-month |
| Backup storage beyond the free amount | $0.095 per GB-month |
Source: the same RDS for PostgreSQL pricing page.
Two things stand out. First, gp2 and gp3 cost the same per gigabyte on RDS. That is different from EBS on EC2, where gp3 is cheaper than gp2, and the gp2 to gp3 guide covers that case. On RDS the benefit of gp3 is that you set capacity and performance separately. Second, io1 is far more expensive. Here is a worked example for a 500 GB single-AZ database with 3,000 IOPS provisioned:
- io1: 500 GB × $0.125 = $62.50, plus 3,000 IOPS × $0.10 = $300.00. Total $362.50 a month.
- gp3: 500 GB × $0.115 = $57.50 a month.
The gp3 number is not missing anything. The RDS storage documentation says gp3 volumes of 400 GiB and above for MySQL and PostgreSQL get a baseline of 12,000 IOPS and 500 MiB/s, and smaller volumes get 3,000 IOPS and 125 MiB/s. So for this database, gp3 includes four times the IOPS for $305 a month less. Check your own IOPS needs with the ReadIOPS and WriteIOPS metrics before you switch. Many small databases stay well under that, but your own metrics decide.
To switch, the CLI reference says that when you set --storage-type gp3 you must also give an IOPS value:
aws rds modify-db-instance \
--db-instance-identifier my-prod-db \
--storage-type gp3 \
--iops 12000 \
--apply-immediately
Plan for this one. The RDS docs say a storage type migration can take time, the instance stays available but may slow down, nightly backups are suspended during the migration and no other operations, including a modify or reboot, can run on the instance until it finishes. You can also make at most four storage modifications in 24 hours. Do it outside peak hours and after a snapshot.
Fix 4: Trim backups and delete old snapshots
AWS gives you free backup storage equal to 100 percent of your total provisioned database storage in each Region. If you have 300 GB of databases in a Region, the first 300 GB of backups costs nothing. After that, it is $0.095 per GB-month.
The usual overage comes from two places. The first is long retention: automated backups can be kept for 0 to 35 days, and each extra day of retention adds changed data to the total. The second is manual snapshots that outlive the thing they were taken from. They count towards the same free allowance, and AWS limits you to 100 manual snapshots per Region.
Here is an example with made-up numbers to show the calculation. You have 100 GB of provisioned storage and 250 GB of backups and snapshots in total. The free amount is 100 GB, so 150 GB is billable: 150 × $0.095 = $14.25 a month. That is small for one database and adds up across many.
List your manual snapshots, oldest first:
aws rds describe-db-snapshots \
--snapshot-type manual \
--query 'sort_by(DBSnapshots,&SnapshotCreateTime)[].[DBSnapshotIdentifier,DBInstanceIdentifier,AllocatedStorage,SnapshotCreateTime]' \
--output table
Anything for a database that no longer exists is a candidate. Make sure it is not the only copy of data you need. Then delete it:
aws rds delete-db-snapshot --db-snapshot-identifier old-snapshot-name
For retention, ask what you would actually restore from. Seven days is enough for most startups, and you can change it with --backup-retention-period 7. The CLI reference warns that turning backups on or off can cause a brief I/O pause, but moving from one non-zero value to another is applied as soon as possible.
Fix 5: Stop databases nobody uses
A dev or test database that is only used in working hours does not need to run at night. You can stop an RDS instance for a maximum of 7 consecutive days, and while it is stopped you pay no instance hours.
The saving is large. A db.t4g.medium running all month costs 730 × $0.065 = $47.45. Running only 60 hours a week, which is about 260 hours a month, it costs 260 × $0.065 = $16.90. That is a 64 percent saving on the compute line.
aws rds stop-db-instance --db-instance-identifier my-dev-db
aws rds start-db-instance --db-instance-identifier my-dev-db
Know the limits before you build a schedule on this, because they come from the AWS stop documentation:
- RDS starts the instance again on its own after 7 consecutive days, so a “stopped for the month” database will come back.
- You still pay for provisioned storage, Provisioned IOPS, backup storage and manual snapshots while it is stopped. If the instance is publicly accessible, you also keep paying for its public IPv4 address.
- You cannot stop an instance that has a read replica or is a read replica, and you cannot modify a stopped instance.
- RDS for SQL Server cannot be stopped in a Multi-AZ deployment.
Stopping is for dev and test. Do not stop production to save money, and combine this fix with turning off Multi-AZ on the same databases.
Fix 6: Move to Graviton and check old engine versions
Graviton-based classes (the ones with a g in the name, such as m6g, m7g and t4g) cost less than the Intel equivalents. In the table above, a db.m6g.large is $0.159 an hour and a db.m5.large is $0.178 an hour. That is 10.7 percent less, or $13.87 a month per single-AZ instance. The Graviton migration guide covers the full process. For a database, the safe way to test it is to restore a snapshot to a new instance on the Graviton class, point a copy of the app at it and compare the metrics before you change production.
Old engine versions have their own cost. Once a major version passes the end of RDS standard support, AWS charges RDS Extended Support per vCPU-hour, on top of the instance price. According to the AWS announcement, RDS for MySQL 5.7 Extended Support pricing started on March 1, 2024 and ends on February 28, 2027, and RDS for PostgreSQL 11 started on April 1, 2024 and ends on March 31, 2027. The charge applies to Multi-AZ standbys, and Reserved Instance discounts do not apply to it.
For scale, the AWS cost management blog works through one example in US West (Oregon): a db.r5.large with 2 vCPUs at $0.100 per vCPU-hour in years 1 and 2 is $1,752 a year, and the year 3 price doubles to $0.200 per vCPU-hour. That is for one small instance, on top of what it already costs. The prices depend on the Region and the date, so check the engine pricing page for yours. If you still run an old major version, upgrading is cheaper than waiting. Our EKS Extended Support post explains the same pattern for Kubernetes.
Fix 7: Buy a Reserved DB instance last
When the database is the right size, in the right mode, and you know it will run for a year or more, commit to it. Savings Plans do not help here. The AWS Savings Plans documentation lists Amazon EC2, Fargate, Lambda and SageMaker AI as the services covered, and RDS is not one of them. For RDS you buy Reserved DB instances. AWS says you can save up to 69 percent over on-demand rates when a Reserved Instance is used in steady state, and the number depends on the instance class, term and payment option. The Savings Plans guide explains the EC2 and Fargate side of this.
What to know before you buy, from the RDS reserved instances documentation:
- Terms are one or three years. Payment options are No Upfront (one-year only), Partial Upfront and All Upfront.
- Reserved DB instances are size-flexible within an instance class family and engine for MySQL, MariaDB, PostgreSQL, Oracle BYOL and Db2. A reservation for a db.r6i.large can cover a db.r6i.xlarge, but not a db.r7g.large. Size flexibility does not apply to SQL Server or Oracle License Included.
- The benefit applies to both Multi-AZ and Single-AZ.
- You cannot cancel a reserved DB instance. You pay for the term whether you use it or not.
- Reserved prices do not cover storage or I/O, so fixes 3 and 4 still matter.
That last point on cancelling is why this is the last step. If you buy a reservation for a db.m5.large and then move to Graviton, you have paid for the wrong family. Right-size first, wait three to four weeks for usage to settle, then buy. To compare offerings for your class from the CLI:
aws rds describe-reserved-db-instances-offerings \
--db-instance-class db.m6g.large \
--product-description postgresql \
--duration 1 \
--offering-type "No Upfront"
RDS cost optimization checklist
- List every instance with
describe-db-instancesand write down its class, Multi-AZ setting and storage type. - Turn off Multi-AZ on dev and staging.
- Pull 14 days of CPU, memory and IOPS before you change a size, then resize one step at a time.
- Move io1 storage to gp3 if the IOPS numbers allow it.
- Cut backup retention to what you would really restore from, and delete manual snapshots for databases that are gone.
- Stop dev and test databases outside working hours, and remember the 7-day auto-restart.
- Try a Graviton class on a restored copy, and plan upgrades off old major versions.
- Buy Reserved DB instances only after the size has been stable for a few weeks.
What to do first
Spend the first hour on fixes 1 and 4: they need no downtime and no testing. Then do fix 3 for any io1 volume, because the gap between io1 and gp3 is the largest per-gigabyte difference in the tables above. Leave resizing and reservations for last, and always take a snapshot first.
If you would like a second pair of eyes on your RDS and the rest of your AWS bill, the AWS cost optimization service finds the waste and gives you a written list of changes, safest first. To start for free, request a Free AWS Review.
Prices are on-demand prices for RDS for PostgreSQL in us-east-1, read from the AWS pricing data in November 2026. Storage and backup rates are on the same page. Reserved Instance, stop and backup rules come from the RDS user guide, and the Extended Support dates come from the AWS News Blog and the AWS cost management blog.
Common questions
Why is my RDS bill so high?
Usually one of four things: Multi-AZ on databases that do not need it, an instance class bigger than the workload, Provisioned IOPS storage (io1) where gp3 would do, or backups and old manual snapshots that exceed the free allowance. Multi-AZ alone doubles the instance and the storage price. Check those four before anything else.
Can I stop an RDS instance to save money?
Yes, for a maximum of 7 consecutive days. After that RDS starts it again automatically. While it is stopped you do not pay instance hours, but you still pay for provisioned storage, backup storage and, if the instance is publicly accessible, the public IPv4 address. You cannot stop an instance that has a read replica or is a read replica.
Do Savings Plans cover RDS?
No. AWS lists Amazon EC2, Fargate, Lambda and SageMaker AI as the services Savings Plans cover, and RDS is not on that list. For RDS you buy Reserved DB instances, which are a one- or three-year commitment to an instance family and engine, and which you cannot cancel once bought.
Is gp3 cheaper than gp2 on RDS?
Not per gigabyte. In us-east-1 both are $0.115 per GB-month single-AZ and $0.23 Multi-AZ on the RDS for PostgreSQL pricing page. The benefit of gp3 is the baseline performance of 3,000 IOPS and 125 MiB/s that you configure independently of size, and the real saving is moving off Provisioned IOPS (io1).
How much free backup storage does RDS give me?
AWS provides free backup storage equal to 100 percent of your total provisioned database storage in each Region. Beyond that, backup storage is $0.095 per GB-month in us-east-1. Long retention periods and manual snapshots of databases that no longer exist are how most accounts go over.
Want this set up for your team?
I build this kind of infrastructure for startups and small teams, with fixed prices and full handover.
Want a second pair of eyes on your own bill? Order a paid AWS bill review on Fiverr.