You can change the tenancy of an instance after
you have launched it. You can also modify the affinity for your instance to target a
specific host or allow it to launch on any available dedicated host with matching
attributes in your account. To modify either instance tenancy or affinity, the
instance must be in the stopped
state.
The operating system details of your instance—and whether SQL Server is installed—affect what conversions are supported. For more information about the tenancy conversion paths available to your instance, see Tenancy conversion in the License Manager User Guide.
Note
For T3 instances, you must launch the instance on a Dedicated Host to use a
tenancy of host
. For T3 instances, you can't change the tenancy
from host
to dedicated
or default
.
Attempting to make one of these unsupported tenancy changes results in an
InvalidRequest
error code.
You can modify an instance's tenancy and affinity using the following methods.
To modify instance tenancy or affinity
Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/
. -
Choose Instances, and select the instance to modify.
-
Choose Instance state, Stop.
-
With the instance selected, choose Actions, Instance settings, Modify instance placement.
-
On the Modify instance placement page, configure the following:
-
Tenancy—Choose one of the following:
-
Run a dedicated hardware instance—Launches the instance as a Dedicated Instance. For more information, see Amazon EC2 Dedicated Instances.
-
Launch the instance on a Dedicated Host—Launches the instance onto a Dedicated Host with configurable affinity.
-
-
Affinity—Choose one of the following:
-
This instance can run on any one of my hosts—The instance launches onto any available Dedicated Host in your account that supports its instance type.
-
This instance can only run on the selected host—The instance is only able to run on the Dedicated Host selected for Target Host.
-
-
Target Host—Select the Dedicated Host that the instance must run on. If no target host is listed, you might not have available, compatible Dedicated Hosts in your account.
For more information, see Amazon EC2 Dedicated Host auto-placement and host affinity.
-
-
Choose Save.