this is a very tricky one.
I'm very new to Amazon Sagemaker and I can't seem to find any answer to this problem. I don't know if what I want to do is even possible.
Basically, suppose I have a notebook instance on Amazon Sagemaker, I want to connect this notebook instance automatically to:
- A specific S3 bucket (or even a specific sub-directory inside an S3 bucket)
- A specific sub-directory in a remote Git Repository (hosted in GitHub/BitBucket/other platforms)
And this has to be done automatically every time the notebook instance is started. Would something like this be possible?
I've tried looking at lifecycle configurations but as I'm not fully aware of its capabilities, I don't know if it's even possible to do this with the lifecycle config bash script.
I'm very open to other ideas if anyone know how to do something similar to this even if it means that I have to tinker with AWS CLI/Sagemaker SDK/API/GitHub and BitBucket API, other AWS services like lambda, etc.
Thanks heaps in advance!