All Projects → jupyter → tmpnb-deploy

jupyter / tmpnb-deploy

Licence: BSD-3-Clause license
Deploying tmpnb nodes

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

tmpnb deployment

This repository contains an Ansible playbook for launching assets to *.tmpnb.org.

Single tmpnb setup is currently:

  • nginx on one server for SSL termination, has a DNS record associated
  • tmpnb on another server

Outside of those, we use the tmpnb-redirector to redirect to these nodes.

This is also set up for our own use, which means it may not work well for your own deployment (until we abstract it a bit further).

Launching with Ansible

"Easy" mode

pip install rackpacesdk rackspace-monitoring
source ./novarc
./script/new-instance <N>

This will:

  • allocate new servers (./script/launch.py)
  • add them to the redirector (./script/add-redirect)
  • deploy tmpnb (./script/deploy)

Updating images on a running instance

./script/image-update <N>

Status page

The status page daemon for tmpnb availability is run on the tmpnb-status carina cluster.

You will need to get the API key from statuspage.io, and create statuspage-env with:

STATUS_PAGE_API_KEY=<the-api-key>

Run:

eval $(carina env tmpnb-status)
./script/launch-statuspage

To launch the statuspage daemons.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].