Life Cycle

Last updated: 2021-12-13 11:50:50

    The lifecycle of a Tencent Cloud CVM instance refers to all statuses from the launch of the instance to its release. Properly managing the Tencent Cloud instance in different statuses can ensure that applications running on the instance provide services economically and efficiently.

    Instance Status

    • An instance has the following statuses:
      Status NameStatus AttributesDescription
      CreatingIntermediate statusThe instance has been created but is not running yet.
      RunningSteady statusThe instance is running normally, and you can run your services on this instance.
      RestartingIntermediate statusA restart operation has been performed for the instance via the console or APIs, but the instance is not running yet. If this status lasts for a long time, there may be an exception.
      ReinstallingIntermediate statusThe instance's system has been reinstalled or its disk has been reconfigured via the console or APIs, but the instance is not running yet.
      Shutting DownIntermediate statusA shutdown operation has been performed for the instance via the console or APIs, but the instance has not been shut down yet. If this status lasts for a long time, there may be an exception. We do not recommend forced shutdown.
      ShutdownSteady statusThe instance has been shut down normally and cannot provide external services. Some instance attributes can only be modified when the instance is in shutdown status.
      TerminatingIntermediate statusThe instance has expired for 7 days or the user has performed the termination operation, but it has not completed yet.
      ReclaimedSteady statusA pay-as-you-go instance has been manually terminated for less than 2 hours and put into the recycle bin. In this status, the instance does not provide external services.
      ReleasedSteady statusThe release operation has been completed. The original instance no longer exists, cannot provide services, and its data is completely cleared.
    • Instance Status Transition:

    Launching an instance

    • After an instance is launched, it will enter the creating status. For instance in this status, its hardware specifications will be configured according to the specified instance type, and the system will launch the instance using the image specified at launch.
    • The instance will enter the running status after it is created. An instance in the running status can be connected to and accessed normally.

    For more information about instance startup, see Creating an instance, Logging in to a Windows instance, and Logging in to a Linux instance.

    Restarting an instance

    We recommend you restart an instance via the Tencent Cloud Console or Tencent Cloud APIs instead of running the OS restart command in the instance.

    • After the restart operation is performed, the instance will enter the restarting status.
    • Restarting an instance is like restarting a computer. After restarted, the instance will retain its public IP address, private IP address and all data on its disk.
    • Depending on its configuration, restarting the instance normally takes dozens of seconds to several minutes.

    For more information about how to restart an instance, please see Restart Instances.

    Shutting down an instance

    You can shut down the instance via the console or APIs.

    • Shutting down an instance is like shutting down a computer.
    • A shutdown instance no longer provides external services, but the billing of the instance continues.
    • A shutdown instance will still be displayed in the console.
    • Shutdown is required for some configuration operations such as adjusting hardware configurations and resetting passwords.
    • The shutdown operation does not change the CVM's public IP, private IP, or any data on its disk.

    For more information about shutting down an instance, please see Shutdown Instances.

    Terminating and releasing an instance

    If you no longer need an instance, you can terminate and release it via Tencent Cloud Console or APIs.

    • Manual termination: pay-as-you-go instances will be released after being retained in the recycle bin for a maximum of 2 hours.
    • Auto termination due to expiry or overdue payment: pay-as-you-go instance will be automatically terminated when its balance drops below 0 for 2 hours and 15 days. Billing will continue for the first 2 hours, then the instance will shut down and no longer be billed. The overdue pay-as-you-go instance will not enter the recycle bin and can be viewed on the instance list. You can continue to use the instance if you renew it within the specified time.

    When an instance is terminated, its system disks and data disks specified at purchase will be released. However, cloud disks mounted on the instance will not be affected.
    For more information on terminating an instance, please see Terminate Instances.