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

Unshare a Dedicated Host that is shared with other AWS accounts

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.