Shiny Server in a myDRE Workspace
Version = 2023-02-02
This instruction is used to get Shiny Server up and running in a Workspace. For your actual workloads you might need other size VMs. Also there is much more to be configured, but being able to get Shiny up and running is a good place to start. All the instructions below are in a TXT file at the end and can be downloaded/uploaded to the Workspace, it saves a bit of typing.
Please note, the Shiny Server is only available within the same Workspace the Shiny server is running.
With the default installation below, starting the Linux VM with shiny from the user portal is sufficient, you can then access it from another VM in the same workspace.
Setting things up
- Created a new WS
- Deployed 2 VMs
- Ubuntu 22 VM: Standard_B2ms (2 cores, 8Gb)
- Windows-Base 1.0.5: Standard_B2s (2 cores, 4 Gb)
- Domain whitelist via ticket request (https://support.mydre.org) the domains below
for Ubuntu updates/packages
- Connect to Linux via Bastion SSH
If Bastion is not available, RDP via the Windows VM
install shiny R package
- sudo su
- sudo apt-get update
- sudo apt-get upgrade
- sudo apt-get install r-base
- sudo su - -c "R -e \"install.packages('shiny', repos='https://cran.rstudio.com/')\""
install Shiny server
- sudo start shiny-server
- sudo stop shiny-server
Connect to shiny server
- In mydre.org user portal identify IP-address of Linux VM = <linux_IP>
- Connect to Windows VM
- cmd > proxy settings
- Add in "use the proxy server except ..." <linux_IP>
- Open browser: http:\\<linux_IP>:3838
Proxy configurations for connecting to a server or blob
Version: 2022-11-02 Update: 2022-11-14 Introduction Domain allowlisting is a feature that is now available on myDRE. As the name implies, domains on the allowlist can be accessed from within the Workspace (you can request specific domain on the ...
What is workspace management?
By workspace management, we mean the administrative tasks that workspace Accountable and Privileged members of the workspace can ánd should perform to ensure smooth operation of the workspace. It includes: Adding and removing members, and changing ...
Requesting a workspace
Are you ready to work within a workspace? Then read below how you can request a workspace. To be able to request a workspace, you need to have an account on https://support.mydre.org. Note that this is not the same as your @mydre.org account. If you ...
What is a workspace?
A DRE workspace is a self-contained island where you can work and collaborate on your own data. Workspaces are especially suited for the analytical phase of your research; when you already have your data, and you need to prepare, combine and/or ...
License is the responsibility of the Workspace Accountable As a Workspace Accountable, you are responsible for the licenses in your Workspace. Make sure that members in the role Privileged Member and Advanced Member, those who can install ...