使用 AWS re:Post 即表示您同意 AWS re:Post 使用條款

Windows server EC2 is constantly shutting down

0

My EC2 - windows server keep on shutting down, no particular events are showing in the server, in cloudtrail no particular stopinstances events. it is happening daily 3 to 4 times, we are loosing the production. manually we have to start it everytime Need help

已提問 8 天前檢視次數 42 次
1 個回答
0

When the instance is in the "stopped" state, what does the field "State transition message" show for the instance in the EC2 management console?

Most often, it will say Client.UserInitiatedShutdown, meaning that the instance was stopped by calling the StopInstances EC2 API, which would show in CloudTrail logs for the region. You mentioned you didn't find any of those events. The next most common reason code would be Client.InstanceInitiatedShutdown, which indicates that the shutdown was requested by the operating system on your instance. The System event log on a Windows server would record an event when a shutdown is initiated, and if the server simply crashes, the System log would record an event on start-up that says the previous system shutdown was unexpected.

If the state transition message says Server.SpotInstanceShutdown, it means that the server was running on spot capacity which AWS reclaimed for on-demand use. You shouldn't use EC2 spot capacity to run workloads that you expect to remain available uninterrupted.

All the instance stop reasons are listed on this documentation page, with general descriptions of what each of them means: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_StateReason.html

專家
已回答 8 天前
profile picture
專家
已審閱 8 天前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南