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
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 > 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.
Disabling instance termination protection
If you are sure that an instance can be terminated, follow the steps below to disable instance termination protection.
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?