Updated on 2025-04-18 GMT+08:00

ECS Events

Elastic Cloud Server (ECS) is a cloud server that provides scalable, on-demand computing resources for secure, flexible, and efficient applications. ECSs are the core of various services. Slight changes in ECS performance, abnormal running, and automatic recovery, may greatly affect the applications that run on the ECS.

Therefore, elastic load balancers are required to distribute access traffic to multiple backend ECSs based on forwarding policies. Traffic distribution expands the external service capability of the application system. This eliminates single point of failures (SPOFs), thereby improving the application system availability. The event monitoring function of Cloud Eye can monitor ECS running exceptions and automatic recovery. You can subscribe to the ECS event notification when changes occur.

Table 1 Key ECS events

Event Name

Event Description

Handling Method

Restart triggered due to hardware fault

ECSs on a faulty host would be automatically migrated to another properly-running host. During the migration, the ECSs were restarted and Cloud Eye sent an event Restart triggered due to hardware fault. After the migration is complete, Cloud Eye sent an event Restart completed due to hardware failure.

This event indicates that a fault has occurred and the ECS cannot be used. In this case, you need to replace the ECS or direct traffic to other ECSs.

Restart completed due to hardware failure

This event indicates that the ECS is working properly and can be used again.

Procedure

  1. Log in to the management console.
  2. In the upper left corner, select a region and a project.
  3. Choose Service List > Cloud Eye.
  4. In the navigation pane on the left, choose Event Monitoring. In the upper right corner, click Create Alarm Rule and set parameters as prompted.

    In this example, Event Name of one alarm policy is set to Restart triggered due to hardware fault and of another policy is set to Restart completed due to hardware failure. For details about the parameters, see Creating an Alarm Rule to Monitor an Event.

  5. Click Create.

    When abnormal ECS events occur, Cloud Eye notifies you in real time through the SMN service.