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
- Host: GitHub
- URL: https://github.com/bovem/python-aws
- Owner: bovem
- Created: 2019-02-03T14:21:50.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-03T03:52:28.000Z (over 6 years ago)
- Last Synced: 2025-01-11T23:39:00.303Z (about 1 year ago)
- Topics: aws, aws-ec2, cloud-instance, jupyter-notebook, python-aws, tutorial-code, tutorials
- Language: Shell
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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: ```