sagemaker-ssh-helper
sagemaker-ssh-helper copied to clipboard
SSMManager: get_endpoint_instance_id support timeline?
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.")
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?