The Heroku platform is ideal for Shiny apps if you don't want to worry about infrastructure. Combine that with a CICD pipeline to get a really powerful setup.
There are four types of hosting patterns for Shiny apps: local, dockerized, Shiny Server, and Shiny Server inside Docker. Here is what you need to know if you want to self-host Shiny apps.
The open-source Shiny Server is an easy way to self-host Shiny apps on a low-cost virtual machine. Set up the server yourself or use an existing image and deploy apps in seconds.
Caddy server makes it super easy to obtain TLS certificates for your custom domain and to serve Shiny apps securely over HTTPS on top of the open-source Shiny Server.
The wealth of contributed R packages can supercharge Shiny app development. This also means that you have to manage these dependencies. Learn about dependency management when working with R and Docker.
Deploying Shiny apps can be as easy as clicking a button. Deploy to the cloud using Shinyapps.io or to your own servers running RStudio Connect with a click of a button.
Docker provides isolation to applications. Images are immutable. Running multiple instances of the same image can serve many users at the same time. All these general advantages of containerized applications apply to Shiny apps too.
You might be eager to deploy your Shiny app to a remote server. But the simplest way to run a Shiny app is to run it locally. You only need the shiny R package installed, and you can run the app in your browser.
The Hosting Data Apps website is dedicated to help you learn about your hosting options. As outlined in the opening post, data app development related content is kept to a minimum. In this post we list resources that provide accessible introduction to Shiny app development.
Shiny lets you quickly build web applications using the R programming language. In this post I will walk you through how a Shiny application is structured. The goal is simply to have the most basic and dependency free app that we can deploy. Let's get going! [Read more...]