By the time of this writing we haven’t found any public cloud provider offering web based GPGPU solution excepted the G2 AMI instances. While a few cloud player offers GRID based GaaS solution, GPGPU is yet something that run on on-demand private cloud or on stand alone infrastructure. But for development, especially for Mac users facing the switch of Apple for AMD or Intel GPU, the cloud is the only option for CUDA environment. AWS does not support yet AMD GPU. This post focus on selecting a version of CUDA SDK on a desired version of Linux distro. It is most a summary of our experience than a real “state of the art” installation guide. We will update it with our Ubuntu installation workflow in the coming days.
© NVIDIA Corporation
On this November 2015 we have Fedora, OpenSuse, RedHat EL, Suse EL, and Ubuntu.
We will go with Ubuntu 15.04. The required “cuda-repo-ubuntu1504_7.5-18_amd64.deb” Debian package can be found in the following folder:
Keep note of it as we will use the URL later on.
AWS G2 instances required a HVM virtualization type. AWS Market or Cloud-market like website are not the best option for selecting any official AMI. Such online catalog are not reliable as they often hide AMI that doesn’t offer third party service. For a more refined search we have two options, depending of we want to favor region or distro.
If the AMI region is already decided, then the AWSCLI or EC2 Console will be the easiest way to find it. Using the CLI run the following command:
aws ec2 describe-images --owners
where OWNER-ID is:
Note that CentOS G2 instance exists. They are under aws-marketplace OWNER-ID but the OS is not listed as supported by Nvidia. It may run using the Fedora or Redhat rpm thought. The same OWNER-ID can be used to filters the EC2 Console Public AMI listing.
Here is a list of the online repository to find a required version of the supported distro. Official AMI are region dependent so we may have to check its location for best cost performance. Here are a short-cut of the region code used by AWS:
|Virginia||US East 1 (us-east-1)|
|California||US West 1 (us-west-1)|
|Oregon||US West 2 (us-west-2)|
|Ireland||EU West 1 (eu-west-1)|
|Singapore||AP Southeast 1 (ap-southeast-1)|
|Tokyo||AP Northeast 1 (ap-northeast-1)|
|Sydney||AP Southeast 2 (ap-southeast-2)|
|Sao Paulo||SA East 1 (sa-east-1)|
© Canonical Ltd.
Filters function are available at the bottom of the listing for sorting. We can also go by releases:
( For Redhat we will refer to the EC2 console filtering OWNER-ID 309956199498)