capabilities.work

Provision and Attach Volume

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

Recipe · 3 steps

Provision and Attach Volume

with Amazon EBS · IT Infrastructure Management

Create an EBS volume and attach it to an EC2 instance once available.

  1. Create a new EBS volume in the requested Availability Zone using the optional size and volume type.
  2. Read the newly created volume back to confirm it exists before attempting to attach it.
  3. Attach the confirmed volume to the target instance, exposing it with the requested device name.
What you'll need to have ready
  • availabilityZone: The Availability Zone in which to create the volume.
  • size: The size of the volume, in GiBs.
  • volumeType: The volume type (e.g. gp3).
  • instanceId: The ID of the instance to attach the volume to.
  • device: The device name to expose the volume to the instance.
For your developer

Arazzo workflow amazon-ebs:provision-and-attach-volume, 3 operations: createVolume → describeVolumes → attachVolume. Specs on APIs.io.