How do I move an Amazon EC2 instance from shared tenancy to a Dedicated Host, or vice-versa?

Last updated: 2020-08-12

I want to move an Amazon Elastic Compute Cloud (Amazon EC2) instance from shared tenancy to a Dedicated Host.

-or-

I want to move an Amazon EC2 instance from a Dedicated Host to shared tenancy.

Short description

Shared tenancy is the default tenancy for Amazon EC2 instances that launch in a virtual private cloud (VPC). You can change the default tenancy of a virtual private cloud (VPC) from default (shared) to a Dedicated Host.

Resolution

Move an EC2 instance from shared tenancy to a Dedicated Host

An Amazon EC2 Dedicated Host is a physical server with Amazon EC2 instance capacity that is fully dedicated to your use. Dedicated Hosts allow you to use your existing per-socket, per-core, or per-virtual machine (VM) software licenses, including Windows Server, Microsoft SQL Server, SUSE, and Linux Enterprise Server.

Dedicated Hosts can incur higher costs than shared tenancy, and don’t support burstable instance types. For more information about pricing and compatible instance types for Dedicated Hosts, see Amazon EC2 Dedicated Instances.

Before you begin, review the limitations and restrictions for Dedicated Hosts.

To move an instance from shared tenancy to a Dedicated Host, follow these steps:

  1. Create an Amazon Machine Image (AMI) of the existing shared tenancy EC2 instance.
  2. (Optional) To keep the same private IP, terminate the existing EC2 instance running on the Dedicated Host after the AMI creation is complete. If the instance has instance store volumes, then be sure to back up the data to an Amazon Elastic Block Store (Amazon EBS) volume.
  3. Allocate a Dedicated Host using the Amazon EC2 console, AWS Command Line Interface (AWS CLI), or AWS Tools for Windows PowerShell.
  4. Launch an EC2 instance onto a Dedicated Host from the AMI that you created in step 1.
  5. (Optional) If you backed up instance store volumes to an EBS volume in step 2, then attach the EBS volume to the new instance.

Move an EC2 instance from a Dedicated Host to shared tenancy

Shared tenancy is the default tenancy for EC2 instances launched in a VPC. Shared tenancy is more economical than a Dedicated Host, and can support spot instances and burstable instance types. Shared tenancy doesn’t support instances that use the Bring Your Own License (BYOL) model. For more information about pricing and compatible instance types for shared tenancy, see Amazon EC2 pricing.

To move an instance from a Dedicated Host to shared tenancy, follow these steps:

  1. Create an AMI of the existing EC2 instance on the Dedicated Host.
  2. (Optional) To keep the same private IP, terminate the existing EC2 instance running on the Dedicated Host after the AMI creation is complete. If the instance has instance store volumes, then be sure to back up the data to an Amazon Elastic Block Store (Amazon EBS) volume.
  3. Launch an EC2 instance from the AMI that you created in step 1.
    Note: On the Configure Instance Details page, for Tenancy, choose Shared - Run a shared hardware instance.
  4. (Optional) If you backed up instance store volumes to an EBS volume in step 2, then attach the EBS volume to the new instance.

Did this article help?


Do you need billing or technical support?