aws / aws/studio-lab-examples

Unable to use dask-labextension dashboard

Open
#39 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Jupyter Notebook
Stars
772
Forks
229
PR merge metrics
No merged PRs in 30d

Description

First of all, thank you for studio-lab, it is an amazing resource and generally works very smoothly!

**Describe the bug**
[JupyterLab extension for Dask](https://github.com/dask/dask-labextension) is a fantastic resource that helps with diagnostics for parallel computations. Unfortunately it seems the dashboard is nonfunctional due to SageMaker network settings as detailed in this existing issue https://github.com/dask/dask/issues/5432.

**To Reproduce**
1. Following the [docs here](https://docs.aws.amazon.com/sagemaker/latest/dg/studio-lab-use-manage.html)
```
conda activate studiolab
conda install -c conda-forge dask distributed dask-labextension
```
1. Stop runtime.
1. Start runtime
1. In a notebook start a dask cluster:
```python
from dask.distributed import Client
client = Client()
client
```
1. navigate to: `https://SESSSIONIDHERE.studio.us-east-2.sagemaker.aws/studiolab/default/jupyter/proxy/8787/status`

**Expected behavior**
Dashboard diagnostic plots should appear below the active toolbar on the proxied webpage or via the labextension plots.

**Screenshots**
Screen Shot 2022-01-04 at 3 53 39 PM

See additional screenshots in linked issue (https://github.com/dask/dask/issues/5432)

**Desktop (please complete the following information):**
- OS: OSX
- Chrome 96

**Additional context**
There is a recent blog post detailing how to do a custom setup, but it would be fantastic if this just worked out of the box with studiolab. https://aws.amazon.com/blogs/machine-learning/machine-learning-on-distributed-dask-using-amazon-sagemaker-and-aws-fargate/

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.