Skip to content
dbexplore

FinOps · Amazon RDS

RDS cost optimization: the standby, the IOPS and the support clock.

RDS bills what you chose, not what you used: an instance class, a standby, provisioned IOPS and storage that only grows. Each was a reasonable decision once. This is the FinOps view of the ones nobody has revisited.

The sentences an RDS invoice produces

The standby costs what the primary costs and serves no reads. Those IOPS were set years ago. An old major version just picked up a surcharge. Nobody reads from that replica. People say these about RDS because the invoice is a list of decisions, each made by someone for a reason that has since changed, and none of them falls by itself. An RDS estate does not grow wasteful so much as stay the size it was.

This page is the RDS chapter of Postgres FinOps. It starts from how RDS meters a month, then takes the leaks that are particular to it. The operational side, covering CloudWatch, Performance Insights and parameter groups, is on the RDS solutions page, and the shared method is in the cost optimization overview.

What RDS meters, and what multiplies it

RDS is a provisioned service. You pick an instance class and pay for its hours, you pick a storage size and pay for the capacity, and on some volume types you pick an I/O rate and pay for it used or not. The bill moves when a person changes a setting, with one exception, which is the support calendar of the engine version.

What multiplies the bill is topology. A Multi-AZ deployment adds an instance whose only job is to wait. A read replica adds another, billed like any instance. Neither changes the storage you provisioned, and neither shows up as load on the primary, which is why they survive reviews that look only at the busy instance.

  • The primary instance

    Behaviour
    metered
    What it means for the bill
    Billed in instance hours for the class you chose, whatever load it carries. The class is a decision made once and does not follow demand.
  • Multi-AZ standby, instance deployment

    Behaviour
    multiplies
    What it means for the bill
    A synchronous standby in a second Availability Zone, kept for failover. AWS documents that it cannot serve read traffic, and bills Multi-AZ instance hours for the class.
  • Multi-AZ DB cluster

    Behaviour
    multiplies
    What it means for the bill
    A writer and two readers across three zones. The readers can serve reads, which a standby cannot, and the deployment is limited to certain instance classes.
  • Read replicas

    Behaviour
    multiplies
    What it means for the bill
    Each is billed as a standard instance at the rate of its class. RDS does not add or remove replicas as demand changes, so one stays until somebody deletes it.
  • Allocated storage

    Behaviour
    metered
    What it means for the bill
    Charged on the capacity you provision rather than the data you hold. It can be increased in place and cannot be reduced.
  • IOPS and throughput

    Behaviour
    flat
    What it means for the bill
    On Provisioned IOPS storage you pay for what you provision whether or not you use it. On gp3 a baseline comes with the volume and only performance provisioned above it is charged.
  • Extended Support

    Behaviour
    multiplies
    What it means for the bill
    A per-vCPU, per-hour charge for a major version past the RDS end of standard support. It applies to the standby and to replicas as well, and stops when you upgrade or delete.

The topology cost stack

A standby in a Multi-AZ instance deployment is a promise, not a worker. It replicates synchronously, takes over on failure and otherwise does nothing a client can use. If the database also needs read capacity, the usual move is a replica, and now two instances exist to cover what one instance with readable standbys could. A Multi-AZ DB cluster is the other shape: a writer and two readers, in which the standbys serve reads. It is not cheaper by default, and it is only available on certain instance classes, but it turns the standby from an idle cost into capacity.

The tiles below put a figure on the question to ask: a cost that serves nothing.

Topology cost

illustrative basisyour rate

One production database in a Multi-AZ instance deployment with a read replica. The standby costs about what the primary does and serves none of the reads, and nothing reads from the replica either.

Modeled cost of the standby

about $6k a month

your rate

Reads the standby serves

none

Modeled cost of the replica nobody reads from

about $3k a month

your rate

Provisioned IOPS against used

IOPS are the most inherited number in an RDS estate. Someone hit a latency spike, bought headroom and moved on. On Provisioned IOPS storage you pay for what you provision whether or not you use it, and on gp3 you pay for what you provision above a baseline that comes with the volume. Either way the charge is a flat one that does not shrink in a quiet month.

When what the workload actually uses sits well inside even the baseline, the extra is paying for a spike that stopped happening. RDS allows IOPS and throughput to be lowered, which makes this one of the cheapest changes available.

The support clock

Every PostgreSQL major version on RDS has an end-of-standard-support date, listed in the RDS release calendar. Past it, a database that is still enrolled is billed for Extended Support, per vCPU per hour, and enrollment is automatic unless it was switched off when the database was created. The charge falls on the standby and on every replica as well as on the primary, so each instance in the topology carries it. It lasts for up to three years, after which RDS upgrades the major version for you.

What the product adds is the date, priced. The surcharge is shown for each member of a topology, so the upgrade date becomes a cost with a number on it.

Five problems, in the words people use for them

These are the sentences from the review. Each card links to the page where that part of the platform is covered in depth.

What the product shows: The standby, replica, IOPS and support charges, each priced and tied back to the setting that drives it.

Where the rest of the method lives

An RDS estate usually has a neighbour. If you also run Aurora, its billing model puts the leak in a different place, and the Aurora page covers it. The steps are the same everywhere: attribute the dollars, queue and gate the fixes, and put each number in front of its owner, all resting on the basis written beside every figure. For what each kind of platform meters in the first place, read how Postgres cost works on a fleet.

Questions about RDS cost

Does the Multi-AZ standby ever serve reads on RDS for PostgreSQL?

In a Multi-AZ DB instance deployment, no. AWS documents that the standby is for failover and cannot serve read traffic, and points to a read replica or a Multi-AZ DB cluster for reads. A Multi-AZ DB cluster has two readable standbys, on the instance classes it supports. The platform prices whichever deployment you run as the instances it contains and shows what each one serves.

Does RDS Extended Support apply to the standby and to replicas?

Yes. AWS documents that Extended Support charges apply to standby instances in Multi-AZ deployments, and to read replicas, at a per-vCPU, per-hour rate. The charge stops when you upgrade to a version under standard support or delete the database. Turning enrollment off for a database already past its date does not avoid it: RDS upgrades the database to the next supported major version instead.

Can I lower provisioned IOPS or storage on RDS?

IOPS and throughput, yes, on storage types that provision them. Allocated storage, no. AWS documents that you can increase it and cannot deallocate space, so getting smaller means a new instance and a migration. The platform treats the two differently, with a projected amount for lowered IOPS and a warning on any storage increase that the cause of growth has not been found.

How can the platform tell that a replica is idle?

It reads each replica’s own activity, so a replica nothing uses is told apart from one doing real work. The finding carries a projected (modeled) amount with the replica’s cost beside it. Nothing is deleted until a person approves it.

Is the baseline performance on gp3 free?

A gp3 volume comes with a baseline of IOPS and throughput, and AWS documents that you pay only for performance provisioned above it. The baseline is larger from a certain volume size, so an old setting can sit entirely inside what the volume already includes. The platform sets what is provisioned beside what the workload actually uses and prices the gap.

Price the standby, the replicas and the IOPS you inherited.

A pilot starts read-only. You see the topology priced as the instances it contains, the gap between provisioned and used IOPS, and the support clock, all modeled and labelled, with nothing changed until you approve it.