Enable Amazon EC2 Dedicated Host recovery - Amazon Elastic Compute Cloud
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).

Enable Amazon EC2 Dedicated Host recovery

You can enable host recovery at the time of Dedicated Host allocation or after allocation.

For more information about enabling host recovery at the time of Dedicated Host allocation, see Allocate an Amazon EC2 Dedicated Host for use in your account.

To enable host recovery after allocation using the console
  1. Open the Amazon EC2 console at https://console.amazonaws.cn/ec2/.

  2. In the navigation pane, choose Dedicated Hosts.

  3. Select the Dedicated Host for which to enable host recovery, and then choose Actions, Modify Host Recovery.

  4. For Host recovery, choose Enable, and then choose Save.

To enable 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 on --host-ids h-012a3456b7890cdef