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.

preguntada hace 2 años216 visualizaciones
2 Respuestas
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
respondido hace 9 meses
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
respondido hace 9 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas