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

Modify the auto-placement setting for an existing Amazon EC2 Dedicated Host

Focus mode
Modify the auto-placement setting for an existing Amazon EC2 Dedicated Host - Amazon Elastic Compute Cloud

You can modify the auto-placement settings of a Dedicated Host after you have allocated it to your AWS account, using one of the following methods.

Console
To modify the auto-placement of a 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 a host and choose Actions, Modify host.

  4. For Instance auto-placement, choose Enable to enable auto-placement, or clear Enable to disable auto-placement. For more information, see Amazon EC2 Dedicated Host auto-placement and host affinity.

  5. Choose Save.

AWS CLI
To modify the auto-placement of a Dedicated Host

Use the modify-hosts command. The following example enables auto-placement for the specified Dedicated Host.

aws ec2 modify-hosts --auto-placement on --host-ids h-012a3456b7890cdef
PowerShell
To modify the auto-placement of a Dedicated Host

Use the Edit-EC2Host AWS Tools for Windows PowerShell command. The following example enables auto-placement for the specified Dedicated Host.

PS C:\> Edit-EC2Host --AutoPlacement 1 --HostId h-012a3456b7890cdef
To modify the auto-placement of a 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 a host and choose Actions, Modify host.

  4. For Instance auto-placement, choose Enable to enable auto-placement, or clear Enable to disable auto-placement. For more information, see Amazon EC2 Dedicated Host auto-placement and host affinity.

  5. Choose Save.

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