How to Trigger a SageMaker Jupyter Notebook File from AWS Lambda using WebSockets

Поділитися
Вставка
  • Опубліковано 9 лис 2024

КОМЕНТАРІ • 16

  • @vaibhavgupta7429
    @vaibhavgupta7429 3 місяці тому

    Commendable video, thanks a lot. Would appreciate if a lot of missing steps could be documneted in the doc also

    • @sumitkumar2955
      @sumitkumar2955  3 місяці тому

      Thanks 🙏
      I guess,I have updated all the steps but I will check and update in below blog.
      deltafrog.net/trigger-sagemaker-jupyter-notebook-file-from-aws-lambda/

  • @yejinzai
    @yejinzai 4 місяці тому

    Thank you so much! Proven it works!

  • @TechnoSparkBigData
    @TechnoSparkBigData 5 місяців тому

    Nice video sir

  • @AbhishekRoy-w2f
    @AbhishekRoy-w2f 2 місяці тому +1

    can we run the lambda function without opening the terminal. i am only able to run it if i am opening terminal, the notebook run is successful. if i am not opening terminal, lambda function is successful then also but sagemaker notebook is not running

    • @sumitkumar2955
      @sumitkumar2955  2 місяці тому

      "Can you run the lambda function without opening the terminal "- what does it mean could you please tell me which terminal you opening and running lambda?

    • @sidhukadi
      @sidhukadi Місяць тому

      Hi, I found the hard way that the terminal needs to running as well for the code to work which is pretty expensive. I moved to lifecycle configuration and using nohup and it's working. I use lambda to start and stop the instance.

  • @aashishpant
    @aashishpant 3 місяці тому

    does this starts the notebook instance by itself or we have to run this while instance is running?

    • @sumitkumar2955
      @sumitkumar2955  3 місяці тому

      Yes, we have to run this while instance is running..Thanks

  • @ranjeethrikkala6344
    @ranjeethrikkala6344 Місяць тому

    Hi @Sumit Kumar.
    This is workinng with notebook instances.
    But not working with Sagemaker Studio Juypter lab notebooks. Can you please help.

    • @sumitkumar2955
      @sumitkumar2955  Місяць тому

      @@ranjeethrikkala6344 sure i will check and let you know

    • @ranjeethrikkala6344
      @ranjeethrikkala6344 Місяць тому

      @@sumitkumar2955 Hi Sumit.
      Have you found out the soultion for Sagemaker Studio Notebook.
      Also above code is not working when notebook instance is stopped. Which will require us to start it manually. In which case automation with trigger is not served.

  • @mayankv83
    @mayankv83 2 місяці тому

    Thanks for Video.
    receiving error white test lamda function "An error occurred (ValidationException) when calling the StartNotebookInstance operation: Status (InService) not in ([Stopped, Failed]). Unable to transition to (Pending) for Notebook Instance"
    Please help me.

    • @sidhukadi
      @sidhukadi Місяць тому

      you need to start the notebook instance. Maybe another lamdbda to start it first if you want it fully automated.