Configuring Instance Protection
Scenarios
To control whether an instance can be removed automatically from an AS group, use instance protection. Once configured, when AS automatically scales in the AS group, the instance that is protected will not be removed.
Prerequisites
- Health check replacement if the instance fails health checks
- Manual removal
- Instance protection does not protect unhealthy instances because such instances cannot provide services.
- By default, instance protection does not take effect on the ECSs that are newly created in or added to an AS group.
- If an instance is removed from an AS group, its instance protection setting is lost.
Enabling Instance Protection
- Log in to the AS console.
- Click the name of the target AS group. The AS group overview page is displayed.
- Click the Instances tab. On the instance list page, enable instance protection for target instances. You can enable instance protection for one or more instances at a time.
Enabling instance protection for a single instance: Locate the row that contains the target instance and enable instance protection.
Figure 1 Enabling instance protection for a single instance
Enabling instance protection for multiple instances: Select multiple target instances and choose More > Enable Instance Protection above the instance list. In the displayed dialog box, click OK.
Figure 2 Enabling instance protection for multiple instances

Disabling Instance Protection
- Log in to the AS console.
- Click the name of the target AS group. The AS group overview page is displayed.
- Click the Instances tab. On the instance list page, disable instance protection for target instances. You can disable instance protection for one or more instances at a time.
Disabling instance protection for a single instance: Locate the row that contains the target instance and disable instance protection.
Figure 3 Disabling instance protection for a single instance
Disabling instance protection for multiple instances: Select multiple target instances and choose More > Disable Instance Protection above the instance list. In the displayed dialog box, click OK.
Figure 4 Disabling instance protection for multiple instances

What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot

