aws/amazon-sagemaker-feedback

Internal Error when making code editor space only with custom efs

Closed this issue · 3 comments

Product Version

  • Amazon SageMaker Studio Classic
  • Amazon SageMaker Studio
  • Issue is not related to SageMaker Studio

Issue Description

I could make a space when without efs storage,

image

but when I try to make space with efs storage, it makes error:

image

What could be a reason for this problem?

I've checked

  1. I can attach EFS into EC2 instance and can trasnfer the file
  2. I gave role related to EFS to specific IAM
  3. i;ve tried the other instance (ml.t3.medium) but still does not work.
  4. I've added security group to space as I did when attach EFS into EC2 (link)[https://stackoverflow.com/questions/38632222/aws-efs-connection-timeout-at-mount]

Expected Behavior

No response

Observed Behavior

No response

Product Category

Code-Editor

Feedback Category

Error Handling and Debugging

Other Details

No response

Hi @TikaToka,

Thanks to this article, I've resolved the same issue by adding a SageMaker-created Security Group to the EFS's mount targets security groups.

The article says that SageMaker generates its security groups.

The security group name has the format security-group-for-inbound-nfs-domain-id

Could you find this security group and add it to all of the mount targets of your EFS?

On this screenshot, mount targets have two SG attached: one for EC2 instance access and another - for SageMaker.
image

Hello @v-vorobel

You are my life saver. Thank you so much!

@TikaToka you are welcome)