Direkt zum Inhalt

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.

gefragt vor 2 Jahren681 Aufrufe

1 Antwort
2
Akzeptierte Antwort

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

EXPERTE

beantwortet vor 2 Jahren

EXPERTE

überprüft vor 2 Jahren

EXPERTE

überprüft vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.