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.

질문됨 일 년 전284회 조회
1개 답변
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
전문가
ljunkai
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠