aws-samples / amazon-ec2-nice-dcv-samples

AWS CloudFormation templates to provision Linux or Windows EC2 instances with GUI running NICE DCV remote display server. Includes option to install GPU drivers
MIT No Attribution
37 stars 3 forks source link

feature idea: Add in nvidia driver install #1

Closed danny-kirby closed 1 year ago

danny-kirby commented 1 year ago

A nice to have would be adding in logic for installing nvidia drivers for g4 or g5 instance type family on the cf scripts

limmike commented 1 year ago

Thanks for the suggestion. As per Install NVIDIA drivers on Windows instances and Install NVIDIA drivers on Linux instances , users have the option to install Tesla, GRID or gaming drivers. Installation and configuration is different for each driver type, instance type and OS, and driver files are few hundred MB in size.

Let me explore enhancing cfn to include a helper script file in the EC2 that users can use to download drivers, and decide for themselves which driver to install. Alternatively, nVidia and AWS offers AMIs with NVIDIA drivers installed, e.g. gaming drivers, Tesla driver, and GRID driver.. You can use user data scripts to install NICE DCV while launching them.

limmike commented 1 year ago

I have updated CfN templates to include helper script to download NVIDIA GRID and gaming and AMD GPU drivers, and configure the server as per Install NVIDIA drivers on Windows instances. Please refer to Prerequisites for Windows NICE DCV server on Amazon EC2 instances for driver installation and configuration instructions.

limmike commented 1 year ago

Updated Windows template with option to specify GPU driver to install. Tested with g4dn and g4ad instance types.