Hi@akhtar,
You can attach an EBS volume to a running or stopped instance and exposes it to the instance with the specified device name. The following example command attaches a volume to an instance as /dev/sdf.
$ aws ec2 attach-volume --volume-id vol-1234567890abcdef0 --instance-id i-01474ef662b89480 --device /dev/sdf