Skip to content

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.

asked 2 years ago434 views
1 Answer
2
Accepted Answer

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
answered 2 years ago
EXPERT
reviewed 2 years ago
EXPERT
reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.