[dcv] Section - AWS ParallelCluster

[dcv] Section

Defines configuration settings for the NICE DCV server running on the master instance.

To create and configure a NICE DCV server, specify a dcv_settings with the name of your section, with enable set to master, and a base_os set to alinux2, centos7 or ubuntu1804.

The format is [dcv <dcvname>].

[dcv custom-dcv] enable = master port = 8443 access_from = 0.0.0.0/0
Important

By default the NICE DCV port setup by AWS ParallelCluster is open to all IPv4 addresses. However, users can connect to a NICE DCV port only if they have the URL for the NICE DCV session and connect to the NICE DCV session within 30 seconds of when the URL is returned from pcluster dcv connect. Use the access_from setting to further restrict access to the NICE DCV port with a CIDR-formatted IP range, and use the port setting to set a nonstandard port.

Note

Support for the [dcv] section on alinux2 and ubuntu1804 was added in AWS ParallelCluster 2.6.0. Support for the [dcv] sectionon centos7 was added in AWS ParallelCluster 2.5.0.

enable

(Required) Indicates whether NICE DCV is enabled on the master node. To enable NICE DCV on the master node and configure the required security group rule, set the enable setting to master.

The default value is NONE.

The following example enables NICE DCV on the master node.

enable = master
Note

NICE DCV automatically generates a self-signed certificate that is used to secure traffic between the NICE DCV client and NICE DCV server running on the master instance. To configure your own certificate, see NICE DCV HTTPS Certificate.

port

(Optional) Specifies the port for NICE DCV.

The default value is 8443.

port = 8443

access_from

(Optional, Recommended) Specifies the CIDR-formatted IP range for connections to NICE DCV. This setting is used only when AWS ParallelCluster creates the security group.

The default value is 0.0.0.0/0, which allows access from any internet address.

access_from = 0.0.0.0/0