sagemaker-ssh-helper icon indicating copy to clipboard operation
sagemaker-ssh-helper copied to clipboard

SSMManager: get_endpoint_instance_id support timeline?

Open rbp15 opened this issue 2 years ago • 1 comments

Is there an ETA or roadmap ballpark to support:

def get_endpoint_instance_ids(self, endpoint_name, timeout_in_sec=0):
        raise AssertionError("Not supported yet.")

rbp15 avatar Mar 21 '23 01:03 rbp15

Hi, @randallbpotter15,

Thank you for sporting this and for asking the question. This is indeed the nice to support feature.

The reason why it’s not currently supported by SageMaker SSH Helper is that because there’s no easy way in SageMaker itself to figure out the endpoint name from inside the endpoint, and SSMManager needs this information to work correctly.

At this moment I don’t have an ETA for this. Let’s keep this issue open to track the updates.

As a workaround, you may still use the SSHLog class with the similar method, but it’s using CloudWatch to resolve instances. Is it something that will be helpful for you?

ivan-khvostishkov avatar Mar 21 '23 01:03 ivan-khvostishkov