Skip to main content

Attach volume

Attach an available volume to an instance in the same availability zone, as a device name.

Command in the AWS EC2 toolkit · id ooa.aws_ec2/attach_volume · 4 inputs (3 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
SessionStringNoec2Name of the session opened by Connect.
Volume IDStringYesId of the volume to attach.
Instance IDStringYesId of the instance to attach it to.
DeviceStringYesDevice name the instance sees, e.g. /dev/sdf (Linux) or xvdf (Windows).

Outputs​

OutputTypeWhat it is
stateStringAttachment state, usually attaching.