Here’s how you can automatically run a Jupyter notebook on Amazon Web Services. Never really thought about automating notebooks, but this could actually be really useful if you already have a pipeline that’s functioning and you don’t want to have to reorganise everything into an actual script. If you find this video useful, do like and share it, and subscribe for more videos!
Timestamps:
0:00 Overview
0:27 Set up lambda function locally
1:54 Set up AWS lambda
3:25 Configure IAM permissions
4:01 Create SageMaker notebook instance
4:35 Set up REST API endpoint
6:11 Create Jupyter notebook
6:58 Test in AWS Lambda
8:22 Test in Postman
Code for Lambda function: https://gist.github.com/AllardQuek/83...
Resources:
/ how-run-sagemaker-notebook-from-aws-lambda...
/ connecting-web-app-pytorch-model-using-ama...