populationgenomics / team-docs

Documentation, guides, tips and tricks when working at the CPG
MIT License
1 stars 1 forks source link

Set up R/RStudio on GCP #28

Open pdiakumis opened 3 years ago

pdiakumis commented 3 years ago

Since many members of the Analysis team will be using R/RStudio, it'd be good to figure out an efficient way to set those up on GCP. Some walkthroughs that I'll check out in the coming days:

lgruen commented 3 years ago

We should also consider https://terra.bio/try-rstudio-in-terra/.

pdiakumis commented 3 years ago

The first walkthrough above worked fine after a couple tweaks. Basically spin up a VM, add a firewall rule, install R, RStudio Server and their dependencies, add user and that's all. Bucket mounting with gcsfuse also works nicely, though need to figure out some permissions. Nice GCP learning exercise overall.

Screen Shot 2021-02-08 at 11 34 44 pm