Step 3: Set up Amazon DCV Server imaging (Optional)
After customizing an Amazon EC2
For example, if you are deploying several Amazon EC2 instances from a single AMI, you can use automatic console creation for a local user account and delegate Amazon DCV permissions
to the end users. Alternatively, you can also use a Broker, like Amazon DCV Session Manager
Creating a Amazon DCV AMI can be performed in one of the following two ways:
Building a Amazon DCV image
First, you must have Amazon DCV installed on your system. If you do not, ensure your system is supported by Amazon DCV
Alternatively, if you have the Amazon DCV prerequisites met for Windows
Navigate to the components page within the Amazon EC2 Image Builder console
. Select the Filter owner drop-down menu and select Quick start (Amazon-managed).
Use the filter textbox to search for
dcv-server-windows
ordcv-server-linux
.Select the component’s hyperlink.
On the Amazon DCV component page, retrieve the component contents from the Content section.
Use the Amazon Task Orchestrator and Executor
(AWSTOE) to run the component locally on the instance. Note
For more information, see Get started with AWSTOE
.
For parameter usage within the components, see the section below.
Adding Amazon DCV to an Image Pipeline
An EC2 Image Builder recipedcv-server-windows
or dcv-server-linux
component to automate the installation of Amazon DCV within your pipeline. When selecting one of these components, you can fine tune the parameters to meet your requirements.
Note
For Linux, all prerequisites
Parameters
Windows
sessionOwner
—Sets the default owner of the automatically created session. If not specified, automatic console creation will be disabled. For more information, see the Enabling Automatic Console Sessionsin the Amazon DCV Administration Guide. dcvPermissions
—Sets the Amazon DCV permissions of your session. For more information, see Working with permissions filesin the DCV Administration Guide.
Linux
SessionOwner
—Sets the default owner of the automatically created session. If not specified, automatic console creation will be disabled. For more information, see the Enabling Automatic Console Sessionsin the Amazon DCV Administration Guide. Packages
—Defines the Amazon DCV packages that will be installed. If empty, all available Amazon DCV packages are installed. For more information, see the Install the Amazon DCV Server on Linuxin the Amazon DCV Administration Guide.
If you would like to modify the component, you may create a new component