Skip to content

Bash Script that helps you deploy Jupyter Notebook on AWS EC2 Instance

Notifications You must be signed in to change notification settings

bovem/python-aws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Deploy Jupyter Notebook on AWS EC2 instance

For complete instructions visit the medium article.

python-aws.sh

  1. Installs bzip2, gcc, git, htop, screen, vim, and wget on cloud instance.
  2. Downloads and installs Miniconda.
  3. Adds conda to PATH variable.
  4. Imports "python-aws" virtual enviroment.

python-aws.yml

Conda virtual enviroment with

  • pandas
  • numpy
  • matplotlib
  • ipython
  • jupyter notebook

To copy files to AWS cloud instance use :
scp -i <aws-key-pair> python-aws.sh ubuntu@ec2-XX-XXX-XX-XX.XX-XXXX-X.compute.amazonaws.com:~/

scp -i <aws-key-pair> python-aws.yml ubuntu@ec2-XX-XXX-XX-XX.XX-XXXX-X.compute.amazonaws.com:~/

Add execution permission to bash scipt :
chmod +x python-aws.sh

To download files from AWS :
scp -i <aws-key-pair> ubuntu@ec2-XX-XXX-XX-XX.XX-XXXX-X.compute.amazonaws.com:<path-to-file> <destination>

About

Bash Script that helps you deploy Jupyter Notebook on AWS EC2 Instance

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages