CmdID

CmdID / aws / aws lightsail

aws lightsail attach-disk

Attaches a block storage disk to a running or stopped Lightsail instance and exposes it to the instance with the specified disk name. AWS CLI reference

4 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

4 in the AWS CLI reference
--auto-mountingA Boolean value used to determine the automatic mounting of a storage volume to a virtual computer.
--disk-nameThe unique Lightsail disk name (my-disk).
--disk-pathThe disk path to expose to the instance (/dev/xvdf).
--instance-nameThe name of the Lightsail instance where you want to utilize the storage disk.