[PYTHON] Jupyter on AWS

What is this

When I try to do deep learning in a local environment without GPU, it is slow and stress Mach. On the other hand, if you try to do it on AWS where GPU is easy to use, you have to write code without IDE (vim or emacs). So, let's try using jupyter on AWS to make it a little easier.

Goodness of jupyter

Can be complemented with tab. that's all! Well, there are things like seaborn that looks graphical, and pandas that makes the table look nice. Easy when talking to others. And

Try

#jupyter installation
pip install jupyter

#Generation of jupyter configuration file etc.
jupyter notebook --generate-config
  #If you do it as the root user, you should stop doing it. If you do something else--allow-Add root additionally.

#Local connection settings
vi ~/.jupyter/jupyter_notebook_config.py

#Add the following
c.NotebookApp.ip ='*' #IP control of connection source
c.NotebookApp.port = 8888 #Connection source port control

jupyter notebook --allow-root

After that, if you allow the global IP and port: 8888 of the connection source in the AWS security group, it's OK.

Now you can use caffe, keras, etc. on jypyter as you like and code with GPU.

Recommended Posts

Jupyter on AWS
Use jupyter on AWS GPU instance
Golang on jupyter
Hello X3DOM on Jupyter
Install Docker on AWS
Install octave_kernel on Jupyter [additional]
Easily launch jupyter notebook on AWS and access locally
Run Jupyter on Ubuntu on Windows
Display PIL images on Jupyter
Smoothly reload modules on jupyter
High charts on Jupyter notebook
Label images on jupyter lab
Run YOLO v3 on AWS v2
Run Jupyter Notebook on windows
Run YOLO v3 on AWS
Formatting with autopep8 on Jupyter notebook
Run Python on Schedule on AWS Lambda
Run azure ML on jupyter notebook
Try running Jupyter Notebook on Mac
Run TensorFlow on a GPU instance on AWS
Jupyter begins
Jupyter Tips 4
Jupyter nbextensions
Make Jupyter Notebook a service on CentOS
Try SVM with scikit-learn on Jupyter Notebook
Jupyter Tips 5
Start jupyter notebook on GPU server (remote server)
Jupyter Tips 3
Jupyter Tips 2
You can use Dash on Jupyter jupyter_dash
How to set up a jupyter notebook on ssh destination (AWS EC2)
Import your own functions on AWS Glue
Settings when reading S3 files with pandas from Jupyter Notebook on AWS
GPU check of PC on jupyter notebook
Deployment procedure on AWS ① Network environment settings
Display histogram / scatter plot on Jupyter Notebook
Build jupyter notebook on remote server (CentOS)
Jupyter installation
Jupyter tricks
[Python] Run Headless Chrome on AWS Lambda
Use vim keybindings on Docker-launched Jupyter Notebook
Including docker-nginx port forwarding on AWS Linux 2
Run Jupyter notebook on a remote server
[Linux] Review of commands for deploying on AWS
Install matplotlib and display graph on Jupyter Notebook
Periodically run a python program on AWS Lambda
Build a WardPress environment on AWS with pulumi
[Jupyter Notebook / Lab] 3 ways to debug on Jupyter [Pdb]
[2020 version] How to install Python3 on AWS EC2
Try Tensorflow with a GPU instance on AWS
Execution environment on the Web by "Project Jupyter"
How to make multiple kernels selectable on Jupyter
Enable Jupyter Notebook with conda on remote server
Periodically execute Python Script on AWS Data Pipeline
I tried launching jupyter nteract on heroku server
[Pythonocc] I tried using CAD on jupyter notebook
Simply display a line graph on Jupyter Notebook
Find and delete memory-hungry variables on Jupyter (IPython)
Draw Deconvolution 2D learning progress on jupyter (Bokeh)
(For myself) AWS_Flask_3 (Install / Run Flask on AWS)
Try Apache Spark on Jupyter Notebook (on local Docker