Passer au contenu

Unable to create AWS SageMaker Endpoint while deploying the model using LlaMa 2.

0

ClientError: An error occurred (AccessDeniedException) when calling the CreateEndpointConfig operation: User: arn:aws:sts::671409133100:assumed-role/SageMaker-udacitySagemakerRole/SageMaker is not authorized to perform: sagemaker:CreateEndpointConfig on resource: arn:aws:sagemaker:us-west-2:671409133100:endpoint-config/meta-textgeneration-llama-2-7b-2024-06-21-23-39-33-261 with an explicit deny in a service control policy. How should i create this policy to manage this job policy while creating in SageMaker IAM Access? I'm using a student account but unable to create this to manage ML Endpoints.

demandé il y a 2 ans681 vues

1 réponse
2
Réponse acceptée

Hello.

Looking at the error message, it seems that it is being denied by SCP rather than the IAM user's IAM policy.
If your AWS account is managed by an organization, it may be rejected by SCP.
Therefore, I recommend that you contact the administrator of your AWS account to confirm.
https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps.html

EXPERT

répondu il y a 2 ans

EXPERT

vérifié il y a 2 ans

EXPERT

vérifié il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.