How do I install nvidia gpu driver on amazon ec2 instance running ubuntu?

I’ve been struggling to get the driver to install correctly.
nvidia-smi -L hangs and cannot be killed even with “kill -9”.

Should I ever manage to get the driver actually working, then I will have to tackle the issue of getting the correct versions of the other software packages (cuda, machine learning packages, digits) to work as well.

I started trying to install NDIGITS with these instructions:
https://github.com/NVIDIA/DIGITS/blob/digits-3.0/docs/UbuntuInstall.md
These were pretty good except they did not specify how to install the driver.

I relied on these instructions to install the driver:
https://github.com/BVLC/caffe/wiki/Install-Caffe-on-EC2-from-scratch-(Ubuntu,-CUDA-7,-cuDNN)
They did not work for me.
nvidia-smi -L hangs and cannot be killed even with “kill -9”.

Has anyone from NVIDIA ever tried to install this on an amazon ec2 instance running ubuntu?
If so, could you please share exactly what I need to do to get the driver to work?

General CUDA install instructions are available here:

http://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#abstract

You can use the package manager method, or the runfile installer method. Just don’t mix methods.

And I’ve already responded to your other thread indicating you should use a newer driver than 352.39

I would get the driver and CUDA installed properly (tested working) before trying to install DIGITS or Caffe.