Notebook stopped working. Cannot access and shows in notebook instances only intermittently.

0

I was working on a Sagemaker notebook when suddenly it stopped working. I stopped and notebook and started it again, but now I cannot access it, getting the following error:

AccessDeniedException User: arn:aws:sts::755460267215:assumed-role/voclabs/user1672114=9540446637 is not authorized to perform: sagemaker:ListNotebookInstances with an explicit deny in an identity-based policy

Can somebody please help? I should note that I am pretty new to the Sagemaker environment.

질문됨 2년 전603회 조회
1개 답변
0

It looks like the AWS IAM identity that you're logged in to the AWS Console with (going by your error message, the assumed Role voclabs) does not have permission to list SageMaker notebook instances.

If you use multiple Roles (or a combination of your own IAM User and assumed Roles), you may need to switch roles back to the identity you were previously using to access SageMaker.

If you always use the same role, it may be that the attached access policies have been changed (reference list of SageMaker IAM actions and resources here). You'll need sagemaker:ListNotebookInstances to list notebook instances in the console and sagemaker:CreatePresignedNotebookInstanceUrl to open Jupyter/JupyterLab on an instance. From the error message it looks like there's a permission policy attached to your role that's explicitly denying this access. Your administrator should be able to help with this, or can refer to the AWS IAM documentation and IAM service console if you manage the account yourself.

AWS
전문가
Alex_T
답변함 2년 전

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

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

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

관련 콘텐츠