Snapshot Then Delete a DB Instance
A 3-step recipe with Amazon RDS. We can help you get access.
Recipe · 3 steps
Snapshot Then Delete a DB Instance
with Amazon RDS · IT Infrastructure Management
Snapshot a DB instance, wait for the snapshot, then delete the instance.
- Request a manual snapshot of the source DB instance before deletion.
- 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.
- Delete the source DB instance, retaining a final snapshot rather than skipping it.
What you'll need to have ready
- dbInstanceIdentifier: The identifier of the DB instance to snapshot and delete.
- dbSnapshotIdentifier: The identifier for the pre-deletion manual snapshot.
- finalDbSnapshotIdentifier: The identifier for the final snapshot taken during deletion.
For your developer
Arazzo workflow amazon-rds:snapshot-then-delete-instance, 3 operations: CreateDBSnapshot → DescribeDBSnapshots → DeleteDBInstance. Specs on APIs.io.