Rehab for JAPAN's CTO moves a can't-stop production ETL platform off Cloud Composer onto Cloud Run Jobs alone, part-time, in about two months with Claude Code, cutting that part's running cost to $10-20 a month
Rehab for JAPAN pulled product databases on AWS into BigQuery with 14 Airflow DAGs on an always-on Cloud Composer environment, paying $600-1,000 a month (dev plus prod) for ETL that ran a few hours a day. The move had kept losing priority because it meant several person-months for about $800 a month of savings. The CTO, Kyuragi, did it alone between other duties in about two months, from design doc to production cutover, with Claude Code. Design docs, a task breakdown and a cutover runbook were written into the repo first, so each agent session rebuilt context from them. 41 tasks were split to minimise dependencies and run as parallel agent sessions in git worktrees. A dedicated test subagent paired every change with tests (about 8,500 lines of test code). Guardrails included a push wrapper script, pre-commit, CI import smoke tests, and human review of every terraform plan. The old and new pipelines ran in parallel, and cutover came after three straight days of zero row-count and checksum diffs. Every diff found traced to known bugs in the old pipeline. Cutover used Terraform state surgery, and rollback just pauses the new schedulers.
The numbers (as reported)
| Duration | About 2 months from design doc to production cutover, one person alongside other work |
|---|---|
| Running cost (source ETL) | Inside Composer's $300-500/month per environment → $10-20/month |
| Tasks | 41 tasks run as parallel agent sessions in git worktrees |
| Test code | About 8,500 lines |
| Cutover gate | 3 consecutive days of zero diff (row counts + checksums) |
| Full rebuild at cutover | Just over 30 minutes across products |
Facts
- Company / subject
- Rehab for JAPAN
- Tools
- Claude Code
- Codebase
- brownfield
- Work type
- Migration
- Stack
- Python, Cloud Run Jobs, Cloud Scheduler, Cloud Composer, Airflow, BigQuery, Terraform, AWS S3, Google Cloud Storage
- Published
- 2026-07-09
- Last checked
- 2026-11-23
What the source claims Practitioner (own blog/paper)
Claimed by the builder, writing about their own work. Not checked independently.
- One person migrated the production ETL in about two months, part-time, with Claude Code ~2 months, 1 person
- Running cost for the migrated source ETL fell to $10-20 a month $10–20/month
- Parallel-run diffs showed the new pipeline was more correct; every diff traced to known bugs in the old one
Caveats
Written in Japanese by the CTO who did the work, on the company blog. Team members reviewed the work. Only the source ETL has moved so far (Phase 4 of 7); ops jobs and dbt still run on Composer, so the full $884 → $54 a month (about 94%) saving is a projection. No manual-effort baseline beyond 'several person-months'.
More stories by tool: Claude Code
Related topics: MigrationsBrownfield codebases