1

I want to host an R-shiny app on Windows Server platform on Azure VM and this R-Shiny app will retrieve data from MongoDB.

So far:

  • I cannot install R-Shiny server because it doesn't support Windows platform
  • It's an external cloud. So, I cannot run the app and access it via "ip_address:port_number". (Or can I?)

So, I am wondering if there is any other ways that allows me to host my Shiny app with MongoDB on Azure. I also would take security into account. I would eventually not want other people to be able to access my dashboard but myself or other people that I allow.

Any suggestions will be appreciated.

bensw
  • 111
  • 3

1 Answers1

0

Maybe this answer is helpful.

You can run shiny apps on Microsoft Azure. See instructions for dockerizing a shiny app here.

Also, you could install R-Shiny on Azure Linux VM. Ubuntu VM supports this. Please refer to this link.

Shui shengbao
  • 3,503
  • 1
  • 10
  • 20
  • It still recommend R-Shiny server and shinyapps.io though. I cannot use R-Shiny server because I have another programme that run on Windows env in addition to Shiny app and I don't want to pay for shinyapps.io just to host my app. Thank you for your repose, through. – bensw Aug 10 '17 at 09:12
  • @bensw If you want to install R-Shiny server on existing Windows VM, it seems impossible. You need create a new VM or use docker to host it. – Shui shengbao Aug 10 '17 at 09:15
  • A new VM seems possible but then again, I have to deal with two VMs (not quite ideal). However, I don't think docker would work though because it still shares the host OS kernel which is Windows. – bensw Aug 10 '17 at 09:28
  • 1
    @bensw If possible, could you select Linux VM? – Shui shengbao Aug 10 '17 at 09:38
  • That would be my last resort. – bensw Aug 11 '17 at 01:04
  • @bensw Fine. If you any question about this, please post here. – Shui shengbao Aug 11 '17 at 01:05
  • @bensw Please let me know if you would like further assistance. If my answer is helpful, don't forget to accept it as an answer. It will help more people. Thanks. – Shui shengbao Aug 18 '17 at 05:48
  • @bensw Hi, do you solve this question? – Shui shengbao Aug 21 '17 at 09:08
  • No, I might have to change to Ubuntu instead. – bensw Aug 22 '17 at 09:18
  • @bensw Maybe you could check this [link](https://www.rstudio.com/products/shiny/download-server/). Instll shiny on Ubuntu – Shui shengbao Aug 22 '17 at 09:20