phoenix icon indicating copy to clipboard operation
phoenix copied to clipboard

[Enhancement] The app does not open on AWS SageMaker Notebooks

Open AbhiPawar5 opened this issue 2 years ago • 2 comments

Describe the bug Hi Team, I am trying to run Phoenix with my datasets on AWS SageMaker Notebook instances. However, it simply says cannot connect to localhost (which makes sense since we are running infra on AWS). I (or the community) would like to know how to run Phoenix on SageMaker notebooks. Thanks.

To Reproduce Steps to reproduce the behavior:

  1. Go to Phoenix Quickstart
  2. Follow the Quickstart instructions on your train and prod datasets
  3. Start a session on AWS SageMaker notebooks
  4. See the error : Localhost refused to connect

Expected behavior The Phoenix UI should have been visible in the current notebook window or a new tab

Screenshots NA

Environment (please complete the following information):

  • OS: Linux
  • Notebook Runtime : AWS SageMaker Notebook - t3.medium
  • Browser : Google Chrome
  • Version : 112.0

AbhiPawar5 avatar May 02 '23 09:05 AbhiPawar5

@AbhiPawar5 thanks for the bug report! We actually haven't tested with SageMaker notebooks but will prioritize this soon. With colab we have support for VM tunneling. We are hoping there is something similar.

mikeldking avatar May 02 '23 16:05 mikeldking

Hi @mikeldking, thanks for your message. I'm excited to try Phoenix soon :)

AbhiPawar5 avatar May 03 '23 04:05 AbhiPawar5

SageMaker notebook NAT configuration documentation: https://aws.amazon.com/blogs/machine-learning/understanding-amazon-sagemaker-notebook-instance-networking-configurations-and-advanced-routing-options/

mikeldking avatar May 23 '23 22:05 mikeldking

Removing from sprint board @fjcasti1 - please add an update if you can.

mikeldking avatar Jul 13 '23 21:07 mikeldking

cc @amyxst

mikeldking avatar Oct 23 '23 18:10 mikeldking

@amyxst I'm gonna take this since it comes up quite a bit and I have AWS access.

mikeldking avatar Nov 15 '23 17:11 mikeldking