Query processed ECS system events from the past week for troubleshooting and analysis.
View in the console
Go to ECS console - Events.
On the Event page, select an event type to view system events by region, including the instance ID, event type, and event status.
Example: / Instance Type Change Requires Restart event.
On the Instance Type Change Requires Restart Events page, a yellow notice bar at the top explains the event meaning and precautions. After selecting a region, the table displays the following information: Instance ID/Name, Instance Status (e.g., Running), IP Address (Internet/Intranet), Instance Configuration (e.g.,
2 vCPU 4 GiB (I/O optimized) ecs.u1-c1m2.large 2 Mbps), Scheduled Restart Time (e.g., November 20, 2024 14:17:00), and the Actions column, which includes the Restart and Modify Scheduled Restart Time links.
View events with the Alibaba Cloud CLI
Obtain the instance ID.
aliyun ecs DescribeInstances --RegionId <TheRegionId> --output cols=InstanceId,InstanceName rows=Instances.Instance[]Call
DescribeInstanceHistoryEventsto query historical system events.aliyun ecs DescribeInstanceHistoryEvents --RegionId <TheRegionId> --InstanceId i-bp13kpqetxnp2a****** --output cols=EventId,EventTypeName rows=InstanceSystemEventSet.InstanceSystemEventType[]