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.”

Configure the host maintenance setting for an Amazon EC2 Dedicated Host

Focus mode
Configure the host maintenance setting for an Amazon EC2 Dedicated Host - Amazon Elastic Compute Cloud

Enable host maintenance to ensure that your instances running on a Dedicated Host are automatically recovered onto a new Dedicated Host during a scheduled maintenance event.

If you disable host maintenance, you receive an email notification to evict the degraded host and manually migrate your instances to another host within 28 days. A replacement host is allocated if you have Dedicated Host reservation. After 28 days, the instances running on the degraded host are terminated, and the host is released automatically.

Console
To enable host maintenance for your Dedicated Host
  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 > Actions > Modify host.

  4. Select on in the Host maintenance field.

To disable host maintenance for your Dedicated Host
  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 > Actions > Modify host.

  4. Select off in the Host maintenance field.

AWS CLI
To enable host maintenance for your Dedicated Host

Use the modify-hosts command.

aws ec2 modify-hosts \ --host-maintenance on \ --host-ids h-0d123456bbf78910d
To disable host maintenance for your Dedicated Host

Use the modify-hosts command.

aws ec2 modify-hosts \ --host-maintenance off \ --host-ids h-0d123456bbf78910d
PowerShell
To enable host maintenance for your Dedicated Host

Use the Edit-EC2Host cmdlet.

Edit-EC2Host ` -HostMaintenance on ` -HostId h-0d123456bbf78910d
To disable host maintenance for your Dedicated Host

Use the Edit-EC2Host cmdlet.

Edit-EC2Host ` -HostMaintenance off ` -HostId h-0d123456bbf78910d
To enable host maintenance for your Dedicated Host
  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 > Actions > Modify host.

  4. Select on in the Host maintenance field.

To disable host maintenance for your Dedicated Host
  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 > Actions > Modify host.

  4. Select off in the Host maintenance field.

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