Launch IPython Notebook on Google App Engine

Can I run the IPython Notebook Server in the Google App Engine (GAE)?

I understand that GAE limits the operation of some libraries on its servers. I also read a couple of SO threads in which users tried to start ipdb (debugger) in GAE. I also understand that IPython will not work on GAE out of the box. I am ready to spend some time understanding IPython internal components and porting it to work in GAE, but I don’t understand its various dependencies and if any of these dependencies is blocked in GAE.

If you have already tried this, you can share your experience. If not, do you know that this is possible?

+4
source share
2 answers

Getting the server to work with IPython on the App Engine server may not be acceptable. Each laptop will need its own iPython core, which should either run continuously or have a way to maintain its state between requests. Theoretically, you could use a combination of server classes where clients could work on scalable interfaces, and kernels could work on constant backends. But for this you need to replace all ZeroMQ + Tornado. (I'm not very good at iPython whales, but this is the impression I got from talking to iPython developers at conferences, as well as a little reading.)

Compute Engine , : , Linux. - App Engine , GCE, , , , , .

: https://groups.google.com/forum/#!topic/sage-notebook/re2bUt4vCxA

(?) , GAE, AWS, , GAE , : https://notebookcloud.appspot.com/docs

+1

( ) . , - , iPython ( GCE) - . iPython , "docker-compose up". python 3.x, york-compose yml :

nb:
  image: andaag/sklearn_notebook3
  ports: 
    - "8888:8888"
  volumes: 
    - "/:/ml"

! andaag, . , .

!

-1

All Articles