capabilities.work

Decommission Cluster with Final Snapshot

A 3-step recipe with Amazon DocumentDB. We can help you get access.

Recipe · 3 steps

Decommission Cluster with Final Snapshot

with Amazon DocumentDB · IT Infrastructure Management

Delete a cluster with a final snapshot and confirm removal.

  1. Confirm the cluster exists and capture its current status before deleting.
  2. Delete the cluster, requesting a final snapshot by setting SkipFinalSnapshot to false and providing a final snapshot identifier.
  3. Describe the cluster repeatedly. While it is still returned and reports a deleting status, loop back here; when the describe call returns 404 the cluster has been fully removed.
What you'll need to have ready
  • DBClusterIdentifier: The identifier of the cluster to delete.
  • FinalDBSnapshotIdentifier: The identifier for the final snapshot taken before deletion.
For your developer

Arazzo workflow amazon-documentdb:decommission-cluster-with-final-snapshot, 3 operations: DescribeDBClusters → DeleteDBCluster → DescribeDBClusters. Specs on APIs.io.