Lost out instance

0

Hi,

As per AWS team, they have removed our instance as in the process of EC2 persistent instance retirement scheduled. We didnt check our email due to this. We lost our codes now as we didnt save in our github account.

Can you please help us to get that code from that instance.

asked 2 years ago213 views
2 Answers
0

Hello!

Unfortunately, if an instance is removed through instance retirement, there is no way to recover code from the instance unless you have created a snapshot of the instance.

Use the following documentation for further guidance: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/terminating-instances.html#termination-overview

AWS
Vidit_P
answered 9 months ago
0

Hello!

I understand that you are trying to recover code from an instance that was deleted due to a scheduled EC2 instance retirement.

If your root volume was an instance store and you had not attached any EBS volumes, unfortunately you cannot recover the instance nor the data. Once the instance passes its retirement date, the instance is terminated and cannot be used again.

If your root volume was an EBS volume, the instance will be stopped upon retirement. If your instance has not yet been terminated and is still available, you can restart your instance and it will be migrated to new underlying hardware so your data will persist.

If you had backed up your data to an EBS snapshot or AMI before the instance was terminated, you can recover your data using either of the following methods.

  1. Launch a replacement EC2 instance using EBS snapshots or AMI backups that were created from the terminated instance.
  2. Attach an EBS volume from the terminated instance to another EC2 instance. You should be able to access the data contained in those volumes.

For more information, please refer to the following documentation.

Instance Retirement

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-retirement.html https://repost.aws/knowledge-center/ec2-instance-retirement

EBS vs Instance Store

https://repost.aws/knowledge-center/instance-store-vs-ebs

EC2 Instance Root Device Volume https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/RootDeviceStorage.html

Recreating a terminated EC2 instance

https://repost.aws/knowledge-center/recovery-terminated-instance

If you should require any specific support or information regarding the resources in your account, please feel free to create a case with us.

https://docs.aws.amazon.com/awssupport/latest/user/case-management.html

Hope this helps!

AWS
Yuya_T
answered 9 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions