Skip to content

Files recovery in Sagemaker Deprecated instance

0

Hi ,

I have an AWS sagemaker notebook instance (notebook-al2-v2) which is now deprecated https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-al2.html.

I did not migrate before the deadline and have some files in that instance. Now cannot start the instance even to copy file, how to recover these files?

Thanks

asked a year ago424 views

2 Answers
1

Unfortunately, if you cannot start your deprecated SageMaker notebook instance (notebook-al2-v2), recovering files directly from the instance becomes challenging. SageMaker notebook instances use EBS volumes to store data, which are mounted to the /home/ec2-user/SageMaker directory, but these volumes cannot be accessed from outside the SageMaker notebook instance.

When a SageMaker notebook instance cannot be started, there are limited options for data recovery. The deletion or inability to start a notebook instance is generally an irreversible operation, and you may not be able to salvage your data from the instance.

For future reference, to avoid losing your code and assets, it's recommended to:

  1. Use code repositories to maintain your codes and notebooks
  2. Store your data in separate storage services such as Amazon S3
  3. Implement regular backups of your notebook instance data using either the notebook terminal or lifecycle configuration scripts
  4. Consider implementing a disaster recovery solution for critical SageMaker workloads

If you had previously set up any backup mechanisms like copying your files to an S3 bucket, you might be able to retrieve your data from there. Otherwise, you may need to contact AWS Support to see if they can offer any specific assistance for your situation, though recovery prospects may be limited.
Sources
Back up SageMaker AI notebook instance data | AWS re:Post
how to restore EBS of AWS Sagemaker notebook instance | AWS re:Post
How to retrieve deleted notebook instance on sagemaker? | AWS re:Post

answered a year ago

0

You could raise a case with the AWS Support requesting for a grace period for the deprecated instance notebook. Once you are able to open your notebook, ensure to migrate referring the blog[1]. [1] https://aws.amazon.com/blogs/machine-learning/migrate-your-work-to-amazon-sagemaker-notebook-instance-with-amazon-linux-2/

answered a year 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.