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年前285ビュー
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
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ