Hi all,
I need some help connecting to an ipython kernel that is running on an AWS instance. Here's the basic architecture.
JUMP is a public AWS instance that I can ssh into directly
DEV is a private AWS instance that I can tunnel into via JUMP
LOCAL is my client machine
DEV has ipython notebook server running and is listening on port 8888.
I have setup an ssh tunnel using the following command from LOCAL:
ssh -L 8888:DEV:8888 myusername@ -N
I can confirm that ipython notebook server works by pointing my browser to
http://localhost:8888/ which does indeed pull up ipython notebook.
However, when I try to point Spyder to the remote kernel, it doesn't work. I've tried using DEV's json file for the kernel, that just produces an error. I've tried leaving the "connection info" field blank and used localhost:8888 as the "Host name" under the "This is a remote kernel" checkbox. Using the json file gives me a console error ("ValueError: No JSON object could be decoded"). Using "remote kernel" just leaves Spyder with a spinning beach ball (I'm on a mac).
Can anyone tell me what I'm doing wrong? Thanks.
P.S. I'm using Spyer 2.3.2 with Python 2.7.8