- Newest
- Most votes
- Most comments
Hello, I believe the error is because the execution role used in your example is incorrect, It should be AmazonBraketServiceSageMakerNotebookRole (i.e., the role that is created for you in the create notebook dialog).
Hello SmartNeeraj, the notebooks require a specific IAM role to function: a role with a name that begins with AmazonBraketServiceSageMakerNotebook. The Braket Developer Guide contains details on how to get the role setup: https://docs.aws.amazon.com/braket/latest/developerguide/braket-manage-access.html#notebooks-and-roles
I just gave additional policy to my amazon notebook 'AmazonBraketFullAccess'. Although this is something additional, because the user role already has 'AmazonBraketFullAccess' policy assigned to user's IAM role.
Unfortunately, the notebooks don't inherit permissions from the logged in user. They only have the permissions from the role they are launched with. So, your solution was correct. Roles for notebook execution need to have AmazonBraketFullAccess.
Relevant content
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated a year ago
- How can I resolve the "ERROR: ˂module/extension˃ must be loaded via shared_preload_libraries" error?AWS OFFICIALUpdated a year ago