Difference between revisions of "AWS EC2 Instance lifecycle"

From wikieduonline
Jump to navigation Jump to search
Line 13: Line 13:
  
 
Two days, according to [[ChatGPT]]
 
Two days, according to [[ChatGPT]]
* aws autoscaling update-auto-scaling-group --auto-scaling-group-name my-asg --termination-policies OldestInstance
+
* <code>aws autoscaling update-auto-scaling-group --auto-scaling-group-name my-asg --termination-policies OldestInstance</code>
 +
* <code>[[aws ec2 modify-instance-attribute]]</code>
  
 
== Related ==
 
== Related ==

Revision as of 16:06, 25 January 2023


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

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

Related


See also

Advertising: