# Jupyter julia notebook on Amazon AWS SageMaker

**URL:** <https://discourse.julialang.org/t/jupyter-julia-notebook-on-amazon-aws-sagemaker/75904>\
**Category:** Jupyter-Notebook\
**Tags:** question\
**Created:** [February 6, 2022, 5:27pm UTC](https://discourse.julialang.org/t/jupyter-julia-notebook-on-amazon-aws-sagemaker/75904 "2022-02-06T17:27:11Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![wub7quxa](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wub7quxa/32/33473_2.png) [@wub7quxa](https://discourse.julialang.org/u/wub7quxa)\
**Post date:** [February 6, 2022, 5:27pm UTC](https://discourse.julialang.org/t/jupyter-julia-notebook-on-amazon-aws-sagemaker/75904/1 "2022-02-06T17:27:11Z")

</div>

I want to run a Jupyter notebook in Amazon SageMaker with a Julia kernel. There is very little documentation about this. There is this:

> **[julia-on-sagemaker.pdf](https://d1.awsstatic.com/whitepapers/julia-on-sagemaker.pdf?did=wp_card&trk=wp_card)**
>
> 1338.66 KB

I followed all the instructions, and Julia shows up in the JupyterLab launcher; but when I run it, Julia 1.17.1 shows up as the kernel and then dies. It appears to be trying, but then gives up and says “No Kernel” instead of “Julia 1.17.1” in the status line.

If I run the R kernel, all goes well. If I run the Julia kernel (which shows up in the list of available kernels!), I get the following error message:

```julia
Connection failed 
A connection to the notebook server could not be established. 
The notebook will continue trying to reconnect. 
Check your network connection or notebook server configuration.

```

When I run a terminal, I cannot run julia straight away. I have to do

```julia
source activate
conda activate julia

```

first, then I can run julia. If I shut down the terminal and start a new one, I have to do this again or julia won’t run. It would make sense that this is the issue for JupyterLab as well: that it tries to run julia but it won’t initialize conda first.

---

_[View the full topic](https://discourse.julialang.org/t/jupyter-julia-notebook-on-amazon-aws-sagemaker/75904)._
