How do I migrate a Dedicated Host or Dedicated Instance to another Dedicated Host?

3 minute read
0

I want to migrate an instance running on dedicated hardware (a Dedicated Host or Dedicated Instance), or I received a maintenance notification and have a scheduled event for an instance running on dedicated hardware. What should I do?

Short description

To migrate an instance away from a Dedicated Host, do one of the following:

  • Allocate a new Dedicated Host to your account, and then move your Dedicated Instance to the new Dedicated Host.
  • Edit the placement of the instance so that the instance runs on another one of your existing Dedicated Hosts.
  • Migrate your instance from a Dedicated Host to a Dedicated Instance, and vice versa, from the Amazon Elastic Compute Cloud (Amazon EC2) console by modifying the tenancy of the instance.

Resolution

To allocate a new Dedicated Host to your account

  1. Open the Amazon EC2 console, and then choose Dedicated hosts from the navigation pane.
  2. Choose Allocate Dedicated Host.
  3. Choose an instance type and Availability Zone that matches the instance you want to migrate. For all other options, choose the appropriate settings.
  4. Choose Allocate Host.

To move an instance from one Dedicated Host to another

  1. Choose the instance in the Amazon EC2 console.
  2. From the Actions menu, choose Manage instance state.
  3. Choose Stop, Change state, Stop.
  4. From the Actions menu, choose Instance Settings, and then choose Modify instance placement.
  5. From the Target host menu, choose the new Dedicated Host that you want the instance to run on.
  6. Choose Save.
  7. From the Actions menu, choose Manage instance state.
  8. Choose Start, Change state, Start.

To migrate an instance from a Dedicated Host to a Dedicated Instance

  1. Open the Amazon EC2 console, and then choose Dedicated Hosts from the navigation pane.
  2. Select the Running instances tab, and then select the instance.
  3. From the Actions menu, choose Manage instance state.
  4. Choose Stop, Change state, Stop.
  5. From the Actions menu, choose Instance Settings, and then choose Modify instance placement.
  6. Change Tenancy to Dedicated instance.
  7. Choose Save.
  8. From the Actions menu, choose Manage instance state.
  9. Choose Start, Change state, Start.

For more information on the two offerings, see Differences between Dedicated Hosts and Dedicated Instances.


Related information

Dedicated Hosts

What do I need to know when my Amazon EC2 instance is scheduled for retirement?

What happens during an EC2 scheduled maintenance event and what preventative actions can I take?

Allocate Dedicated Hosts

Modify instance tenancy and affinity

AWS OFFICIAL
AWS OFFICIALUpdated 2 years ago