Disable Amazon EC2 Dedicated Host recovery
You can disable host recovery at any time after the Dedicated Host has been allocated.
To disable host recovery after allocation using the console
-
Open the Amazon EC2 console at https://console.amazonaws.cn/ec2/
. -
In the navigation pane, choose Dedicated Hosts.
-
Select the Dedicated Host for which to disable host recovery, and then choose Actions, Modify Host Recovery.
-
For Host recovery, choose Disable, and then choose Save.
To disable host recovery after allocation using the Amazon CLI
Use the modify-hosts command and specify the host-recovery
parameter.
$
aws ec2 modify-hosts --host-recovery off --host-idsh-012a3456b7890cdef