Categories: Hosting Data AppsTech

How Many Shiny Apps Can You Host for Free?

Shiny is an incredible piece of technology. The ease of which with you can make simple prototypes or even production-grade applications is unparalleled. All you need is a bit of R skills.

But all this is worthless unless you can present your app to your users. If you are just starting out, you don’t need any headaches with deployment. You also probably don’t want to pay big bucks for hosting either.

So what are your options for free Shiny app hosting? And how many apps can you host for free?

I ask this question on

Try pulling ad running the Docker image analythium/correlation:v3:

docker pull analythium/correlation:v3

docker run -p 4000:3838 analythium/correlation:v3

You’ll find two apps on the following two paths: http://localhost:4000/app2d/ and http://localhost:4000/app3d/. The Dockerfile looks like this:

FROM rocker/shiny:4.0.5

## install dependencies
RUN install2.r -r http://cran.rstudio.com/ rgl

## copy the apps
COPY ./app-v1.R /srv/shiny-server/app2d/app.R
COPY ./app-v2.R /srv/shiny-server/app3d/app.R

USER shiny
EXPOSE 3838
CMD ["/usr/bin/shiny-server"]

In theory, there is no limit to the number of apps you can host simultaneously using this setup.

Conclusions

It turns out that most respondents were right in their own ways because I left many details undefined. Shinyapps.io is the platform that R and Shiny users are most familiar with. This is due to the RStudio IDE integration and most tutorials pointing to this free option. So that is your 5 free apps.

If you need to host more Shiny apps, sign up with your other email address to get another 5 apps for free. Or learn how to dockerize Shiny apps and deploy to Heroku and Fly.io under the free tier. Fly.io is your best option if you want the apps running 24/7 and under a secured custom domain (none of this is offered for Shinyapp.io and Heroku).

If you run out of email addresses and exhausted all your free apps, you can consider including multiple apps in the same Docker image and deploy these to Heroku and Fly.io. Those who chose  ‘As many as you like’ were probably thinking along these lines. 108 times many times unlimited is a lot!

Further reading

rssfeeds-admin

Share
Published by
rssfeeds-admin

Recent Posts

OpenAI Warns macOS Users to Update ChatGPT and Codex Immediately

OpenAI has disclosed a security incident tied to the compromise of Axios, a widely used…

3 hours ago

The Best Deals Today: Resident Evil Generation Pack, M5 MacBook Air, Marathon DualSense, and More

A new weekend has arrived, and today, you can save big on the Resident Evil…

3 hours ago

Lucasfilm Baked the Sound Sam Witwer’s Blood-Curdling Screams Into Darth Maul’s Lightsaber for Shadow Lord TV Series

As if Darth Maul wasn’t already angry enough, the team behind Star Wars: Maul –…

3 hours ago

Euphoria Returns for Season 3 – Here’s When You Can Watch New Episodes

Oh, Euphoria. The HBO drama quickly became a hot topic during its first season back…

3 hours ago

‘Always Watching’ – Fans Stunned After Marvel TV Boss Acknowledges Apparent Cosmic-Level Easter Egg in Daredevil: Born Again

Marvel Studios TV boss Brad Winderbaum sent fans’ heads spinning after he acknowledged what looks…

4 hours ago

Russia’s $660 million bet on a bordered internet

Tension: The instinct to protect through isolation collides with the human need for connection and…

6 hours ago

This website uses cookies.