After an instance is created, you can modify its name, hostname, and description. If the instance is a pay-as-you-go instance, you can also enable or disable release protection for the 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 a region.
  4. Find the target instance, and choose More > Instance Settings > Modify Instance Properties in the Actions column.
  5. Modify the properties of the instance.
  6. Click OK.
  7. If the hostname of the instance is modified, restart the instance for the new hostname to take effect.
    Notice You must restart an ECS instance in the ECS console or by calling the RebootInstance API operation. Restarting the operating system of the ECS instance will not work.