aws / aws/amazon-sagemaker-examples-community

SageMaker-IT-Domain-Expert - Udacity project Error

Open
#13 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
45
Forks
28
PR merge metrics
No merged PRs in 30d

Description

I get an error that I think mainly is because there are missing permissions that I can't find in the current version of AWS.
This is the image from the course:
![348447026-3ef29278-d939-46c2-9f9c-7490170bb6d2](https://github.com/user-attachments/assets/3d040000-ebe8-4991-8800-a6b96d556ca5)

These are the permissions found now:
![348447037-8a00ac36-4e69-44f0-9d7a-c7ebe9f23e85](https://github.com/user-attachments/assets/1b788148-3fd2-4e7e-92c8-2554d3ef7f49)

I can't find "manage endpoints" and "manage experiments" permissions. do you know what should I do about it?

also i got this error when i run the below function

`finetuned_predictor = estimator.deploy()`

`ClientError: An error occurred (AccessDeniedException) when calling the CreateEndpointConfig operation: User: arn:aws:sts::799955411226:assumed-role/SageMaker-udacity-ProjectRole/SageMaker is not authorized to perform: sagemaker:CreateEndpointConfig on resource: arn:aws:sagemaker:us-west-2:799955411226:endpoint-config/meta-textgeneration-llama-2-7b-2024-07-22-18-13-51-081 with an explicit deny in a service control policy`

Contributor guide

Open the contributing guide

Research direction

Start with the reported estimator.deploy() call and the CreateEndpointConfig AccessDeniedException, then compare the course's permissions with the current SageMaker role and service control policy. Done means identifying the current permission or policy restriction and documenting the required AWS configuration for the project.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud, machine-learning, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.