A user has launched an EC2 instance. However, due to some reason the instance was terminated. If the user wants to find out the reason for termination, where can he find the details?

Last Updated on November 13, 2021 by Admin

A user has launched an EC2 instance. However, due to some reason the instance was terminated. If the user wants to find out the reason for termination, where can he find the details?

  • It is not possible to find the details after the instance is terminated
  • The user can get information from the AWS console, by checking the Instance description under the State transition reason label
  • The user can get information from the AWS console, by checking the Instance description under the Instance Status Change reason label
  • The user can get information from the AWS console, by checking the Instance description under the Instance Termination reason label
Explanation:
An EC2 instance, once terminated, may be available in the AWS console for a while after termination. The user can find the details about the termination from the description tab under the label State transition reason. If the instance is still running, there will be no reason listed. If the user has explicitly stopped or terminated the instance, the reason will be “User initiated shutdown”.