View the host recovery setting for your Amazon EC2 Dedicated Host - 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).

View the host recovery setting for your Amazon EC2 Dedicated Host

You can view the host recovery configuration for a Dedicated Host at any time.

Console
To view the host recovery configuration for a Dedicated Host
  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, and in the Description tab, review the Host Recovery field.

Amazon CLI
To view the host recovery configuration for a Dedicated Host

Use the describe-hosts command.

aws ec2 describe-hosts \ --host-ids h-012a3456b7890cdef \ --query Hosts[].HostRecovery

The following is example output.

on
PowerShell
To view the host recovery configuration for a Dedicated Host

Use the Get-EC2Host cmdlet.

(Get-EC2Host -HostId h-012a3456b7890cdef).Hosts | Select HostRecovery

The following is example output.

HostRecovery ------------ on