Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions,
see Getting Started with Amazon Web Services in China
(PDF).
Disable Multi-Attach for an Amazon EBS volume
You can disable Multi-Attach for an io2
volume only if it is attached to no more than
one instance.
You can't disable Multi-Attach for io1
volumes after creation.
- Console
-
To disable Multi-Attach after creation
-
Open the Amazon EC2 console at
https://console.amazonaws.cn/ec2/.
-
In the navigation pane, choose Volumes.
-
Select the volume and choose Actions,
Modify volume.
-
For Amazon EBS Multi-Attach, clear Enable
Multi-Attach.
-
Choose Modify.
- Amazon CLI
-
To disable Multi-Attach after creation
Use the modify-volume
command with the -no-multi-attach-enabled
option.
aws ec2 modify-volume \
--volume-id vol-01234567890abcdef
\
--no-multi-attach-enabled
- PowerShell
-
To disable Multi-Attach after creation
Use the Edit-EC2Volume cmdlet with the -MultiAttachEnabled
parameter.
Edit-EC2Volume `
-VolumeId vol-01234567890abcdef
`
-MultiAttachEnabled $false