Know How Guide and Hands on Guide for AWS
This document explains how to build Graphics Workstation on Amazon EC2 G4 Instances. Here use the GPU graphics instance G4 with Windows Server 2016 as example.
Follow up guide Install NICE DCV Server
The Installing NVIDIA drivers on Windows instances guide
Choice NVIDIA drivers that can be used with GPU-based instances
The G4 instance support for all Tesla driver, GRID driver and Gaming driver.
Here we use the Option 2 for demo
Download driver from https://s3.cn-north-1.amazonaws.com.cn/lxy-sa-software/EC2-G4-Instance/02_Tesla_Driver/442.50-tesla-desktop-winserver-2019-2016-international.exe
Select the Express
installation mode
Complete the installation
cd “C:\Program Files\NVIDIA Corporation\NVSMI”
.\nvidia-smi –auto-boost-default=0
.\nvidia-smi -ac “5001,1590”
![install-nice-dcv-GPU-Setting](/aws-is-how/EC2/media/install-nice-dcv-GPU-Setting.png)
5. Install Windows components
- Click `Server Manager`
- `Add roles and features`
- `Role-based or feature based installation`
- Select local machine from the Server pool
- Server Role screen, keep default setting
- Feature screnn, select `Media Foundation (媒体基础)` and `Quality Windows Audio Video Experience(优质Windows 音频视频体验)`
- Review and Click `Install`
- Restart the Windows
![Server-Manager](/aws-is-how/EC2/media/install-nice-dcv-Server-Manager.png)
![Server-Manager-Feature](/aws-is-how/EC2/media/install-nice-dcv-Server-Manager-Feature.png)
6. Disable the licensing page in the control panel to prevent users from accidentally changing the product type
Run Powershell as Administrator
```bash
New-ItemProperty -Path "HKLM:\SOFTWARE\NVIDIA Corporation\Global\GridLicensing" -Name "NvCplDisableManageLicensePage" -PropertyType "DWord" -Value "1"
https://s3.cn-north-1.amazonaws.com.cn/lxy-sa-software/EC2-G4-Instance/03_Grid_Driver/443.05_grid_win10_64bit_international_whql.exe
Select the Express
installation mode
Complete the installation
Disable default display card
Make sure the Driver install correctly
# Open a PowerShell window and navigate to the NVIDIA installation folder.
cd "C:\Program Files\NVIDIA Corporation\NVSMI"
.\nvidia-smi.exe
.\nvidia-smi.exe -q
Output sample
Tue Sep 22 09:22:32 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 443.05 Driver Version: 443.05 CUDA Version: 10.2 |
|-------------------------------+----------------------+----------------------+
| GPU Name TCC/WDDM | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 Tesla T4 WDDM | 00000000:00:1E.0 Off | 0 |
| N/A 40C P0 27W / 70W | 435MiB / 15360MiB | 1% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 920 C+G C:\Windows\System32\dwm.exe N/A |
| 0 2068 C+G ...t_cw5n1h2txyewy\ShellExperienceHost.exe N/A |
| 0 2568 C+G ...dows.Cortana_cw5n1h2txyewy\SearchUI.exe N/A |
| 0 2800 C+G ... Files\NICE\DCV\Server\bin\dcvagent.exe N/A |
| 0 2944 C+G C:\Windows\explorer.exe N/A |
+-----------------------------------------------------------------------------+
https://s3.cn-north-1.amazonaws.com.cn/lxy-sa-software/EC2-G4-Instance/05_Benchmark/FurMark_1.21.2.0_Setup.exe