tencent cloud


Life Cycle

Last updated: 2022-04-20 12:32:45

    The lifecycle of a Tencent Cloud CVM instance refers to all statuses from the launch of the instance to its release. Properly managing the CVM 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 goes to the "Creating" status. For an 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.
    • An instance goes to "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, see Restarting Instances.

    Shutting down an instance

    You can shut down the instance in the console or by using APIs.

    • Shutting down an instance is like shutting down a computer.

    • A shutdown instance no longer provides services, but the billing of the instance continues.

    • A shutdown instance is still visible in the console.

    • You need to shutdown an instance for some operations, such as adjusting hardware configurations and resetting the password.

    • The shutdown operation does not change the CVM's public IP, private IP, or any data on its disks.

      For more information about shutting down an instance, see Shutting Down Instances.

    Terminating and releasing an instance

    If you no longer need an instance, you can terminate and release it in the console or by using APIs.

    • Manual termination: Pay-as-you-go instances are released after being moved to the recycle bin for two hours.
    • Auto termination due to expiry or overdue payment: Pay-as-you-go instances will be automatically terminated when the account 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 disk and data disks specified at purchase will be released. However, cloud disks attached to the instance will not be affected.
    For more information on terminating an instance, see Terminating Instances.

    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support