How to install and run NICE DCV on AWS EC2

Getting started with NICE DCV on Amazon EC2

NICE DCV is a high-performant remote 2D/3D visualization technology which is free to use on AWS EC2 instances. EC2 offers instances with GPUs and without. We will explain the steps necessary to get DCV running on the EC2 instance you have selected.

First please sign in to the AWS Management Console. The easiest way to get NICE DCV running is to use one of the pre-built AMIs (Amazon Machine Images) including NICE DCV which you can find on this page: NICE DCV AMIs for Linux or Windows. If you want to install NICE DCV manually please check out our guide How to install NICE DCV on RedHat/CentOS.

After clicking on the DCV-AMI you want to use you will get to the next page where you just click on “Continue to Subscribe” to the upper right (which tells you you don’t have to subscribe).

Click on “Continue to Configuration” where you typically want to select the region where you want to launch the AMI. At the time of writing the default is to use a g3s.xlarge instance (in case an AMI with 3D support and GPU is selected) which is equipped with a nVidia GPU with 8 GB, 4 vCPUs and 30.5 GB memory (hourly cost of $0.75 at the time of writing).

As next step click on “Continue to Launch” where you can configure the final settings:

  • Choose Action: “Launch from Website”
  • Security Group Settings: Use “Create New Based On Seller Settings” in case you want to have port 8443 to open for incoming connection which is the default port to access NICE DCV
  • Select your key pair

After clicking “Launch” you should see the following message:

Connect to your NICE DCV Session

Head over to your AWS console and find the details of your new running instance including public IP address to login. After logging in via ssh you should see (in case of Linux) the following nvidia-smi information which shows that the g3s is equipped with half of an nvidia M60 GPU with 8GB and uses nVidia driver 430.30:

Set the password of the ec2-user with the following command:
sudo passwd ec2-user
and start a new DCV session with
dcv create-session session1

Now let’s try to connect to the instance via DCV. Open the URL https://YOUR_PUBLIC_IP:8443 in your browser, agree to the security exception due to the missing certificate and then you should see the login screen shown to the right where you can login with user ec2-user and the password you have just configured in the shell session.

If everything goes well you should see in case of a Linux session a desktop similar to this:

Now you have a full Linux desktop available with powerful 3D GPU support similar to a M6000 card for your 3D applications.

A next step could e.g. be using the (portable) native NICE DCV client for best performance (in the web browser client the H.264 stream is decoded in javascript which is performant but does not reach the same performance of the native client leveraging e.g. SSE or AVX instructions of the CPU).


  • Always make sure that your EC2 inbound rules allow traffic on port 8443.
  • You can perform the installation of NICE DCV yourself as well in about 15-30 minutes based on our installation guide for running the NICE DCV server on your EC2 instance or on-premises.
  • You can create an AMI from your instance to launch NICE DCV quickly including your specific configurations and applications installed.

Any questions just let us know via our contact form.