In Nuvolos, each application is a separate entity with a separate set of resources and environmental settings. Some important considerations:
- 1.You can have multiple applications of the same type (e.g. RStudio) in the same instance with different sets of packages or package versions.
- 2.When you take a snapshot, applications are snapshotted along with all the packages and environmental files.
- 3.Applications can be distributed (see above).
In the research workflow guide, we previously created an RStudio application upon creating the space itself. We will add a JupyterLab application to the Master instance of the research project.
- 1.Navigate to the Master instance overview (from the dashboard or by changing context in the breadcrumbs)
- 2.Click on the Applications tile or sidebar menu item.
- 3.Click "ADD NEW APPLICATION" and choose the appropriate type.
In order to run an application, you can follow two routes:
- 1.Run a recent application from your dashboard.
- 2.Navigate to the instance of your choice and run the application directly from there.
The three latest applications will appear on your dashboard. You can verify the location of the application by hovering over the start-stop button.
You can navigate to the application view of your instance and find the list of applications there.
We present a hybrid of the two approaches by showing how to find the recent applications' instance and running it from there:
Starting an app on Nuvolos
Stopping applications once they are not used anymore is a good practice: you stop using resources allocated to your organization.
There are two ways to stop your application.
- 1.From the dashboard, or
- 2.from the instance overview.
On the dashboard, the three most recently used applications are always listed. Hovering over the "power button" lets you either enter the instance the app is located in, open the app directly or stop it if the app is running:
If you are visiting an instance, it is possible to view the list of applications on the Applications view (see previous sections). Here, it is also possible to a running app by opening the actions menu:
Nuvolos can also automatically stop unused applications.
By default, Nuvolos applications will persist sessions data in the home between restarts, however, for a better performance, this can be disabled under the application configuration as shown below.
Tick or untick Persist session data in home area between restarts
Not persisting the home area will allow for a better performance as the data is stored on the faster local disk, not the network storage. Also, since your home area will be reset on each restart, you don't need to worry about breaking your application configuration.
However, there is also a more stringent quota on non-persisted home areas: 2 GB is the max allowed storage footprint. Note that this quota is not a hard limit, rather a soft limit monitored regularly. If your application using a non-persistent home is found to use more than 2 GB space in the home area, it'll be restarted, thus cleaning up the home area.
Applications can run on dedicated resources or shared resources. Running applications on dedicated resources consumes Credits, while running applications to a certain capacity is part of any Nuvolos subscription.
To modify the shared resource request of your application, you can configure an app via the NCU configuration slider as shown in the following video.
How to change the resource allocaiton of a Nuvolos application