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

Unshare a Dedicated Host that is shared with other AWS accounts

Focus mode
Unshare a Dedicated Host that is shared with other AWS accounts - Amazon Elastic Compute Cloud

The Dedicated Host owner can unshare a shared Dedicated Host at any time. When you unshare a shared Dedicated Host, the following rules apply:

  • Consumers with whom the Dedicated Host was shared can no longer launch new instances onto it.

  • Instances owned by consumers that were running on the Dedicated Host at the time of unsharing continue to run but are scheduled for retirement. Consumers receive retirement notifications for the instances and they have two weeks to take action on the notifications. However, if the Dedicated Host is reshared with the consumer within the retirement notice period, the instance retirements are cancelled.

To unshare a shared Dedicated Host that you own, you must remove it from the resource share. You can do this by using one of the following methods.

Amazon EC2 console
To unshare a shared Dedicated Host that you own using the Amazon EC2 console
  1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.

  2. In the navigation pane, choose Dedicated Hosts.

  3. Choose the Dedicated Host to unshare and choose the Sharing tab.

  4. The Sharing tab lists the resource shares to which the Dedicated Host has been added. Select the resource share from which to remove the Dedicated Host and choose Remove host from resource share.

AWS RAM console
To unshare a shared Dedicated Host that you own using the AWS RAM console

See Updating a Resource Share in the AWS RAM User Guide.

Command line
To unshare a shared Dedicated Host that you own using the AWS CLI

Use the disassociate-resource-share command.

To unshare a shared Dedicated Host that you own using the Amazon EC2 console
  1. Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/.

  2. In the navigation pane, choose Dedicated Hosts.

  3. Choose the Dedicated Host to unshare and choose the Sharing tab.

  4. The Sharing tab lists the resource shares to which the Dedicated Host has been added. Select the resource share from which to remove the Dedicated Host and choose Remove host from resource share.

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