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
ESPECIALISTA
feita há 5 anos1197 visualizações
1 Resposta
1
Resposta aceita

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

respondido há 5 anos
profile picture
ESPECIALISTA
avaliado há 23 dias
  • 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?

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas