tencent cloud

Enabling Instance Termination Protection
Last updated: 2024-01-08 09:32:02
Enabling Instance Termination Protection
Last updated: 2024-01-08 09:32:02

Overview

To prevent instances from being terminated unexpectedly, you can enable Termination Protection.
When Termination Protection is enabled, the instance cannot be terminated in the console or by using APIs. You can disable this setting any time as necessary.

Notes

Instance termination protection is disabled by default.
Instance termination protection does not take effect at the system level; for example, when a pay-as-you-go instance is to be terminated due to overdue payment, the protection does not apply.

Directions

Enabling termination protection

Existing instances
Newly purchased instances
1. Log in to the CVM console.
2. You can enable instance termination protection for one or multiple instances as needed:
One instance: On the Instances page, find the target instance and click More > Instance Settings > Instance Termination Protection.


Multiple instances: On the Instances page, select the target instances and select More > Instance Settings > Instance Termination Protection.


3. In the Instance Termination Protection pop-up window, select Enable and click *OK.
When purchasing an instance, select Custom Configuration and select Instance termination protection on the 2. Complete Configuration tab.


Note:
For more information on other parameters, see Creating Instances via CVM Purchase Page.


Disabling instance termination protection

If you are sure that an instance can be terminated, follow the steps below to disable instance termination protection.
1. Log in to the CVM console.
2. You can disable instance termination protection for one or multiple instances as needed:
One instance: On the Instances page, find the target instance and click More > Instance Settings > Instance Termination Protection.


Multiple instances: On the Instances page, select the target instances and select More > Instance Settings > Instance Termination Protection.


3. In the Instance Termination Protection pop-up window, select Disable and click *OK.

References

Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback