Use case

Move a 2 TB Amazon RDS for PostgreSQL database to a dedicated cluster in OSStend's cloud

Typical situation: a SaaS product on RDS for PostgreSQL 15 with a 2 TB database, a Multi-AZ primary and two read replicas, where the bill and the parameter menu have both become the problem. OSStend builds a dedicated cluster in our cloud, keeps RDS live while logical replication fills the new side, and cuts over in one change window. The single hard prerequisite sits on the RDS side: logical decoding needs the rds.logical_replication parameter set to 1, and the instance must be rebooted for it to apply. On AWS list prices, a db.r7g.2xlarge Multi-AZ primary with 2,048 GB of storage and 8,000 extra IOPS comes to $2,187.53 a month before replicas, which is the figure to put beside a designed cluster. This page is the situation guide. The full method is in the RDS migration guide, and the comparison is on Amazon RDS alternatives.

45 minutes with an engineer: we review your workload and sketch the design.

  • Move
  • RDS for PostgreSQL
  • Our cloud
Source
RDS for PostgreSQL 15, about 2 TB
Target
Dedicated primary plus 2 replicas, OSStend's cloud
Method
Logical replication, both sides live
Downtime
Zero is the plan; one short write pause at cutover
Typical timeline
3 to 6 weeks end to end

Typical situation

Trigger. RDS cost is driven by Multi-AZ storage, replicas and extra IOPS, and the team needs settings the parameter groups do not expose.

Versions. RDS for PostgreSQL 15 to a dedicated PostgreSQL 16 or 17 cluster, chosen in the design.

  • Zero downtime is the plan
  • Both sides live until cutover
  • Rollback to RDS stays open for a set period

A typical situation, not a named customer.

To move RDS for PostgreSQL to a dedicated cluster, OSStend sets rds.logical_replication to 1, reboots RDS once, copies the schema with pg_dump, subscribes the new cluster to a publication and cuts over when lag is zero. RDS stays live until the switch and stays available for rollback.

Customers

  • Microsoft logo
  • Henry Schein logo
  • Enbridge logo
  • Gojek logo

Partners

  • Broadcom logo
  • Redis logo
  • VMware Tanzu logo
  • OSSeva logo
160+Enterprise customers
10+Years running these systems
24/7Engineers on call
3Places it runs: our cloud, yours, your data center
Engines we run, on the platforms you already use
  • PostgreSQL
  • MySQL
  • MongoDB
  • Redis
  • Valkey
  • OpenSearch
  • Kafka
  • RabbitMQ
  • AWS
  • Google Cloud
  • Azure
  • Kubernetes
  • OpenShift
  • Prometheus
  • Grafana
  • Datadog
  • Dynatrace
  • Splunk
Compare

What OSStend runs and what you keep

OSStend designs, builds, moves and runs the cluster. You keep the application and the schema, and you decide the day the connection string changes.

AreaOSStendYou
Cluster designAn engineer writes the design: size, replica layout, versions, extensions and settings. You sign it off before anything is built.Approve the design and name the change windows.
Build and moveBuilds the target and owns the move, with both sides live until you switch.Point the application at the new endpoint on the agreed day.
Backups and recoveryBase backups, continuous WAL archiving and restore tests, with point-in-time recovery.Say how far back you must be able to recover.
FailoverDetects a dead primary and promotes a replica; checks the old primary before it rejoins.Use connection retry in the application.
Upgrades and patchingMinor releases and major upgrades on your change calendar.Set the freeze dates.
Monitoring and on callReplication lag, oldest transaction ID age, bloat, WAL archiving and disk, with engineers on call 24/7.Receive the alerts you want forwarded.
Application and schemaAdvice on queries and indexes found during the review.Your schema, your queries, your releases.
ContractOne contract, one on-call team, price quoted per design.Keep or close the RDS instance after the rollback window.

Where it can run

This page assumes OSStend's cloud, a dedicated cluster for your workload. PostgreSQL's licence allows every placement, so the choice is about network, billing and control, not licensing.

OptionWhen it fitsLicence and source
Our cloudYou want the lowest operational load and a dedicated cluster you do not host.PostgreSQL License, a permissive licence similar to BSD or MIT (PostgreSQL project, checked 23 Nov 2026). It places no limit on where a managed service runs.
Your cloud accountData must stay in your AWS, Azure or Google Cloud account; see BYOC.PostgreSQL License, a permissive licence similar to BSD or MIT (PostgreSQL project, checked 23 Nov 2026). It places no limit on where a managed service runs.
Your data centerThe workload leaves the cloud; co-managed on your hardware.PostgreSQL License, a permissive licence similar to BSD or MIT (PostgreSQL project, checked 23 Nov 2026). It places no limit on where a managed service runs.
How it works

How the move works

RDS keeps serving while the new cluster is built and loaded. The application moves only after lag is zero and the checks pass, and RDS stays available for rollback.

  1. Review (1 to 3 days)

    Database size, change rate, extensions, tables without primary keys, large objects and the RDS parameter group are listed.

  2. Design and sign-off (3 to 7 days)

    Version, replica layout, extensions and settings are written down. You sign before anything is built.

  3. Build and subscribe (1 to 3 weeks)

    Logical replication is switched on, the schema is copied, the new cluster subscribes and existing rows copy, then changes stream.

  4. Verify (3 to 7 days)

    Row counts and checksums are compared, lag is watched under real load and the application runs against the new side.

  5. Cut over (one change window)

    Writes to RDS stop, the new side confirms it has applied everything, sequences are set and the application reconnects.

  6. Run (from cutover)

    Engineers run the cluster 24/7. RDS is kept for the agreed rollback period, then closed by you.

Time ranges are typical for databases of this size and are fixed in the design you sign off. The method, the order and the checks do not change with the range.

Typical command sequence (PostgreSQL 15 source, names are examples)
-- RDS parameter group: rds.logical_replication = 1, then reboot the instance
CREATE PUBLICATION osstend_move FOR ALL TABLES;

-- schema is not replicated, so copy it first
pg_dump --schema-only --no-owner -h rds-host -d app | psql -h new-primary -d app

CREATE SUBSCRIPTION osstend_move
  CONNECTION 'host=rds-host dbname=app user=repl' PUBLICATION osstend_move;

-- every table should read r (ready) before cutover
SELECT srsubstate, count(*) FROM pg_subscription_rel GROUP BY 1;

-- sequences are not replicated: set them from RDS values at cutover
SELECT setval('orders_id_seq', 48211907);

Cost basis

RDS bills instance hours, provisioned storage and extra IOPS, and a Multi-AZ standby doubles the instance and storage rates. OSStend prices the dedicated cluster per design and never publishes a number.

The Large example from AWS RDS pricing explained, re-read today, is the baseline to put beside a design quote. Add each read replica as its own instance with its own storage.

LineArithmetic, list pricesMonthly
db.r7g.2xlarge Multi-AZ (8 vCPU, 64 GiB)$1.913 x 730$1,396.49
2,048 GB gp3, Multi-AZ2,048 x $0.23$471.04
8,000 IOPS above the 12,000 baseline, Multi-AZ8,000 x $0.04$320.00
Primary subtotal$2,187.53
One read replica, Single-AZ, same size$0.956 x 730 + 2,048 x $0.115$933.40
Primary plus two replicas$2,187.53 + 2 x $933.40$4,054.33
OSStend dedicated clusterQuoted per designQuoted per design

Labelled arithmetic, not a quote. Source: AWS Price List file for Amazon RDS in us-east-1 (version 20261120224619, published 20 Nov 2026), US East, on demand, USD, 730-hour month, checked 23 Nov 2026. Excludes data transfer, backup storage beyond the free allocation, Reserved Instance discounts and taxes. Compare with every RDS line on your own bill, including snapshots and transfer. Model your own shape in the cost calculator.

What we watch on call

Logical replication moves a lot of state through a few moving parts, so we watch the slot first. These are the patterns that cause incidents during this kind of move.

Slot WAL growth on RDS.
An unconsumed replication slot holds WAL and can fill the disk. Signal: pg_replication_slots lag in bytes and RDS free storage.
Tables without a key.
UPDATE and DELETE need a primary key or replica identity. Signal: publication errors in the subscriber log.
Sequences left behind.
They are not replicated, so inserts collide after cutover. Signal: a sequence value below the table maximum.
Initial copy slower than planned.
Large tables copy one at a time per worker. Signal: tables stuck in the d or s state in pg_subscription_rel.
Long transactions on RDS.
They hold back vacuum and the slot. Signal: oldest transaction age.
Extension mismatch.
An extension missing on the new side fails the schema restore. Signal: errors from the pg_dump replay.
Enterprise only

When OSStend is not the right fit

A move off RDS pays off when the pain is design, not price alone. If a standard instance in one region holds the workload, RDS is simpler.

Contact us if

  • Your RDS bill is dominated by Multi-AZ storage, replicas and IOPS.
  • You need extensions, settings or versions the RDS menu does not give you.
  • You want engineers who know your design on call under one contract.
Talk to an engineer

Not a fit if

  • A standard RDS instance in one region holds the workload.
  • You want a self-serve console and a card sign-up.
  • The database is small and a dump and restore in a window is fine.
FAQ

Questions buyers ask

Talk to an engineer →

Do we need downtime to leave RDS?

Zero downtime is the plan. The one pause is the short write stop at cutover, while the new side applies the last changes and sequences are set. See the RDS migration guide.

Does RDS need a restart for logical replication?

Yes. AWS documents that rds.logical_replication must be set to 1 and the instance rebooted for it to apply (AWS docs, checked 23 Nov 2026). We schedule that as its own maintenance step.

Can we roll back to RDS after cutover?

Yes, for the agreed period, because RDS stays untouched. Writes made on the new cluster after cutover would have to be replayed, so the rollback window is set in the design.

What does it cost?

OSStend quotes per design. The RDS side is public: see the table above and AWS RDS pricing explained.

Talk to an engineer

Bring your RDS bill to an engineer

Share the instance classes, storage and replicas. An engineer will outline the move and the design.

  • A design sketch for your workload, not a plan menu
  • A zero-downtime cutover path for what you run today
  • A price for that design, after the review
See pricing →

Your request goes to the OSStend team. No newsletter sign-up.

Get a quoteTalk to an engineer
2Engines Optional
3Where should it run?
4What do you need?

Your request goes to the OSStend team. No newsletter sign-up.