Giter VIP home page Giter VIP logo

machine-learning-notebooks's Introduction

machine-learning-notebooks

  1. Provision the GPU instance using the cloudformation script
aws cloudformation create-stack --stack-name <stack-name> --template-body file://provisioning/ec2-p2-xlarge.yml
  1. Make sure your SSH key and SSH agent forwarding is enabled by adding the following lines to ~/.ssh/config
Host <hostname> <host-ip>
    ForwardAgent yes
  1. Run the Ansible playbook

ansible-playbook setup-machine-learning-server.yaml -i hosts --user=ubuntu

  1. From a different terminal, open an SSH terminal into the EC2 instance
ssh ubuntu@<ip-address-or-hostname> -NL 1234:localhost:1234
  1. SSH into the EC2 instance and start Jupyter notebooks
jupyter notebook --no-browser --port 1234

(Cut and paste the login URL with token into your local browser, and you should connect to the Notebook server.)

  1. After working on your notebook a little and saving it, make sure to copy it to your local repo and commit changes:

scp ubuntu@<ec2-host-name>:~/machine-learning-notebooks/<notebook-name>.ipynb ./

machine-learning-notebooks's People

Contributors

ilmarinen avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.