# The SK8 project: A scalable institutional architecture for managing and hosting Shiny applications

David Carayon

► To cite this version:

David Carayon. The SK8 project: A scalable institutional architecture for managing and hosting Shiny applications. Shiny In Production, Jumping Rivers Ltd, Oct 2024, Newcastle Upon Tyne, United Kingdom. http://hal-04735290

HAL Id: hal-04735290

https://hal.inrae.fr/hal-04735290v1

Submitted on 14 Oct 2024

HAL is a multi-disciplinary open access
archive for the deposit and dissemination of sci-
entific research documents, whether they are pub-
lished or not. The documents may come from
teaching and research institutions in France or
abroad, or from public or private research centers.

L'archive ouverte pluridisciplinaire HAL, est
destinée au dépôt et à la diffusion de documents
scientifiques de niveau recherche, publiés ou non,
émanant des établissements d'enseignement et de
recherche français ou étrangers, des laboratoires
publics ou privés.

<figure><img src="image_1.png" /></figure>

Distributed under a Creative Commons Attribution - ShareAlike 4.0 International License
# The SK8 project: A scalable institutional architecture for managing and hosting Shiny applications

David CARAYON

Statistician
INRAE (France)
<figure><img src="image_2.png" /></figure>

# R & Shiny @ INRAE

* French National Research Institute for Agriculture, Food and the Environment

* ~12,000 researchers and engineers

<figure><img src="image_3.png" /></figure>

<figure><img src="image_4.png" /></figure>
<figure><img src="image_5.png" /></figure>

# R & Shiny @ INRAE

* French National Research Institute for Agriculture, Food and the Environment

* ~12,000 researchers and engineers

* Shiny used as a powerful tool to simulate, map, visualise and share research while being accessible for non-IT people (statisticians, biologists)

<figure><img src="image_6.png" /></figure>

<figure><img src="image_7.png" /></figure>
<figure><img src="image_8.png" /></figure>

# R & Shiny @ INRAE

* French National Research Institute for Agriculture, Food and the Environment

* ~12,000 researchers and engineers

* Shiny used as a powerful tool to simulate, map, visualise and share research while being accessible for non-IT people (statisticians, biologists)

* SK8 team : ~15 engineers from all over France working on Shiny apps deployments

* **Shiny Kubernetes Service** → **SK8SS** → **SK8**

<figure><img src="image_9.png" /></figure>

<figure><img src="image_10.png" /></figure>

<figure><img src="image_11.png" /></figure>
<figure><img src="image_12.png" /></figure>

# The bumps on the road

<figure><img src="image_13.png" /></figure>

<figure><img src="image_14.png" /></figure>

<figure><img src="image_15.png" /></figure>

<figure><img src="image_16.png" /></figure>
<figure><img src="image_17.png" /></figure>

## The bumps on the road

<figure><img src="image_18.png" /></figure>

* Paid/Proprietary solutions (Posit, AWS, GCP, etc.) are **not** an option because **public money** and **EU (GDPR)** ⚙️ **posit™** Connect aws

<figure><img src="image_19.png" /></figure>

<figure><img src="image_20.png" /></figure>

<figure><img src="image_21.png" /></figure>

<figure><img src="image_22.png" /></figure>

<figure><img src="image_23.png" /></figure>

<figure><img src="image_24.png" /></figure>
<figure><img src="image_25.png" /></figure>

## The bumps on the road

<figure><img src="image_26.png" /></figure>

* Paid/Proprietary solutions (Posit, AWS, GCP, etc.) are **not** an option because **public money** and **EU (GDPR)** ⚙️ **posit™** Connect aws

<figure><img src="image_27.png" /></figure>

<figure><img src="image_28.png" /></figure>

<figure><img src="image_29.png" /></figure>

* Statisticians and biologists are not IT guys

<figure><img src="image_30.png" /></figure>

<figure><img src="image_31.png" /></figure>

<figure><img src="image_32.png" /></figure>

<figure><img src="image_33.png" /></figure>
<figure><img src="image_34.png" /></figure>

# Smoothing the ride

<figure><img src="image_35.png" /></figure>

<figure><img src="image_36.png" /></figure>

<figure><img src="image_37.png" /></figure>

<figure><img src="image_38.png" /></figure>
<figure><img src="image_39.png" /></figure>

<figure><img src="image_40.png" /></figure>

<figure><img src="image_41.png" /></figure>

<figure><img src="image_42.png" /></figure>

<figure><img src="image_43.png" /></figure>
<figure><img src="image_44.png" /></figure>

<figure><img src="image_45.png" /></figure>

<figure><img src="image_46.png" /></figure>

<figure><img src="image_47.png" /></figure>
<figure><img src="image_48.png" /></figure>

# Smoothing the ride

<figure><img src="image_49.png" /></figure>

<figure><img src="image_50.png" /></figure>

<figure><img src="image_51.png" /></figure>
<figure><img src="image_52.png" /></figure>

# Under the Deck: The Power of SK8Tools

<figure><img src="image_53.png" /></figure>
Under the Deck: The Power of SK8Tools

<figure><img src="image_54.png" /></figure>
Under the Deck: The Power of SK8Tools

<figure><img src="image_55.png" /></figure>
<figure><img src="image_56.png" /></figure>

## From the user POV

<figure><img src="image_57.png" /></figure>

git push -f

<figure><img src="image_58.png" /></figure>

<figure><img src="image_59.png" /></figure>

Gitlab automated CI/CD pipeline

<figure><img src="image_60.png" /></figure>
<figure><img src="image_61.png" /></figure>

<figure><img src="image_62.png" /></figure>

<figure><img src="image_63.png" /></figure>

ShinyProxy catalog
shiny.sk8.inrae.fr

<figure><img src="image_64.png" /></figure>

https://myapp.sk8.inrae.fr

<figure><img src="image_65.png" /></figure>

Gitlab automated CI/CD pipeline

<figure><img src="image_66.png" /></figure>
# The SK8 project : Are we on a roll ?

<figure><img src="image_67.png" /></figure>

LOVIN'

<figure><img src="image_68.png" /></figure>
<figure><img src="image_69.png" /></figure>

Thank you !

<figure><img src="image_70.png" /></figure>

<figure><img src="image_71.png" /></figure>

<figure><img src="image_72.png" /></figure>

Learn more about SK8 with our English Poster

<figure><img src="image_73.png" /></figure>

@ david.carayon@inrae.fr

<figure><img src="image_74.png" /></figure>