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.

1 Answer
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
answered a year 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.

Guidelines for Answering Questions