Why am I getting the error "VolumeInUse" when trying to attach an Amazon EBS io2 Block Express volume to my EC2 instance?
"I'm trying to attach an Amazon Elastic Block Store (Amazon EBS) io2 Block Express volume to my Amazon Elastic Compute Cloud (Amazon EC2) instance. The volume is in the "available" state, but I get the following error:"An error occurred (VolumeInUse) when calling the AttachVolume operation: vol-xxxx is already attached to an instance"."
"I'm trying to attach an Amazon Elastic Block Store (Amazon EBS) io2 Block Express volume to my Amazon Elastic Compute Cloud (Amazon EC2) instance. The volume is in the "available" state, but I get the following error:"An error occurred (VolumeInUse) when calling the AttachVolume operation: vol-xxxx is already attached to an instance".ResolutionYou receive this error when you try to attach an io2 Block Express volume to an EC2 instance type that doesn't support this volume type. To resolve this issue, check whether the EC2 instance type that you're attaching the volume to supports io2 Block Express volumes.The following instance types support io2 Block Express volumes:c6inc7gm6inm6idnr5br6inr6idntrn1x2idnx2iednFor more information, see io2 Block Express volumes.Follow"