Disclaimer: I wrote this post several months ago and did not publish it for unknown reason, I assume that the information below is still relevant and correct. While trying to install the machine, I started my research by reading Traun Leyden 's great blog post: http://tleyden.github.io/blog/2014/10/25/cuda-6-dot-5-on-aws-gpu-instance-running-ubuntu-14-dot-04/ (you should too) Amazon offers two types of machines that includes GPUs ( https://aws.amazon.com/ec2/instance-types/#g2 ) High-performance NVIDIA GPUs, each with 1,536 CUDA cores and 4GB of video memory While writing this post, I used the g2.2xlarge machine, but you can also use the 8xlarge. This will be quick and simple: 1. Make sure you are fully up-to-date sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade When prompted, choose the "install maintainer package...." 2. Reboot the machine (so it will load the new kernel) 3. Install the kernel's header f