Migrate RDS to Aurora PostgreSQL

Migrate an RDS PostgreSQL DB instance to Aurora PostgreSQL DB Cluster.

This CDK application deploys a Step Function workflow that migrates an RDS PostgreSQL DB instance to an Aurora PostgreSQL DB Cluster, and optionally upgrades the Aurora Cluster engine version.
The workflow is divided into the following states: 1/ create a snapshot of the RDS PostgreSQL instance, 2/ restore an Aurora PostgreSQL Cluster using this snapshot, 3/ create an instance of Aurora PostgreSQL inside the cluster, and 4/ (optionally) upgrade the Aurora PostgreSQL cluster engine version.
The Step Function workflow requires specific input parameters when triggering the execution, as described in the README.

< Back to all workflows

GitHub icon View this workflow on GitHub


Clone repo

git clone https://github.com/aws-samples/step-functions-workflows-collection/tree/main/sfn-rds-to-aurora-migrate-postgres-cdk/cd step-functions-workflows-collection/sfn-rds-to-aurora-migrate-postgres-cdk

Deploy

cdk deploy


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

1. Delete the stack: cdk destroy.

Created by:

Akshay Singhal

Akshay Singhal is a Sr. Technical Account Manager (TAM) for AWS Enterprise Support focusing on the Security ISV (Independent Software Vendors) segment and loves everything serverless.

Follow on LinkedIn