# Can 3D Slicer be hosted on a rendering server?

**URL:** <https://discourse.slicer.org/t/can-3d-slicer-be-hosted-on-a-rendering-server/9256>\
**Category:** Support\
**Created:** [November 21, 2019, 5:04pm UTC](https://discourse.slicer.org/t/can-3d-slicer-be-hosted-on-a-rendering-server/9256 "2019-11-21T17:04:04Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yusuf](https://avatars.discourse-cdn.com/v4/letter/y/c68b51/32.png) [@Yusuf](https://discourse.slicer.org/u/Yusuf)\
**Post date:** [November 21, 2019, 5:04pm UTC](https://discourse.slicer.org/t/can-3d-slicer-be-hosted-on-a-rendering-server/9256/1 "2019-11-21T17:04:04Z")

</div>

Hi,  
Can the slicer3D be hosted off a render server so that multiple clients can access it with less powerful client hardware?

Thank you

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [November 21, 2019, 6:01pm UTC](https://discourse.slicer.org/t/can-3d-slicer-be-hosted-on-a-rendering-server/9256/2 "2019-11-21T18:01:51Z")

</div>

That’s fairly easy to do on Linux using VirtualGL and TurboVNC.  
[https://virtualGL.org](https://virtualGL.org)

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [November 21, 2019, 7:13pm UTC](https://discourse.slicer.org/t/can-3d-slicer-be-hosted-on-a-rendering-server/9256/3 "2019-11-21T19:13:41Z")

</div>

@muratmaga @pieper Do you have experience in setting up a docker swarm with web VNC and reverse proxy so that multiple users can log on through the same webpage, each seeing his own Slicer instance?

We could host such a server in our lab, but we would need help with setting it up.

It could be used to demonstrate that Slicer can “run in a web browser” and it could be also configured to do segmentation or other tasks initiated from OHIF DICOM web viewer (download the data set, allow user to interact with it, then push back the data). It would be awesome to have this for RSNA.

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [November 21, 2019, 7:34pm UTC](https://discourse.slicer.org/t/can-3d-slicer-be-hosted-on-a-rendering-server/9256/4 "2019-11-21T19:34:17Z")

</div>

Sorry, I have no experience with docker. But would love to see what you describe in action…

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [November 22, 2019, 9:12pm UTC](https://discourse.slicer.org/t/can-3d-slicer-be-hosted-on-a-rendering-server/9256/5 "2019-11-22T21:12:59Z")

</div>

I don’t have a fully worked out example now, but have discussed working on this at project week with Emel to test with ePad.

I was planning to set something up using google cloud technologies so it would scale and basically be open to anyone willing to sign up for an account (at least for the first $300 worth of testing) can try it out. But the same basic functionality should also be good to work with a server at Perk if you want to open it up. Main issues I can think of are dealing with user accounts, TLS, allocating ports to users, etc.

On google I’ve been playing with the [Identity Aware Proxy](https://cloud.google.com/iap/) which allows TLS and you can control authorization of connections to VMs or instances via google logins so we can get out of demo mode into something you could use for real work. All this stuff can be controlled via the gcloud API, so my thought would be that you would be in OHIF or ePad and you’d ask for a Slicer instance to open up with the same study (hence I was calling the project SlicerStudyBuddy - name subject to discussion 😉). If you are logged to your google account and accessing one of their dicomweb servers it’s possible to pass the authentication token to the virtual Slicer instance so it can inherit that access to pull the data.

Would be interesting to try setting this up for RSNA, but of course the time is short.

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [November 22, 2019, 9:37pm UTC](https://discourse.slicer.org/t/can-3d-slicer-be-hosted-on-a-rendering-server/9256/6 "2019-11-22T21:37:42Z")

</div>

There are alternatives:

NSF/XSEDE supports a program called Science Community Gateways Initiative. [https://sciencegateways.org/](https://sciencegateways.org/)

We can request computational resources to be used by the public, as well as support for a gateway interface. These are free-of-charge services, but require competitive renewal every 12 months. Most likely the allocation will be on their Jetstream VM farm ([https://jetstream-cloud.org/](https://jetstream-cloud.org/)). Jetstream currently does not support GPUs, but there can be a hybrid solution.

Like any grant application, it will require a demonstrable need by the community.

---

<div class="post-metadata">

**Author:** ![Yusuf](https://avatars.discourse-cdn.com/v4/letter/y/c68b51/32.png) [@Yusuf](https://discourse.slicer.org/u/Yusuf)\
**Post date:** [November 25, 2019, 10:04am UTC](https://discourse.slicer.org/t/can-3d-slicer-be-hosted-on-a-rendering-server/9256/7 "2019-11-25T10:04:55Z")

</div>

Thank you indeed for all your replies and your time.

Regards

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [November 26, 2019, 7:58pm UTC](https://discourse.slicer.org/t/can-3d-slicer-be-hosted-on-a-rendering-server/9256/8 "2019-11-26T19:58:34Z")

</div>

> [@pieper](#):
>
> I was planning to set something up using google cloud technologies so it would scale and basically be open to anyone willing to sign up for an account (at least for the first $300 worth of testing) can try it out.

This would be awesome to have for RSNA. Do you think you could have a chance to set this up?

In the long term, we will need both cloud and self hosting setup - cloud hosting is very scaleable and lots of pre-configured services are available; self hosting has no data privacy issues, can be more vendor neutral, and may cost less.

Science Community Gateways could be good, too, but if you need to write a proper proposal (not just a formality like filling out a form) every 12 months then I don’t see the point, as you could spend that time with writing larger grants that can fund cloud computing resources or buying your own hardware.

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [November 26, 2019, 9:09pm UTC](https://discourse.slicer.org/t/can-3d-slicer-be-hosted-on-a-rendering-server/9256/9 "2019-11-26T21:09:33Z")

</div>

XSEDE grants look somewhat like a regular grant initially, but competitive renewals (every 12 months) are much simpler, especially if you are hitting your target user numbers and can justify maintaining the resource. If not, you can dial down your request to more meaningful numbers.

It is really the lack of GPU on those VM is my main hesitation. Perhaps that will have that soon…

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [November 26, 2019, 10:28pm UTC](https://discourse.slicer.org/t/can-3d-slicer-be-hosted-on-a-rendering-server/9256/10 "2019-11-26T22:28:14Z")

</div>

With the short week here I don’t think I’ll have time to set anything up before RSNA, but we can probably try some things on the fly there.

---

<div class="post-metadata">

**Author:** ![fedorov](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fedorov/32/14_2.png) [@fedorov](https://discourse.slicer.org/u/fedorov)\
**Post date:** [November 26, 2019, 11:14pm UTC](https://discourse.slicer.org/t/can-3d-slicer-be-hosted-on-a-rendering-server/9256/11 "2019-11-26T23:14:31Z")

</div>

I would be interested in this as well - let me know if you get together to work on this at RSNA!

---

<div class="post-metadata">

**Author:** ![nchaves](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/nchaves/32/10376_2.png) [@nchaves](https://discourse.slicer.org/u/nchaves)\
**Post date:** [March 22, 2021, 1:12am UTC](https://discourse.slicer.org/t/can-3d-slicer-be-hosted-on-a-rendering-server/9256/12 "2021-03-22T01:12:20Z")

</div>

Hi, I hope everyone is doing fine! Out of curiosity, has there been any progress on the topic of this thread?

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [March 22, 2021, 5:51am UTC](https://discourse.slicer.org/t/can-3d-slicer-be-hosted-on-a-rendering-server/9256/13 "2021-03-22T05:51:59Z")

</div>

Recently we ran our week long SlicerMorph workshop on cloud using Docker containers. I made some comments on how it worked out here:

> [@How to run Slicer on the cloud and access in a web browser](https://discourse.slicer.org/t/how-to-run-slicer-on-the-cloud-and-access-in-a-web-browser/16401/7):
>
> We just finished the first day running SlicerMorph workshop on the Cloud. This note is for sharing the experience with other folks interested in running Slicer as an remote interactive desktop application (not thru Jupyter notebooks or binder). We are using this docker [GitHub - SlicerMorph/SlicerMorphCloud: Docker for running SlicerMorph on Cloud](https://github.com/SlicerMorph/SlicerMorphCloud/), which provides a simple openbox WM, with a file browser, Slicer, R/Rstudio and Firefox. (same docker can be used for GPU accelerated setups with Nv…

Overall it went well. VNC sessions can be managed better (specifically issue #6), but otherwise experience has been quite pleasant.
