Jan 15, 2026
|
55 min
|
3.4k views
How to Deploy a Shiny App in 2026: Hosting Options Compared
Where to deploy a Shiny app in 2026, and how to choose: shinyapps.io if you want it hosted and managed, Posit Connect Cloud if you want a portfolio with access control, a DigitalOcean droplet or a cloud VM if you want to run it yourself, Docker if you need the environment reproduced exactly, and the open-source Shiny Server if you want to host it on your own infrastructure for free. This session compares them on cost, control, maintenance and what happens when something breaks. With Alex Chisholm.
What you will learn
What separates an app worth deploying from a prototype How shinyapps.io and Posit Connect differ, and how both have changed When a DigitalOcean droplet makes sense, and when a large cloud provider is worth the complexity What Docker solves, and what it costs you in maintenance What the open-source Shiny Server does and does not give you How to handle secrets and database credentials without putting them in your code What blue-green deployment is, and when a data team needs it How manifest.json records dependencies, and how to publish automatically on a git push What guardrails an AI-powered app needs around token usage Chapters 0:00 What this session covers 3:03 What makes an application worth deploying 5:31 How shinyapps.io and Posit Connect evolved 8:12 DigitalOcean and droplets 9:36 DigitalOcean against the large cloud providers 11:48 DigitalOcean, Azure and AWS compared 14:47 Replicating your local environment with Docker 16:51 The open-source Shiny Server 18:20 A real deployment: University of Illinois CITL 20:02 What actually drives the deployment decision 21:53 GitHub Actions and version control 23:31 Single points of failure and maintainability 24:38 Posit Connect Cloud and the content portfolio 26:01 Beyond Shiny: Quarto, Streamlit and Dash 27:07 Handling secrets and database credentials 28:56 Custom vanity links against UUIDs 30:04 Blue-green deployment 31:55 Is it easy to set up a developer workflow? 34:46 Guardrails for AI-powered apps and token usage 37:32 Small language models and Ollama 38:29 An LLM sidebot demo 39:41 What manifest.json does, and how dependencies are resolved 45:00 Publishing automatically on a GitHub push 46:51 The future of shinyapps.io, and migration 48:33 Did you build a custom agent for that dashboard? 51:43 Publishing from the RStudio IDE to Connect Cloud 54:16 Inspecting website APIs for data harvesting
Learn more Shiny deployment: https://shiny.posit.co/r/deploy.html Posit Connect Cloud: https://connect.posit.cloud shinyapps.io: https://www.shinyapps.io Shiny Server open source: https://posit.co/products/open-source/shiny-server/
The Data Science Lab is a live weekly call. Register at https://pos.it/dslab
Quarto
rstudio
Shiny
shiny-server
shinyapps
How to Deploy a Shiny App
Deploy Shiny App
Shinyapps
Shiny Server
R Shiny Server
Posit Connect Cloud
Shiny Hosting
Shiny Docker
Digitalocean Shiny
Shiny Deployment
Manifest Json
R Shiny App
Posit