I accidentally deleted the VPC and Subnet, Route table, Internet gateway. Now I'm unable to start my sagemaker notebook instance which contains important notebooks. I get a failure reason.

0

I accidentally deleted the VPC and Subnet, Route table, Internet gateway. Now I'm unable to start my sagemaker notebook instance which contains important notebooks. I get the following failure reason

Failure reason Check if the subnet id is correct. The subnet ID 'subnet-0015241929f8c399c' does not exist (Service: AmazonEC2; Status Code: 400; Error Code: InvalidSubnetID.NotFound; Request ID: ffa631dd-2258-44bc-bb50-a52a55ebb71c; Proxy: null)

I created a new VPC with a same region where my sagemaker notebook instance created. And I created a new subnet, route table and internet gateway and associated these with the new VPC. Then I tried to edit my sagemaker notebook instance and change the VPC to the newly created VPC, but I was unable to select the VPC. The dropdown option didn't show any VPC.

I don't have any backups also. Is there any chance to start my sagemaker notebook instance and get my notebooks ?

Tamil
asked 3 months ago168 views
1 Answer
0

Unfortunately it isn't possible to change VPC settings :-(

https://repost.aws/knowledge-center/sagemaker-notebook-vpc-troubleshoot

After you create a SageMaker notebook instance, you can’t change the network configuration settings. This applies to both Public internet only and VPC SageMaker notebooks.

However you might still see the EBS volume of your notebook instance, attach it to another EC2 instance and copy important content off from it. And then launching a new notebook and copying your files back to it.

profile picture
EXPERT
Kallu
answered 3 months ago
  • I think I have deleted EBS volume and Snapshots also. I don't see any EBS volume and snapshots.

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