Use case

Leave Cloud SQL for PostgreSQL and run a dedicated cluster in your Google Cloud project

Typical situation: a media platform on Cloud SQL for PostgreSQL where traffic around events strains one instance, high availability doubles the bill and the database needs extensions or settings that Cloud SQL does not expose. OSStend builds a dedicated cluster in your Google Cloud project, subscribes it to Cloud SQL by logical replication and cuts over with Cloud SQL kept for rollback. The Cloud SQL prerequisite is a database flag: cloudsql.logical_decoding must be on, which is not the same setting as in standard PostgreSQL. Google's pricing page lists high-availability instances at twice the vCPU and memory rate of a single instance, for example $0.0826 against $0.0413 per vCPU-hour (read 23 Nov 2026). The generic method is in the RDS migration guide.

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

  • Move
  • Cloud SQL
  • Your cloud account
Source
Cloud SQL for PostgreSQL, about 2 TB
Target
Dedicated cluster in your GCP project
Method
Logical replication
Cloud SQL prerequisite
cloudsql.logical_decoding = on
Typical timeline
4 to 7 weeks

Typical situation

Trigger. Event traffic strains one instance, HA doubles the bill, and extensions or settings are out of reach.

Versions. Cloud SQL for PostgreSQL 15 or 16 to a dedicated 16 or 17 cluster.

  • Stay in your Google Cloud project
  • Spiky read traffic
  • No downtime during the move

A typical situation, not a named customer.

To leave Cloud SQL for PostgreSQL, turn on cloudsql.logical_decoding, create a replication user in the cloudsqlsuperuser role, publish tables and subscribe a dedicated cluster in your Google Cloud project. Cloud SQL stays live until cutover. HA instances list at twice the single-instance vCPU and memory rate.

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

In your project, you own the cloud account and billing. OSStend designs, moves and runs the database.

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.Own the project, VPC and billing.

Where it can run

Your Google Cloud project is the placement for this page. The licence permits other placements as well.

OptionWhen it fitsLicence and source
Your cloud accountData and billing stay in your project.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.
Our cloudYou prefer a hosted cluster.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 centerA later exit from the cloud.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

Google documents the flag and role needed. The flag change restarts the instance, so it is scheduled.

  1. Review (1 to 3 days)

    Flags, extensions, instance size, HA setting and read replicas are inventoried.

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

    Machine types, disks, zones, backups and read capacity are specified.

  3. Prepare the source (1 day)

    cloudsql.logical_decoding is set to on, the instance restarts and a replication user is created in the cloudsqlsuperuser role.

  4. Build and subscribe (1 to 3 weeks)

    The cluster is built in your VPC and the subscription copies and streams.

  5. Verify and cut over (one change window)

    Lag zero, sequences set, application reconnects.

  6. Run (from cutover)

    Engineers run it 24/7; Cloud SQL stays for rollback.

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.

Cloud SQL source setup (names are examples)
gcloud sql instances patch SOURCE --database-flags=cloudsql.logical_decoding=on
CREATE USER repl WITH REPLICATION IN ROLE cloudsqlsuperuser LOGIN PASSWORD '<secret>';
CREATE PUBLICATION osstend_move FOR ALL TABLES;

Cost basis

Cloud SQL bills vCPU and memory by the hour, and HA instances list at double. OSStend's fee is quoted per design.

Arithmetic on Google's Cloud SQL pricing page, read 23 Nov 2026, using the first Enterprise edition table, which lists Iowa (us-central1). Rates differ by region and edition, so check yours.

LineArithmeticMonthly
4 vCPU, 32 GiB, single instance(4 x $0.0413 + 32 x $0.007) x 730$284.12
Same, HA2 x $284.12$568.24
SSD, 500 GiB, single500 x $0.000232877 x 730$85.00
SSD, 500 GiB, HA500 x $0.000465753 x 730$170.00
HA instance with 500 GiB$568.24 + $170.00$738.24
OSStend dedicated clusterQuoted per designQuoted per design

Source: Cloud SQL pricing, checked 23 Nov 2026. Excludes backups, network egress, read replicas and taxes.

What we watch on call

Cloud SQL adds a few traps to logical replication. We check them before the subscription starts.

Not a true superuser.
Roles use cloudsqlsuperuser. Signal: permission errors on CREATE EXTENSION or publication.
Flag not applied.
The flag needs a restart. Signal: wal_level not logical.
WAL disk usage.
An idle slot fills storage. Signal: pg_ls_waldir size.
Private IP path.
Replication needs a route between networks. Signal: connection timeouts.
Event spikes.
Traffic peaks raise lag. Signal: subscription lag during an event.
Enterprise only

When OSStend is not the right fit

A move fits when HA cost or missing settings hurt. If Cloud SQL meets your needs, it is simpler to stay.

Contact us if

  • HA doubles a bill you want to shape.
  • You need extensions or settings Cloud SQL lacks.
  • You want engineers on call for your design.
Talk to an engineer

Not a fit if

  • Cloud SQL meets your needs.
  • You want a self-serve console only.
  • You cannot schedule the restart.
FAQ

Questions buyers ask

Talk to an engineer →

How is Cloud SQL logical decoding enabled?

Set the cloudsql.logical_decoding flag to on; Google notes this differs from standard PostgreSQL's wal_level (Google Cloud docs, checked 23 Nov 2026).

Does the data leave Google Cloud?

Not in this design. The cluster runs in your project.

Why does HA cost double?

Google's pricing page lists HA vCPU and memory rates at twice the single-instance rates.

Talk to an engineer

Plan your Cloud SQL exit

Share your instance size and flags. An engineer will outline the move.

  • 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.