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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南