Use case

Bring MySQL back from a cloud service to your own data center for a plant estate

Moving MySQL from a cloud database service to your own data center is a replication cutover: a new primary on your hardware follows the cloud primary over binary logs, and the application stops writing only for the final minutes. On Amazon RDS for MySQL the replica source needs binary log retention set on purpose, with mysql.rds_set_configuration, because the default is not long enough for a multi-day catch-up. The money side is simple to read: AWS's own RDS for MySQL example prices a dedicated log volume at $428 a month on one node and $856 with a Multi-AZ standby (AWS, checked 23 Nov 2026), so a standby doubles the storage line. A manufacturer with MES, historian and quality systems on the plant network usually has a second reason: the database should sit within a few milliseconds of the line, and inside the plant's own change calendar. OSStend designs the target, runs the replication and owns the cutover, then runs MySQL 24/7 in your data center as a co-managed service.

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

  • MySQL
  • Cloud to data center
  • Manufacturing
Source
RDS for MySQL 8.4, Multi-AZ
Target
MySQL 8.4 on your hosts, source and replica
Method
Binlog replication with GTIDs, then cutover
Write pause
Minutes, set in the rehearsal
Runs where
Your data center, co-managed

Typical situation

Trigger. Plant systems on site need the database within a few milliseconds, and the cloud bill for a Multi-AZ primary keeps growing with storage.

Versions. RDS for MySQL 8.4 LTS as the source; MySQL 8.4 LTS on the target so the replication stream stays on one major line.

  • Change windows follow the plant calendar
  • Hardware is bought and racked by your team
  • Writes can stop for minutes, not hours

A typical situation, not a named customer.

To move MySQL from RDS back to your data center, set binary log retention on the source, build the target from a snapshot, replicate with GTIDs until lag is zero, rehearse the cutover, then switch writes. OSStend designs the hardware layout, owns the cutover and runs the cluster 24/7 with the 24/7 response commitment for co-managed sites.

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 engineers design, move and run the cluster; you keep the application, the data and the decisions about it. The split below is what is set in the design you sign off, and it is written into the contract.

AreaOSStendYou
Target designWrites the node layout, storage, replication model and backup plan for your hostsBuys and racks the hardware, supplies network and power
Source preparationLists the binlog, parameter and user settings the RDS side needsApproves changes on the production instance
ReplicationBuilds the target, runs the stream and watches lag until cutoverKeeps the application running on the source
CutoverOwns the runbook, the freeze and the switchStops writers, repoints connection strings and signs off
Backups and restoresSchedules, tests and restoresHolds the retention policy and the storage
Patching and upgradesPlans minor and major upgrades on your calendarApproves windows
Incident responseNamed engineers on call 24/7Supplies hands for hardware faults on your floor

Where it can run

This use case runs in your data center, on hardware you own, with OSStend operating MySQL on it. MySQL's server is available under the GPL, so running it for your own use on your own hosts needs no hosting agreement.

OptionWhen it fitsLicence and source
Our cloudNot this use case. It fits when the reason to leave is the service, not the locationMySQL Community server is GPLv2 (MySQL, 23 Nov 2026); OSStend's cloud is available for it
Your cloud accountFits when you want out of the managed service but not out of the cloudSame licence; the cluster runs in your account and VPC
Your data centerPlant-floor latency, a fixed capital budget or an existing virtualisation estateSame licence; OSStend operates it as your contractor under the 24/7 response commitment

Licence placement comes from the OSStend licensing review, 19 Nov 2026. This table is not legal advice.

How it works

How the move works

The method is binary log replication with both sides live. The time ranges below are typical for a database of a few terabytes and are fixed in your design.

  1. Review and design, 1 to 2 weeks

    An engineer reads schema size, write rate and the application's tolerance for a write pause, then writes the node layout and the replication model.

  2. Prepare the source, 1 to 3 days

    Set binary log retention long enough for the catch-up with mysql.rds_set_configuration, check GTID mode, and create the replication user.

  3. Build and seed the target, 3 to 10 days

    Provision hosts, restore a snapshot or logical dump, and attach the target to the source by GTID auto-position.

  4. Replicate and verify, 1 to 3 weeks

    Run until lag stays near zero, compare row counts and checksums on the tables that matter, and run read traffic against the target.

  5. Rehearse and cut over, 1 to 2 days

    Rehearse on a copy, then stop writers, wait for zero lag, promote the target and repoint the application. Keep the source live and read-only as the way back.

Cost basis

The cloud side is billed by instance hours, provisioned storage and a standby that doubles the storage line. In a data center the same load is a hardware and power cost, plus OSStend's fee, which is quoted per design.

LineCloud service todayData center
Dedicated log volume, io1, one node$428 a month (AWS example, US East)Disks you own
Same volume with a Multi-AZ standby$856 a month (AWS example)A second host and its disks
Snapshot export, per GB of snapshot$0.013 (AWS pricing page)Not billed
Engineer time and 24/7 coverYour teamOSStend, quoted per design

Source: RDS for MySQL pricing, US East (N. Virginia), checked 23 Nov 2026. Instance-hour and gp3 rates sit behind collapsed sections on that page and were not read, so no instance total is shown. Compare your own bill with the RDS pricing explained guide.

OSStend's own price is quoted per design after a 45-minute workload review. It depends on the node design, the service level tier and where the cluster runs; see pricing.

What we watch on call

After cutover, the failure patterns that matter on a plant-side MySQL are the ones that stop writes or hide data loss. Each has a signal we alert on.

Replica lag.
Seconds_Behind_Source and the GTID gap on every replica; alert before lag exceeds the failover tolerance.
Disk fill from binary logs.
Binlog expiry is set to match the backup interval, and free space on the log volume is watched.
Long transactions.
A batch job holding an open transaction blocks purge and stalls replication; we alert on transaction age.
Backup that cannot restore.
A restore is run on a schedule onto a scratch host and checked against row counts.
Clock and network drift between sites.
NTP offset and packet loss on the link between plant and replica site.
Failed hardware.
SMART and RAID alerts raise a ticket with your floor team inside the response commitment.
Enterprise only

When OSStend is not the right fit

The move fits when location, latency or fixed cost is the reason to leave. It does not when the cloud service is working and the only goal is a smaller bill.

Contact us if

  • Plant, lab or branch systems need the database on site.
  • You own hosts and want one team to run MySQL on them.
  • You can accept a write pause of minutes at cutover.
Talk to an engineer

Not a fit if

  • You have no data center capacity and no plan to buy any.
  • The workload is a small database that a standard plan holds.
  • The application cannot tolerate any write pause.
FAQ

Questions buyers ask

Short answers to the questions that come up most on this kind of move. Each can be checked against the sources linked above.

Talk to an engineer →

Can we keep writing during the move?

Yes, until the final switch. The source keeps taking writes while the target follows, and only the last minutes need a pause.

Why not just use mysqldump?

A dump is a point in time. For a database that keeps changing it needs a replication stream on top, which is what the plan uses.

Does the data center stay under our control?

Yes. OSStend engineers operate MySQL on your hosts, and access, keys and the audit trail stay yours. See deployment and security.

What if the target fails the rehearsal?

The source never stopped being the primary, so the plan is to fix the target and rehearse again. Read the MySQL hosting page for the engine design.

Talk to an engineer

Plan the move back to your data center

Bring the source version, size and plant calendar. An engineer will sketch the design in 45 minutes.

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