This topic describes how to query and respond to "SystemFailure.Redeploy" events in the console. This helps you quickly troubleshoot issues and run your cloud products stably.
Applicable scenario
When the host machine (host) of an ECS instance crashes due to a failure, it may be necessary to redeploy the instance to a new host machine to restore normal operations of the instance. To help you quickly resolve the failure, the platform sends you event-based notifications and also offers you comprehensive automatic O&M methods.
Scenario 1: Keep instance stopped
This scenario applies when you do not want the instance to be redeployed to another host machine when an event is triggered.
Operation processes
After an ECS instance triggers this event, it will not be redeployed. Meanwhile, an event indicating the instance is successfully stopped due to a system failure is generated to notify you.
tip
For instances in the Stopped status, billing continues.
Procedure
- In the left-side navigation pane, select "Instances & Images > Images". The Instances page appears.
- In the top menu bar, select the project and region of the target instance.
- Select "... > Operations and troubleshooting > Instance maintenance property" in the "Actions" column on the right side of the target instance.
Scenario 2: Automatically redeploy instance
This scenario applies when you want your instance to be automatically redeployed to another host machine to restore its normal operation when an event is triggered.
Operation processes
When an ECS instance triggers this event, an event indicating the instance is being redeployed due to a system failure is generated. After receiving this notification, the O&M personnel redeploys your instance to a new host machine, which is expected to take 5 minutes.
Procedure
- In the left-side navigation pane, select "Instances & Images > Images". The Instances page appears.
- In the top menu bar, select the project and region of the target instance.
- Select "... > Operations and troubleshooting > Instance maintenance property" in the "Actions" column on the right side of the target instance.
- When the ECS instance is redeployed successfully after triggering this event, an event indicating the instance is successfully redeployed due to a system failure is generated to synchronize the O&M result with you.