Learner track
The complete hands-on migration from AWS RDS Postgres to ClickHouse Managed Postgres and ClickHouse.
Work through the modules in order. Module 01 provisions RDS and starts the writer after the baseline. Module 04 moves writes to Managed Postgres. Keep the source reachable until the migration pipe and its slot are removed.
00 Setup
Provision your accounts and verify the toolchain on macOS or Windows.
01 Source environment and baseline
Apply the Terraform, prove wal_level is logical, seed the shop database, start the writer and the dashboard, and measure what one database serving both workloads costs.
02 Plan the cutover
Author the runbook you will execute in module 04. No infrastructure; it runs while the seed finishes.
03 Replicate
A migration ClickPipe into Managed Postgres, verified from the source's own catalog, plus a deliberate failure injection.
04 Cut over
Execute your runbook against a live write path: quiesce, reset the sequences, repoint, reconcile, stop replicating.
05 Stream the analytical copy
A ClickPipes Postgres CDC pipe into ClickHouse, with the engine and ordering keys chosen rather than accepted.
06 Route the OLAP workload
pg_clickhouse and search_path shadowing, three proofs that the application did not change, the pushdown repair, and the measured result.
07 Validate and tear down
Fourteen machine-graded questions, then the teardown sequence in the one order that works.
Troubleshooting
Recovery steps for the failures this workshop actually produces.
Migration workflow
First, migrate the transactional workload from RDS to Managed Postgres with a ClickPipe.
After cutover, create a second ClickPipe from Managed Postgres to ClickHouse.
Then route analytical queries through pg_clickhouse and measure the result.
Measure writer throughput during analytical load alongside panel latency and dashboard queries per second.
Working directory
Commands in each module begin inside the workshop's artifact directory:
workshops/postgres_migration/Keep credentials only in the ignored files created from .example templates. Never commit
your filled-in environment file or Terraform variables.