RStudio offers a great facility for Shiny apps deployment, named shinyapps.io
. This hosting web platform is perfectly integrated with RStudio and lets you deploy your app by hitting a button. You can find convenient tutorials at http://shiny.rstudio.com/articles/shinyapps.html.
A large number of developers are used to the structure and facilities of Amazon AWS, which provides an integrated and solid framework for web application deployment.
Amazon AWS is one of the best-known services of its kind. However, publishing apps on it can be laborious for non-expert users, requiring you to remotely log in on a Linux server and perform terminal downloading and installation activities. That is why I have developed the ramazon
package, which lets you publish a Shiny application on Amazon simply by running a function. This recipe exposes the usage of the package.
In order to install a Shiny server on Amazon AWS, you first need to create an EC2 instance on Amazon AWS. This basically means you will have to create an up and running Linux server on which you can host your Shiny application. If you need help with this, I have provided a detailed tutorial on how to do this at http://www.slideshare.net/AndreaCirillo1/how-to-launch-an-aws-ec2-instance-51349866?ref=https://andreacirilloblog.wordpress.com/2015/08/18/deploy-your-shiny-app-on-aws-with-a-function/.
ramazon
package from GitHub.Currently, the ramazon
package is only available through GitHub. In order to use it, you will have to execute the following code. This code installs devtools
, which lets you download ramazon
from the GitHub repo:
install.packages("devtools") library(devtools) install_github("andreacirilloac/ramazon") library(ramazon)
ramazon()
.ramazon(public_DNS ="your_Public_DNS", key_pair_name = "your_key_pair_name")