使用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 天前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则