SageMaker Studio with custom EFS: permission denied for write operations

0

I going to use SageMaker Studio with an existing custom file system (EFS). I followed the instructions comprised in: https://docs.aws.amazon.com/sagemaker/latest/dg/domain-custom-efs.html Additionally, the SageMaker user role has a policy AmazonElasticFileSystemClientReadWriteAccess attached. The solution works well with ReadOnly access, but I get the "Permission denied: custom-file-systems/efs/fs-..." error for the write operations.

Any ideas on how to cope with it? SageMaker Studio is an AWS-managed service, there is no full control over OS/file system configuration.

3개 답변
0

Hi,

Did you follow the guidance re. Custom EFS volume for SageMaker Studio: https://docs.aws.amazon.com/sagemaker/latest/dg/domain-custom-efs.html

I twas announced a few months ago; https://aws.amazon.com/about-aws/whats-new/2023/11/amazon-eds-volume-jupyterlab-codeeditor-amazon-sagemaker-studio/

Additionally, did you set up your EFS for write access according to: https://repost.aws/knowledge-center/efs-enable-read-write-access ?

Best,

Didier

profile pictureAWS
전문가
답변함 한 달 전
0

Far from expert here, but are you sure you are writing with the correct user profile?
"When you onboard to Studio, SageMaker creates an Amazon Elastic File System (EFS) volume for your domain that is shared by all Studio users in the domain. Each user gets their own private home directory on the EFS volume. This home directory is used to store the user's notebooks, Git repositories, and other data. To prevent other users in the domain from accessing the user's data, SageMaker creates a globally unique user ID for the user's profile and applies it as a POSIX user/group ID for the user’s home directory."

profile pictureAWS
답변함 한 달 전
0

did you try to attach the policy with the sagemaker execution role in place of user role?

답변함 22일 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠