Skip to content

Latest commit

 

History

History
74 lines (48 loc) · 1.25 KB

QuickStartGuide.md

File metadata and controls

74 lines (48 loc) · 1.25 KB

This is a quick-start guide for running Jupyter on AWS. It is an example to show what you can do with aws-jupyter. You can also try this example by running launch-aws-jupyter in the command line, which will prompt a step-by-step guide to walk you through this example.

Please read README for more information.

Run Jupyter on AWS

  1. Check configuration
aws-jupyter config
  1. Start the cluster
aws-jupyter create -c 1 --name jupyter

To speicify a custom AMI image, append "--ami <ami_id>" to the cluster creation command above.

  1. Check the cluster is up
aws-jupyter check --name jupyter
  1. Open the URL printed out in the Step 3.

  2. Shut down the instance

aws-jupyter terminate --name jupyter
  1. To SSH into the first node, run
aws-jupyter ssh --name jupyter

Run tmsn

  1. First run the tmsn example
aws-jupyter run -s examples/tmsn-example.py
  1. Retrieve outputs from the nodes in the cluster
mkdir _files
aws-jupyter retrieve --remote /tmp/std* --local _files
  1. Check the outputs
cat _files/worker-0/stdout.log
cat _files/worker-1/stdout.log

Setup and Diagnose

  1. Print diagnose information to debugging
aws-jupyter diagnose