Amazon EC2: GPU Cluster: Difference between revisions
imported>Ubervert Added full instruction set for a SUSE GPU instance |
No edit summary |
||
| (13 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
An '''Amazon EC2: GPU cluster''' is a remote GPU cluster | An '''Amazon EC2: GPU cluster''' is a remote GPU cluster service. | ||
=Creating a new image= | =Creating a new image= | ||
Check which distributions are supported, | Check which distributions are supported, [https://developer.nvidia.com/cuda-downloads here]. All you are concerned about are the developer drivers. | ||
From this point on, we will deal with a SUSE instance, but the general | From this point on, we will deal with a SUSE instance, but the general steps will be the same. '''Only select an instance that can work with CUDA!''' | ||
With the Classic Wizard, select SUSE Linux Enterprise | * With the Classic Wizard, select Cluster Instances HVM SUSE Linux Enterprise 11 | ||
Change the Instance Type from | * Change the Instance Type from M3 Extra Large to CG1 Cluster GPU (cg1.4xlarge). | ||
Enable Termination protection. | * Enable Termination protection. | ||
Generate your key pair and allow SSH access to the server. | * Make sure you specify that your Elastic Block Storage volume NOT be destroyed when the instance is terminated (or your data will be lost when the instance is terminated, which may happen without your consent if you are using a spot instance and the variable price exceeds your maximum bid). | ||
Review the instance type and ensure all details are correct. | * Generate your key pair and allow SSH access to the server. | ||
Pricing information may be found | * Review the instance type and ensure all details are correct. | ||
* Pricing information may be found [https://aws.amazon.com/ec2/pricing/ here]. "Spot instances" are generally the way to go but be sure to bid with a high enough margin from the current price that you wont be shut down unintentionally. Even double the current spot price is usually lower than the on-demand price. | |||
=Installing CUDA= | =Installing CUDA= | ||
| Line 33: | Line 34: | ||
./cuda_*.run | ./cuda_*.run | ||
</pre> | </pre> | ||
We only need the developer drivers. Ensure that the drivers install correctly. | We only need the developer drivers. Ensure that the drivers install correctly. Note that it needs to run as root. The cuda dev drivers are already installed in some AMIs (for example the CentOS-GPU image). | ||
=oclHashCat-plus= | =oclHashCat-plus= | ||
| Line 61: | Line 62: | ||
* [[w:Secure Shell|Wikipedia Article]] | * [[w:Secure Shell|Wikipedia Article]] | ||
* [http://dltj.org/article/ssh-as-socks-proxy/ SSH socks proxy howto] | * [http://dltj.org/article/ssh-as-socks-proxy/ SSH socks proxy howto] | ||
* | * [http://www.skullsecurity.org/wiki/index.php/Passwords Passwords Lists] | ||
* | * [http://docs.nvidia.com/cuda/cuda-getting-started-guide-for-linux/index.html oclHashcat-plus for Linux] | ||
[[Category:Howtos]] | [[Category:Howtos]] | ||
[[Category:Software]] | [[Category:Software]] | ||