aws / aws/sagemaker-spark

stsClient issue with private notebook

Open
#141 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Scala
Stars
301
Forks
129
PR merge metrics
No merged PRs in 30d

Description

Customer was using PySpark SDK with a notebook without public internet access, they configured the notebook in a way to connect to their regional sts endpoint not the global one, when initializing the KMeansSageMakerEstimator, the stsClient is default to the global one which is causing a time out error. How could they modify the stsClient so they can connect to their regional sts endpoint instead?

Contributor guide

Open the contributing guide

Research direction

Start by tracing KMeansSageMakerEstimator initialization and inspecting where its stsClient is selected. Reproduce the private-notebook timeout with a regional STS endpoint, then determine how regional endpoint configuration can be honored and verify that initialization connects to the configured endpoint.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python, scala, spark
Domain
cloud, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.