Facing one problem with ec2 during last week I have upgraded my ec2 from c3.2xlarge
to m4.2xlarge
and again after few hours I have down grade to c3.2xlarge
and working fine. At next day I got an email from AWS for "EC2 Instance scheduled for retirement"
and my ec2 is stooped.
I have started ec2 again its working fine but not sure any other point need to take care or not can any one help me here.
An instance is scheduled to be retired when AWS detects irreparable failure of the underlying hardware that hosts the instance.
Term: AWS offers Standard RIs for 1-year or 3-year terms. Reserved Instance Marketplace sellers also offer RIs often with shorter terms. AWS offers Convertible RIs for 1-year or 3-year terms.
Amazon EC2 Auto Scaling might terminate instances in an Auto Scaling group for the following reasons: The instance is marked as unhealthy. The instance exceeded its specified keep-alive parameters. There is an Auto Scaling group scale down event.
Amazon generally destroys the hardware periodically, if your instance is on that rack then you will get notified that instance will get retire after certain period.
If you stop and start the instance, Amazon by default will move your instance to different rack.
I am not exactly sure of the time period but last time I have checked they destroy their hardware after 2 years.
Usually you will get notified months before instance is terminated.
Thus stop and start the instance will work note not restart.
Edit: Here is the reference link
Hope that helps
I suggest you take an image of your instance and launch a new instance from it. Then terminate your old instance. We have had the same issue several times.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With