Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

EC2 Instance scheduled for retirement

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.

like image 909
MANISHDAN LANGA Avatar asked Jul 14 '16 11:07

MANISHDAN LANGA


People also ask

What is retire in AWS?

An instance is scheduled to be retired when AWS detects irreparable failure of the underlying hardware that hosts the instance.

How long can you reserve EC2 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.

Why did my EC2 instance terminate?

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.


2 Answers

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

like image 165
Harshal Bulsara Avatar answered Oct 16 '22 09:10

Harshal Bulsara


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.

like image 23
Mahdi Avatar answered Oct 16 '22 08:10

Mahdi