Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The JEDI web applications, https://experiments.jcsda.org and https://skylab.jcsda.org, run on two individual AWS EC2 instances in the jscda-noaa account in us-east-1. They are voila applications running on port 8866 on an nginx web server on ports 80/443. The web apps are simply python notebooks in the diag-plots repository with r2d2-client as the only JCSDA dependency. These packages are located in /home/ubuntu. A python virtual environment, e.i. "venv", is used to install the required python packages and execute the voila application as a service.

R2D2 Configuration 

In Web App

Code in the header for the files diag-plots/src/jedi_data_viewer/jedi_data_viewer_experiments.py and diag-plots/src/jedi_data_viewer/jedi_data_viewer_skylab.py allow the insertion of the R2D2 

On EC2 Instance

For local testing and installation needs source the file /home/ubuntu/setup.sh. 

Code Block
R2D2_USER='r2d2-web-app
R2D2_HOST='aws-us-east-1'
R2D2_COMPILER= unknown'
R2D2_API_KEY='6a8bacf2-d6ae-11f0-9286-06d3b1fbe489'
R2D2_LOG_LEVEL='SILENT'


Nginx Configuration

The Nginx configuration files are located at /etc/nginx/sites-enabled/experiments.jcsda.org and /etc/nginx/sites-enabled/skylab.jcsda.org.

...