跳至内容

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.

已提问 2 年前680 查看次数

1 回答
2
已接受的回答

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

专家

已回答 2 年前

专家

已审核 2 年前

专家

已审核 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。