The code here will be used to showcase the Bring Your Own Model capabilities of Amazon Sagemaker.
In this Step, we will configure the Sagemaker Instance that we are going to use throughout this session.
In this section we will configure the Lifecycle Policy for our Sagemaker instance
- Go to create a new Lifecycle Policy
#!/bin/bash
set -e
pip install --upgrade pip
git config --system user.name "<YOUR NAME>"
git config --system user.email "<YOUR@EMAIL>"
- URL
https://github.com/purnesh/sagemaker-byom-python
- Branch Name
master
- Create New Secret
- Add Repository
- Create a new Role
- Attach
EC2ContainerRegistryFullAccess
policy to the newly created role.
- Go to Cloudwatch
- Click on Log Groups in the left hand menu
- Go to
/aws/sagemaker/NotebookInstances
- Click on the appropriate option to view logs