Skip to content

run sagemaker jupyter lab notebook using ec2 instance

0

Hi there

I am trying to schedule a notebook job on the Jenkins pipeline. I connected ec2 to SageMaker using the role, is there a way to create a Sagemaker session to run a notebook scheduling job? error message

I already attached sagemaker role to ec2. how can I solve this issue without exporting my credentials?

1 Answer
0

As the error message says, please confirm that you configured AWS region locally. You can check your current region by aws configure get region command. You can configure the resion by aws configure command.

Example for us-west-2 region.

$ aws configure
AWS Access Key ID [None]: 
AWS Secret Access Key [None]: 
Default region name [None]: us-west-2
Default output format [None]: json

Access Key ID and Secret Access Key can be empty if you are OK with the IAM Role associated to your EC2.

AWS
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.