custom cloud environment
H! I want to use custom RStudio cloud environment and not sure whether it's doable or not. If I can, is there a specific base image I should use? Thanks!
H! I want to use custom RStudio cloud environment and not sure whether it's doable or not. If I can, is there a specific base image I should use? Thanks!
Comments
12 comments
Hi Sehyun Oh,
You should be able to make a custom RStudio cloud environment by extending our RStudio base image, which you can find here: us.gcr.io/anvil-gcr-public/anvil-rstudio-bioconductor:3.13.2
If we can help with anything else, please let us know!
Kind regards,
Jason
Hi Jason,
I used us.gcr.io/anvil-gcr-public/anvil-rstudio-bioconductor:3.13.2 as a base image to build my own with additional packages in it. But whenever I tried to use that new image, starting cloud environment takes forever - it says downtime required, thinks really hard, but never finish. Is there any template Dockerfile? Can I use any container repository?
- Sehyun
Hi Sehyun,
Hmm, are you just trying to add more packages to the base image? If so, I would recommend using a startup script to install the packages you need. You can read more about startup scripts here: https://support.terra.bio/hc/en-us/articles/360058193872
This will be a much easier solution than creating a separate Docker!
Kind regards,
Jason
Hi Jason,
I tried the startup script already, but tried both package installation and data download, which didn't work. I'll try once again only with the package installation and let you know how it goes.
- Sehyun
Please do! I'm really curious to know which part isn't working and see if we can get it resolved.
Jason
It seems like I hit the timeout error with the startup script? I could make the startup script work by installing only one package. But when I actually tried to install all 96 packages I need, it failed with the below error. Any suggestion from here?
Also, when I used the custom container built on us.gcr.io/anvil-gcr-public/anvil-rstudio-bioconductor:3.13.2 (quay.io/shbrief/gss_docker:anvil_rstudio), I got this error.
Hi Sehyun,
Thanks for testing that and getting back to me. Would you be able to share your Dockerfile for quay.io/shbrief/gss_docker:anvil_rstudio so I can take a closer look? I can follow up in a private email thread if you prefer.
Kind regards,
Jason
Sure! I just sent the response to support@broadinstitute.zendesk.com. Let me know if I should use a different email address. Thanks!
Hi Jason and Sehyun,
Any success on getting a custom RStudio cloud environment based on the RStudio base image working? I'm trying to do the same task and get the same error as Sehyun:
Thanks!
Hi Katie,
For my case, the problem was a registry - I saved my container image in Quay, which is recommended for workflows (Dockstore/ WDL) but not supported for custom cloud environments. Terra accepts Docker images stored in GCR, GHCR, or DockerHub only.
https://support.terra.bio/hc/en-us/articles/360037143432-Docker-tutorial-Custom-cloud-environments-for-Jupyter-notebooks
Hope this helps. Thanks!
- Sehyun
Thank you, Sehyun!
I was using the Google Artifact Registry and it wasn't working. I just switched over to the Google Container Registry and that solved my problem.
Thanks again,
Katie
Please sign in to leave a comment.