All Products
Search
Document Center

Elastic Compute Service:Change the deployment set of an instance

Last Updated:Mar 15, 2024

You can change the deployment set of an Elastic Compute Service (ECS) instance to move the instance to a different deployment set or add an ECS instance that does not belong to a deployment set to a deployment set based on your business requirements. This topic describes how to change the deployment set of an instance.

Prerequisites

The instance whose deployment set you want to change is in the Running or Stopped state. For more information, see Start an instance and Stop an instance.

Procedure

  1. Log on to the ECS console.

  2. In the left-side navigation pane, choose Instances & Images > Instances.

  3. In the top navigation bar, select the region and resource group to which the resource belongs. 地域

  4. On the instance list page, find the instance that you want to manage. In the Actions column, choose 1 > Deployment & Elasticity > Change Deployment Set.

    Note

    To move an ECS instance from one deployment set to another deployment set, you can also perform the following steps: Click the ID of the source deployment set on the Deployment Sets page, find the ECS instance on the Instances tab, and then click Change Deployment Set in the Actions column.

  5. In the Change Deployment Set dialog box, select the destination deployment set and set the Force Change parameter.

    Valid values of the Forced Change parameter:

    • Yes: allows the instance to be moved to a different host. A forced change of deployment sets may cause the instance to restart. Proceed with caution.

    • No: does not allow the instance to be moved to a different host. The instance remains on the current host, which may cause a failure to change the deployment set of the instance.

  6. Click Confirm.

    In the Other Information section on the Instance Details page, check whether the deployment set of the ECS instance is changed.

References

  • You can change the name and description of a deployment set based on your business requirements. For more information, see Modify a deployment set.

  • You can also call an API operation to change the deployment set of an ECS instance. For more information, see ModifyInstanceDeployment.