Saltar al contenido

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.

preguntada hace 2 años682 visualizaciones

1 Respuesta
2
Respuesta aceptada

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

EXPERTO

respondido hace 2 años

EXPERTO

revisado hace 2 años

EXPERTO

revisado hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.