probcomp / probcomp-stack

MIT Probabilistic Computing Project software stack
4 stars 5 forks source link

Configure jupyter password automatically #4

Closed riastradh-probcomp closed 7 years ago

riastradh-probcomp commented 7 years ago

Currently I generate a password with https://mumble.net/~campbell/js/pwgen/, ssh into the EC2 instance, and run jupyter notebook password interactively. This is silly. The tool that provisions a jupyter notebook should have some way to set the password automatically -- possibly by sshing in and running the noninteractive equivalent of jupyter notebook password, or possibly by being part of the userdata script fed to the EC2 instance creation.