En utilisant AWS re:Post, vous acceptez les AWS re:Post Conditions d’utilisation

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

demandé il y a 8 jours42 vues
1 réponse
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

EXPERT
répondu il y a 8 jours
profile picture
EXPERT
vérifié il y a 8 jours

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions