Accessing SageMaker Notebooks without accessing the console

0

Is it possible to access SageMaker Notebooks without accessing the console?

Do we have a best practice for that? In the create-presigned-notebook-instance-url command, what is the --session-expiration-duration-in-seconds: is it the validity duration of the URL or the max session duration once the URL has been clicked?

AWS
エキスパート
質問済み 5年前1197ビュー
1回答
1
承認された回答

I have experimented with CreatePresignedNotebookInstanceUrl a number of times. It returns an "AuthorizedUrl" string in the form: https://<notebook_instance_name>.notebook.<region>.sagemaker.aws?authToken=<a_very_long_string>

I used the URL in another browser with no AWS console's session cookies (not logged in to the console) and it worked (could access my notebooks).

The parameter SessionExpirationDurationInSeconds is... well, exactly what it says, The number of seconds the presigned url is valid for. The API accepts a range of [1800, 43200] in seconds, which is equivalent to : 30 minutes to 12 hours .

I hope this helps

回答済み 5年前
profile picture
エキスパート
レビュー済み 23日前
  • I cannot open the pre-signed url in a browser that has not logged in to the aws console. Is there any other configuration I need to do?

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

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

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

関連するコンテンツ