tencent cloud

Feedback

Shutting Down Instances

Last updated: 2024-01-08 09:32:02

    Overview

    The instance can be shut down when you need to stop the service, or modify configurations that can be done only in the shutdown state. Shutting down an instance is like shutting down a local computer.

    Notes

    You can shut down an instance using system commands (such as the shutdown command under Windows system and Linux system) or through the Tencent Cloud console. We recommend you view the shutdown process on the console to check whether any problem occurs.
    The instance will no longer provide services after the shutdown. Before the shutdown, make sure the CVM has stopped receiving service requests.
    During the shutdown, the status of the instance will change from "shutting down" to "shutdown". If the shutdown process takes too long, there may be an exception. For more information, please see Close an CVM to avoid forced shutdown.
    After an instance is shut down, all storage is still connected to the instance, and all disk data are retained. Data in the memory will be lost.
    Shutting down an instance does not change its physical attributes. The public and private IPs of the instance remain unchanged. Elastic Public IP is still bound to the instance. Due to service interruption, however, you will receive an error response when accessing these IPs. Classiclink relationship remains unchanged.
    If the instance belongs to the real server cluster of the CLB instance, it can no longer provide services after the shutdown. If the health check policy has been configured, the instance that has been shut down will be automatically blocked and requests will no longer be forwarded to it. Otherwise, the client may receive a 502 error code. For more information, please see Health Check.
    If the instance that has been shut down is in an auto scaling group, the auto scaling service will mark the instance as having poor performance, and may replace and move it out of the auto scaling group. For more information, please see Auto Scaling.

    Directions

    Shutting down instance via console
    Shut down instance via API

    Shutting down a single instance

    1. Log in to the CVM console.
    2. On the instance management page, proceed according to the actually used view mode:
    List view: select the target instance and click More > Instance Status > Shutdown in the Operation column on the right as shown below:
    
    
    Tab view: on the page of the target instance, select More Actions > Instance Status > Shutdown in the top-right corner as shown below:
    
    

    Shutting down multiple instances

    1. Log in to the CVM console.
    2. Select all the instances you want to shut down and click Shutdown at the top of the list to shut down instances in batches as shown below:
    
    
    Note:
    Reasons are given for instances that cannot be shut down.
    
    For more information, see the StopInstances API.

    Subsequent Operations

    You can modify the following attributes only if the instance has been shut down.
    Instance configuration (CPU, memory): To change the instance type, see Change Instance Configuration.
    Change password: see Login Password.
    Load SSH key: see SSH Key.
    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