How a Coastal Restoration Platform Migrated from CDK to SST v4 Without Downtime
Restore Blue, a platform supporting coastal restoration project management and AI-powered knowledge search, completed a full infrastructure migration from AWS CDK v2 to SST v4 while keeping the service live for active users. The overhaul replaced ten separate CDK stacks with a single SST config file, swapped DocumentDB for Aurora Serverless v2 PostgreSQL, and consolidated AI search from a standalone OpenSearch Serverless setup to pgvector on the same Postgres instance. A phased eight-step migration plan with defined gates and verification steps guided the transition, covering schema design, data migration, API porting, and frontend rework. The database move from MongoDB to PostgreSQL required a full schema audit, dropping six unpopulated collections and correcting mislabeled data, with Kysely adopted as a type-safe query builder to replace a custom in-house ORM. The migration was a cross-functional effort involving a solutions architect, a cloud engineer, and multiple frontend and API contributors working toward a shared target architecture.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in