Amazon EBS · Arazzo Workflow

Amazon EBS Provision and Attach Volume

Version 1.0.0

Create an EBS volume, confirm it is available, then attach it to an instance.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub Amazon Web ServicesBlock StorageEBSEC2SnapshotsStorageVolumesArazzoWorkflows

Provider

amazon-ebs

Workflows

provision-and-attach-volume
Create an EBS volume and attach it to an EC2 instance once available.
Creates a volume in the requested Availability Zone, reads it back to confirm provisioning, and attaches it to the supplied instance and device.
3 steps inputs: availabilityZone, device, instanceId, size, volumeType outputs: volumeId, volumes
1
createVolume
Create a new EBS volume in the requested Availability Zone using the optional size and volume type.
2
confirmVolume
Read the newly created volume back to confirm it exists before attempting to attach it.
3
attachVolume
Attach the confirmed volume to the target instance, exposing it with the requested device name.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Amazon EBS Provision and Attach Volume
  summary: Create an EBS volume, confirm it is available, then attach it to an instance.
  description: >-
    The spec did not expose the EBS direct block APIs (StartSnapshot,
    PutSnapshotBlock, CompleteSnapshot), so this workflow adapts the requested
    create-then-finalize pattern to the EC2-style volume lifecycle the
    description actually supports. It creates a new EBS volume, polls the
    describe endpoint to confirm the volume reached an attachable state, and
    then attaches the volume to the target instance with the requested device
    name. Every step spells out its request inline so the flow can be read and
    executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: amazonEbsAmazonElasticBlockStoreEbsApiApi
  url: ../openapi/amazon-ebs-amazon-ebs-amazon-elastic-block-store-ebs-api-api-openapi.yml
  type: openapi
- name: attachvolumeApi
  url: ../openapi/amazon-ebs-attachvolume-api-openapi.yml
  type: openapi
workflows:
- workflowId: provision-and-attach-volume
  summary: Create an EBS volume and attach it to an EC2 instance once available.
  description: >-
    Creates a volume in the requested Availability Zone, reads it back to
    confirm provisioning, and attaches it to the supplied instance and device.
  inputs:
    type: object
    required:
    - availabilityZone
    - instanceId
    - device
    properties:
      availabilityZone:
        type: string
        description: The Availability Zone in which to create the volume.
      size:
        type: integer
        description: The size of the volume, in GiBs.
      volumeType:
        type: string
        description: The volume type (e.g. gp3).
      instanceId:
        type: string
        description: The ID of the instance to attach the volume to.
      device:
        type: string
        description: The device name to expose the volume to the instance.
  steps:
  - stepId: createVolume
    description: >-
      Create a new EBS volume in the requested Availability Zone using the
      optional size and volume type.
    operationId: createVolume
    parameters:
    - name: Action
      in: query
      value: CreateVolume
    - name: Version
      in: query
      value: '2016-11-15'
    requestBody:
      contentType: application/x-www-form-urlencoded
      payload:
        AvailabilityZone: $inputs.availabilityZone
        Size: $inputs.size
        VolumeType: $inputs.volumeType
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      volumeId: $response.body#/volumeId
      state: $response.body#/state
  - stepId: confirmVolume
    description: >-
      Read the newly created volume back to confirm it exists before attempting
      to attach it.
    operationId: describeVolumes
    parameters:
    - name: Action
      in: query
      value: DescribeVolumes
    - name: Version
      in: query
      value: '2016-11-15'
    - name: VolumeId
      in: query
      value: $steps.createVolume.outputs.volumeId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      volumes: $response.body#/volumeSet
  - stepId: attachVolume
    description: >-
      Attach the confirmed volume to the target instance, exposing it with the
      requested device name.
    operationId: attachVolume
    parameters:
    - name: Action
      in: query
      value: AttachVolume
    - name: Version
      in: query
      value: '2016-11-15'
    requestBody:
      contentType: application/x-www-form-urlencoded
      payload:
        VolumeId: $steps.createVolume.outputs.volumeId
        InstanceId: $inputs.instanceId
        Device: $inputs.device
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      statusCode: $statusCode
  outputs:
    volumeId: $steps.createVolume.outputs.volumeId
    volumes: $steps.confirmVolume.outputs.volumes

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/amazon-ebs-provision-and-attach-volume-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.