tencent cloud

Cloud Virtual Machine

Release Notes and Announcements
Release Notes
Public Image Release Notes
Official End of Support Plan for the Operating System
Announcements
Product Introduction
CVM Overview
Strengths
Basic Concepts
Regions and Zones
Tutorial
Service Regions and Service Providers
Billing
Billing Overview
Billing Modes
Billing Items
Billing Mode Conversion Overview
Purchasing Instances
Configuration Adjustment Billing Guide
Overdue Payments
Getting Started
Purchasing a Customized Linux Instance
Purchasing a Customized Windows Instance
User Guide
Operation Guide Overview
Use Limits
Instances
Spot Instances
Reserved Instances
Images
Storage
Backup and Restoration
Network
Security
Passwords/Keys
Monitoring and Alarms
Ops Management
Convenience Features
Migrating a Server
Online Migration
Migration Consultation
Troubleshooting
CVM Login Failures
Windows Instance Login Failures
Linux Instance Login Failures
Other Login Failures
Instance Running Failures
Linux Instance Memory Failures
Network Failures
Use Cases
Suggestions on CVM Model Selection
Environment Building
Website Building
Application Building
Visual GUI Building
Uploading Local Files to CVM
Network Performance Test
Other Practical Tutorials
API Documentation
History
Introduction
API Category
Making API Requests
Region APIs
Instance APIs
Cloud Hosting Cluster APIs
Image APIs
Instance Launch Template APIs
Placement Group APIs
Key APIs
Security Group APIs
Network APIs
Data Types
Error Codes
Security and Compliance
CAM
Network
FAQs
Regions and Zones
Billing
Instances
Storage
Images
Server Migration
Network
Security
Operating Systems
Ops and Monitoring
CAM
NTP Service
Scenarios
Agreements
CVM Service Level Agreements
Red Hat Enterprise Linux Image Service Agreement
Public IP Service Level Agreement
Glossary

Terminating/Returning an Instance

PDF
Focus Mode
Font Size
Last updated: 2025-12-31 18:31:34
This document describes how to terminate and release a Cloud Virtual Machine (CVM) instance. For more information on expiration, see Payment Overdue.

Overview

You can terminate an instance if you no longer need it. The terminated instance will be put into the recycle bin. For instances in the recycle bin, you can restore or release them as needed based on different scenarios.
Note:
If your account is in arrears, then for pay-as-you-go instances, you need to renew the instances first before restoring them.

Methods for Termination/Release

For pay-as-you-go instances, the methods for instance termination and release are as follows:
Manual termination: You can manually terminate a pay-as-you-go instance that is not in arrears. A pay-as-you-go instance is released after it remains in the recycle bin for over 2 hours.
Timed termination: Timed termination is supported for pay-as-you-go instances. You can select a future time to terminate resources. The set termination time is precise to the second. Instance resources for which timed termination is set will be released immediately as scheduled, instead of going into the recycle bin. You can cancel timed termination at any time before the set termination time.
Expiry/arrears auto termination: 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 pay-as-you-go instance can be viewed on the instance list. You can continue to use the instance if you renew it within the specified time. For more information, see Renewing Instances.
Type
Manual termination
(not in arrears)
Timed termination
(not in arrears)
Automatic termination upon expiration or when in arrears
Pay-as-you-go instances
After termination, the instance is stored in the recycle bin for 2 hours, and if it is not restored within these 2 hours, it will be released.
Instances for which timed termination is set will be released immediately as scheduled, instead of going into the recycle bin.
After an instance enters into arrears, for the first 2 hours, billing will continue and the instance can still be used normally. In the next 15 days, however, the instance will be shut down, and billing will stop. If the instance is not renewed within the aforementioned period, the instance will be released.
Monthly-Subscribed Instance
Early Destruction Not Supported
Scheduled Termination Not Involved
After expiration, terminated instances enter the recycle bin and are retained for a maximum of 15 days; if not restored upon expiration, the instance will be released.

Relevant Impact

When an instance is terminated, the relevant impact on instance data, EIPs, and billing is as follows:
Billing: when an instance is being terminated or has been released, no expenses related to this instance are incurred.
Instance data: local disks and non-elastic cloud disks attached to the instance are all released, and the data on these disks will be lost. Back up the data in advance. Elastic cloud disks follow their own lifecycle.
EIP: EIPs (including IP addresses on the secondary ENI) of a terminated instance are retained, and idle IP addresses may incur expenses. If you don't need them anymore, release them as soon as possible.

Directions

You can manually terminate/release instances through the following ways:
Terminate/release instances in the console. For more information, see Terminating/Returning Instance in Console.
Terminate/release instances by calling the API. For more information, see TerminateInstances.

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback