Amazon RDS · Arazzo Workflow
Amazon RDS Snapshot Then Delete a DB Instance
Version 1.0.0
Take a final manual snapshot, wait for it, then safely delete the instance.
View Spec
View on GitHub
Cloud DatabasesDatabase ServiceDBaaSManaged DatabasesRelational DatabasesArazzoWorkflows
Provider
Workflows
snapshot-then-delete-instance
Snapshot a DB instance, wait for the snapshot, then delete the instance.
Creates a manual snapshot, polls until it is available, then deletes the source instance while retaining a final snapshot.
1
createSnapshot
createDBSnapshot
Request a manual snapshot of the source DB instance before deletion.
2
pollSnapshot
describeDBSnapshots
Describe the snapshot and inspect its status. While the snapshot is still creating the workflow loops back to poll again; once it is available it proceeds to delete the instance.
3
deleteInstance
deleteDBInstance
Delete the source DB instance, retaining a final snapshot rather than skipping it.