Jupyter Notebook (In EC2 Instance):
The following script is written to run jupyter notebook as a server inside the AWS EC2 instance which you can access from your desktop/laptop if EC2 instance is accessible from your machine:
- $ conda activate python37
- $ jupyter notebook –generate-config
- This will create the jupyter_notebook_config.py configuration file inside your working folder i.e. /home/<username>/.jupyter/
- $ jupyter notebook password
- You can set the password here
- $ vi /home/centos/.jupyter/jupyter_notebook_config.py
- Edit the following 2 lines
- c.NotebookApp.ip = ‘0.0.0.0’
- c.NotebookApp.port = 8888
- $ jupyter notebook
Apache Superset (In EC2 Instance):
- Install
- $ pip install superset
- Installing Apache Superset into CentOS 7 with Python 3.7
- Run:
- $ superset run -h 0.0.0.0 -p 8080 –with-threads –reload –debugger
That’s all.
@avkashchauhan