Unmount the device by using [ec2–user~] umount -d /dev/sda1 command.
The system displays the EC2 Management Console page.
AWS detaches the specified volume.
Attach the volume to another virtual machine.