<p>You may want to speak to the PaaS provider. A lot of what you'd like to do comes down to how their platform works. IPython is not your typical web app.</p>
<div class="gmail_quote">On Sep 5, 2012 11:58 PM, "Brian Granger" <<a href="mailto:ellisonbg@gmail.com">ellisonbg@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Shoibal,<br>
<br>
Hi, these are things we are interested in.  There are a number of<br>
different issues you are bringing up:<br>
<br>
* Making the notebook server multiuser aware.  This is definitely on<br>
our radar and we are trying to get this work funded through academic<br>
grants.  We are at the early stages of the planning of this.<br>
* Running the notebook server on PaaS platforms.  This is an entirely<br>
separate issue that we will have to revisit in the future - stay tuned<br>
for more on this in the coming months.  One issue you will run into<br>
though is that we rely on zeromq/pyzmq which definitely doesn't run on<br>
most of the Paas vendors I know of.<br>
<br>
Cheers,<br>
<br>
Brian<br>
<br>
<br>
On Wed, Sep 5, 2012 at 6:09 AM, Shoibal Chakravarty <<a href="mailto:shoibalc@gmail.com">shoibalc@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I just got interested in the possibility of getting ipython html notebook<br>
> server on the various Platform as a Service (PaaS) ideas out there:<br>
> Openshift, dotcloud, heroku, appfog etc. I was interested in seeing if I<br>
> could get people to try out my other python projects  [energy economics<br>
> modeling] without having to take the trouble of downloading and compiling a<br>
> lot of different packages. I would put everything required on one of these<br>
> free PaaS services and have them try it out via the ipython notebook<br>
> interface.<br>
><br>
> Carl Smith's  notebookcloud (<a href="http://github.com/carlsmith" target="_blank">http://github.com/carlsmith</a>) was another<br>
> inspiration. The PaaS approach is a baby version of  the AMI approach of<br>
> notebookcloud. I let the PaaS vendors take care of the building and<br>
> maintaining the AWS infrastructure. It also happens to be completely free<br>
> for small applications.<br>
><br>
><br>
> Most of the Paas services do not support websockets and and often expect<br>
> only wsgi compliant python web servers. Only  dotcloud<br>
> (<a href="http://www.dotcloud.com/" target="_blank">http://www.dotcloud.com/</a>) seems to work for now with tornado and<br>
> websockets. See <a href="http://github.com/shoibalc/ipynbserver-dotcloud" target="_blank">http://github.com/shoibalc/ipynbserver-dotcloud</a>.<br>
><br>
><br>
> I am still concerned about security implications of the notebook server.<br>
> Ideally, I would like  the following:<br>
><br>
> 1. Let anybody login with a login/passwd or the various authentication<br>
> services.<br>
> 2. Give them a secure walled-in temporary directory to work in, with<br>
> restricted shell function access.<br>
> 3. Limit resources they use (memory, CPU load etc) and automatically log<br>
> them out if the violate this.<br>
> 4. Limit sessions to xx minutes.<br>
> 5. Set up a parallel database service for authentication and to let users<br>
> save their notebooks etc. (eg, MongoDB uses json as storage)<br>
><br>
> Which of these would be easily feasible? Especially point 2. Sage seems to<br>
> create (and later destroy) a temporary working directory for each cell  and<br>
> severely limits shell access. One directory per login with limited outside<br>
> access might be better.<br>
><br>
> Please let me know what ideas/suggestions you have. Thanks a lot for<br>
> ipython!<br>
><br>
> -Shoibal.<br>
><br>
><br>
> _______________________________________________<br>
> IPython-dev mailing list<br>
> <a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
> <a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
><br>
<br>
<br>
<br>
--<br>
Brian E. Granger<br>
Cal Poly State University, San Luis Obispo<br>
<a href="mailto:bgranger@calpoly.edu">bgranger@calpoly.edu</a> and <a href="mailto:ellisonbg@gmail.com">ellisonbg@gmail.com</a><br>
_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
</blockquote></div>