[dcv]
section
Defines configuration settings for the Amazon DCV server running on the head node.
To create and configure a Amazon DCV server, specify the cluster dcv_settings with the name you
define in the dcv
section, and set enable to master
, and base_os to alinux2
, centos7
, ubuntu1804
or ubuntu2004
.
If the head node is an ARM instance, set base_os to alinux2
, centos7
, or ubuntu1804
.
The format is [dcv
. dcv-name
]dcv-name
must
start with a letter, contain no more than 30 characters, and only contain letters, numbers, hyphens (-), and
underscores (_).
[dcv
custom-dcv
] enable = master port = 8443 access_from = 0.0.0.0/0
For more information, see Connect to the head node through Amazon DCV
Important
By default the Amazon DCV port setup by AWS ParallelCluster is open to all IPv4 addresses. However, you can connect to
a Amazon DCV port only if you have the URL for the Amazon DCV session and connect to the Amazon 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 Amazon DCV port with a CIDR-formatted IP range, and use the port setting to set a nonstandard port.
Note
Support for the [dcv] sectionon centos8
was removed in AWS ParallelCluster
version 2.10.4. Support for the [dcv] section on
centos8
was added in AWS ParallelCluster version 2.10.0. Support for the [dcv] section on AWS Graviton-based instances was added in AWS ParallelCluster version 2.9.0.
Support for the [dcv] section on alinux2
and
ubuntu1804
was added in AWS ParallelCluster version 2.6.0. Support for the [dcv] sectionon centos7
was added in AWS ParallelCluster version 2.5.0.
access_from
(Optional, Recommended) Specifies the CIDR-formatted IP range for connections to Amazon 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
Update policy: This setting can be changed during an update.
enable
(Required) Indicates whether Amazon DCV is enabled on the head node. To enable Amazon DCV on
the head node and configure the required security group rule, set the enable
setting to
master
.
The following example enables Amazon DCV on the head node.
enable = master
Note
Amazon DCV automatically generates a self-signed certificate that's used to secure traffic between the Amazon DCV client and Amazon DCV server running on the head node. To configure your own certificate, see Amazon DCV HTTPS certificate.
Update policy: If this setting is changed, the update is not allowed.
port
(Optional) Specifies the port for Amazon DCV.
The default value is 8443
.
port = 8443
Update policy: If this setting is changed, the update is not allowed.