AWS EC2 Instance lifecycle

From wikieduonline
Jump to navigation Jump to search

  • pending
  • running
  • stopping
  • stopped
  • shutting-down
  • terminated


In AWS, when an instance is terminated, it is no longer running and cannot be restarted. The amount of time that a terminated instance remains visible in the AWS Management Console depends on the retention period set for the Auto Scaling group or the EC2 instance. The default retention period is one hour, but it can be configured to be up to seven days. Once the retention period has expired, the terminated instance is permanently deleted and is no longer visible in the AWS Management Console. Ref: ChatGPT

Two days, according to ChatGPT

aws autoscaling describe-termination-policy-types


See also[edit]