mapic/shiny

Open Source Shiny Server

knutole opened this issue · 2 comments

Shiny Pro vs. Open Source

Both

  • Host multiple applications simultaneously, each at its own URL.
  • Support web browsers that don't support WebSocket, including Internet Explorer 8 & 9.
  • Enable system users to develop and manage their own Shiny applications.
  • Ensure that R processes that crash or are terminated automatically restart for the next user requesting the application.

Pro Only

  • Ensure your applications are protected and can only be accessed by specific, authenticated users. (We can do this ourselves using Auth0.com)
  • Securely encrypt data being sent to and from your applications using SSL. (We can do this ourselves using Nginx and Let's Encrypt.)
  • Scale a Shiny application to support many users by empowering a Shiny application to be backed by multiple R Shiny processes simultaneously.
  • Gain insight into the performance and usage of your Shiny applications by monitoring them using a web dashboard. (aka the Admin panel)
  • Understand and manage current and historical application resource utilization to better configure and optimize your applications.
  • Fine-tune the resources devoted to each user of an application by configuring multi-process Shiny applications based on the number of concurrent sessions.
  • Monitor the health of your Shiny Server using the health check endpoint.

Conclusion

Det eneste potensielt relevante som vi mangler med Open-Source versjonen, er admin-siden (som inneholder litt generell statistikk) og multi-process R, så vidt jeg kan se. Hvis dere kan klare dere uten dette, så bør Shiny Server Open-Source fungere fint!

References

https://www.rstudio.com/products/shiny/shiny-server/

S3

Klart til mandag:

  • opplasting til S3 fra anywhere, med keys
  • nedlasting til Shiny-EC2 til ngi
  • med IP til både prod og staging

Versioning

  • versjoer av RStudio osv.

staging server, open source

  • open source versjon av shiny

todo

general

  • update architecture png
  • install latest R package list
  • add IP to S3 whitelist
  • ensure email verification is correct
  • document more thoroughly install / maintenance of shiny server setup
  • clean up auth docker repo namespace
  • clean up sftp docker namespace
  • RStudio IDE @ AWS ?
  • websocket pings
  • travis/hub for all images (incl. sftp)

prod

  • setup prod shiny server @ cloud.ngi.no
  • configure auth0.com for domain

staging

  • setup staging shiny server @ staging.ngi.no
  • add DNS entries for server + auth0
  • configure auth0.com for domain
  • create tenant @ auth0.com
  • do we need MFA for staging?

sandbox

  • setup sandbox shiny server @ sandbox.ngi.no
  • add DNS entries for server + auth0
  • configure auth0.com for domain
  • create tenant @ auth0.com
  • do we need MFA for dev?