An open API service indexing awesome lists of open source software.

https://github.com/bovem/python-aws

Bash Script that helps you deploy Jupyter Notebook on AWS EC2 Instance
https://github.com/bovem/python-aws

aws aws-ec2 cloud-instance jupyter-notebook python-aws tutorial-code tutorials

Last synced: about 1 year ago
JSON representation

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

Awesome Lists containing this project

README

          

# Deploy Jupyter Notebook on AWS EC2 instance

For complete instructions visit the [medium article](https://medium.com/pyfinance/deploy-jupyter-notebook-on-aws-ec2-instance-a6cd304ae744).

## 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 python-aws.sh ubuntu@ec2-XX-XXX-XX-XX.XX-XXXX-X.compute.amazonaws.com:~/```

```scp -i 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 ubuntu@ec2-XX-XXX-XX-XX.XX-XXXX-X.compute.amazonaws.com: ```