Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Manage Amazon EC2 Dedicated Host recovery

Focus mode
Manage Amazon EC2 Dedicated Host recovery - Amazon Elastic Compute Cloud

Dedicated Host auto recovery restarts your instances on to a new replacement host when certain problematic conditions are detected on your Dedicated Host. You can enable host recovery when you allocate the Dedicated Host or after allocation.

Use the following procedures to enable host recovery when allocating the host.

Console
To enable host recovery at allocation

When allocating a Dedicated Host using the Amazon EC2 console, for Host recovery, choose Enable. For more information, see Allocate an Amazon EC2 Dedicated Host for use in your account.

AWS CLI
To enable host recovery at allocation

Use the allocate-hosts command and specify the host-recovery parameter.

$ aws ec2 allocate-hosts \ --instance-type m5.large \ --availability-zone eu-west-1a \ --auto-placement on \ --host-recovery on \ --quantity 1
To enable host recovery at allocation

When allocating a Dedicated Host using the Amazon EC2 console, for Host recovery, choose Enable. For more information, see Allocate an Amazon EC2 Dedicated Host for use in your account.

Use the following procedures to manage host recovery for a Dedicated Host.

Console
To manage host recovery after allocation
  1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.

  2. In the navigation pane, choose Dedicated Hosts.

  3. Select the Dedicated Host.

  4. Choose Actions, Modify host.

  5. For Host recovery, select or clear Enable.

  6. Choose Save.

AWS CLI
To enable host recovery after allocation

Use the modify-hosts command and specify the host-recovery parameter with a value of on.

$ aws ec2 modify-hosts --host-recovery on --host-ids h-012a3456b7890cdef
To disable host recovery after allocation

Use the modify-hosts command and specify the host-recovery parameter with a value of off.

$ aws ec2 modify-hosts --host-recovery off --host-ids h-012a3456b7890cdef
To manage host recovery after allocation
  1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.

  2. In the navigation pane, choose Dedicated Hosts.

  3. Select the Dedicated Host.

  4. Choose Actions, Modify host.

  5. For Host recovery, select or clear Enable.

  6. Choose Save.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.