This post describes how to setup CUDA, OpenCL, and PyOpenCL on EC2 with Ubuntu 12.04. It took me a while to get working properly, so what follows are the steps I took to install CUDA and OpenCL on EC2. These steps should work for any machine with a CUDA capable card. If you'd just like to create an instance with everything preinstalled, I've created a public AMI named Ubuntu-12.04-GPU-CUDA-OpenCL-
![Installing CUDA, OpenCL, and PyOpenCL on AWS EC2](https://cdn-ak-scissors.b.st-hatena.com/image/square/9908d01941874b5c3a129a75f5a6444c7367cf4c/height=288;version=1;width=512/http%3A%2F%2Ferikhazzard.com%2Fstatic%2Fbranding%2Fheader.png)