How Do I Make A SageMaker Studio Domain/Model Accessible From OutSide AWS As A RestFul Endpoint?

0

I am getting a "Missing Auth Token" error when attempting to POST to my Inference Model in AWS from Postman desktop. The model works fine from the internal-to-AWS test pages in SageMarker Studio. The model is deployed on a serverless endpoint.

preguntada hace un año285 visualizaciones
1 Respuesta
0

Hi User,

SageMaker endpoints are scoped to an individual AWS account, and are not public. The URL does not contain the account ID, but SageMaker determines the account ID from the authentication token that is supplied by the caller.

You may setup an API Gateway with Lambda function to invoke your endpoint via public client applications like Postman. For detailed steps on how to set this up, refer to this blog. It uses Postman to validate the endpoint too, which is very similar to your case here.

Let me know if it works, thanks!

profile pictureAWS
EXPERTO
ljunkai
respondido hace un año

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.

Pautas para responder preguntas