Amazon RDS · Arazzo Workflow
Amazon RDS Snapshot and Rebuild a DB Instance
Version 1.0.0
Snapshot a source instance, wait for it, then build a fresh matching instance.
View Spec
View on GitHub
Cloud DatabasesDatabase ServiceDBaaSManaged DatabasesRelational DatabasesArazzoWorkflows
Provider
Workflows
snapshot-and-rebuild-instance
Snapshot a source instance and build a fresh instance mirroring its config.
Snapshots the source instance and waits for it, reads the source config, creates a matching new instance, then polls until that new instance is available.
1
snapshotSource
createDBSnapshot
Create a manual snapshot of the source instance to act as the restore point for the rebuild.
2
pollSnapshot
describeDBSnapshots
Describe the snapshot and inspect its status. While it is still creating the workflow loops back to poll again; once it is available it proceeds to read the source configuration.
3
readSource
describeDBInstances
Describe the source instance to read the engine, instance class and allocated storage used to build the mirrored instance.
4
createTarget
createDBInstance
Create the new DB instance mirroring the source engine, instance class and allocated storage with fresh master credentials.
5
pollTarget
describeDBInstances
Describe the new instance and inspect its status. While it is still creating the workflow loops back to poll again; once it is available the flow ends.