...
| Table of Contents | |
|---|---|
|
About
Our 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 and solo -client as the only dependenciesJCSDA dependency. These packages are located in /home/ubuntu. Python3 A python 3 virtual environmentsenvironment, e.i. "venv", are not now used for the web apps. All python code is installed to the system python. It was the only way we could figure out to get the notebooks to work with Viola and nginx over https.
Python 3.10
Voila Installation and configuration
The Viola middleware service strips the cells from each notebook at runtime and displays only the user interface graphics required for the drop down menus and image viewing. Every time someone visits one of these web pages, a new Python3 kernel is started in memory. Over time, this leads to OutOfMemoryErrors from the OS and the web apps freeze up and the instance will have to be rebooted as detailed below.
...
WARNING: These instructions are very old and some steps might be outdated or simply not correct for the current web apps.
Start a new EC2 instance using the console:
...