Cheaper and better way to make LearnR tutorials available online

I made LearnR tutorials and I am wondering what are cheaper and better alternatives than hosting on shinyapps. I will have about 50 concurrent users (students) and each one will use the tutorial for multiple hours because of length of tutorials. If I host it on shinyapps, it will quickly become very expensive. My Github repository must be private and therefore, MyBinder is also not a solution for me. I tried R Package solution suggested in LearnR's documentation https://rstudio.github.io/learnr/articles/publishing.html, but it does not work well for my students as some packages are not compatible for different computers.

I found this answer very helpful https://stackoverflow.com/a/59225063/6072503, but I could not find a good guide to follow so that I can deploy my tutorial on my server (or cloud) with Docker swarm/Kubernetes. I have an experience with Docker, but not with Docker swarm and Kubernetes. I would be happy to get some suggestions and good guides how to solve this problem without paying too much in hosting servers like shinyapps.

This blog has tons of articles about shiny deployment options, including using servers, containers with orchestrators like shinyproxy or Kubernetes and platform-as-a-service(PaaS)like Digital Ocean Apps or Heroku among others. Highly recommend.

2 Likes

that's a great resource. Thank you very much! Do you may also know a tutorial directly with "LearnR", Shiny and deployment?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.