Appendix B. Running RStudio Server on an EC2 GPU instance
This appendix provides a step-by-step guide to running deep learning in RStudio Server on an AWS GPU instance. This is the perfect setup for deep-learning research if you don’t have a GPU on your local machine. You should also consult https://tensorflow.rstudio.com/tools/cloud_gpu, which includes an always-up-to-date version of these instructions as well as details on other cloud GPU options.
B.1. Why use AWS for deep learning?
Many deep-learning applications are computationally intensive and can take hours or even days when running on a laptop’s CPU cores. Running on a GPU can speed up training and inference by a considerable factor (often 5 to 10 times, when going from a modern CPU ...