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.

demandé il y a un an284 vues
1 réponse
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
EXPERT
ljunkai
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions