Edit this page

NA-MIC Project Weeks

Back to Projects List

How to setup and run 3D Slicer on an AWS cloud server

Key Investigators

Project Description

How to setup and run 3D Slicer on an AWS cloud server

Objective

For this workshop, we want to set up a 3D Slicer EC2 AWS cloud instance that can be scaled based on hardware needs and can be used for deep learning. 

The EC2 Windows Cloud server instance should natively run 3D Slicer and have NVIDIA GPU and CUDA support. 

The necessary steps are documented here.

Approach and Plan

An AWS CloudFormation template was designed to install 

A mechanism how to share result data between a working group will be discussed, with the option to install a 3dviewer.net server instance or use a S3 bucket.

The speed of general system setup, up- and downscaling as well as running costs will be evaluated.

Progress and Next Steps

The use of the EC2 instances was comfortable and reliable during the Project week. The performance of the g5x4large instance was a bit slower than the reference GTX 3070 Ti, although the GPU load never was on the upper limits. Up and downgrading the EC2 instance was comfortable and did not touch any component of the installed programs. The cost of running a g5.x4large GPU instance is around 2 $ per hour. The Cloudformation template proved very helpful. 

Setting up the EC2 instance for interactive 3D purposes makes only sense if connection speeds to and from the server are around 50 Mbps. 

Illustrations

image

Fig. 1 Raspberry 4 Model B running 3D Slicer on an EC2 instance in Chromium browser

Background and References

Recommended GPU instances for deep learning purposes