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 close this setting any time as necessary.
Notes
Instance termination protection is closed 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
Newly purchased instances
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 actions > 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.
Closing instance termination protection
If you are sure that an instance can be terminated, follow the steps below to close instance termination protection.
2. You can close 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 actions > Instance settings > Instance termination protection.
3. In the Instance termination protection pop-up window, select Close and click OK.
References