Reputation: 145
I am currently trying to use some AWS Built-In algorithms in the new Sagemaker Studio Lab. In order to do so, I need to configure my AWS profile to get my execution role and region etc. This is the current message
ValueError: Must setup local AWS configuration with a region supported by SageMaker.
Locally I am using credentials file for the configuration of the AWS CLI, how can I do this in Sagemaker Studio Lab?
Many thanks in advance!
Upvotes: 1
Views: 2376
Reputation: 332
Thanks for looking at Studio Lab! As has been mentioned in the above comments, we have a sample walkthrough notebook of configuring the aws cli and boto3 in Studio Lab here.
Please just remember to NEVER EVER EVER share your access or secret key information on GitHub. If you use a notebook to write those files, just delete that cell immediately after executing it.
Cheers!
Upvotes: 2