capabilities.work

Detach and Delete Volume

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

Recipe · 3 steps

Detach and Delete Volume

with Amazon EBS · IT Infrastructure Management

Detach an EBS volume and delete it once it is no longer attached.

  1. Detach the supplied volume from its instance.
  2. Read the volume back to confirm it is detached before deleting it.
  3. Delete the volume to reclaim its storage.
What you'll need to have ready
  • volumeId: The ID of the volume to detach and delete.
  • instanceId: The ID of the instance the volume is attached to.
  • force: Forces detachment if a previous attempt did not occur cleanly.
For your developer

Arazzo workflow amazon-ebs:detach-and-delete-volume, 3 operations: detachVolume → describeVolumes → deleteVolume. Specs on APIs.io.