Skip to main content
Version: v22.0

AWS Amazon Machine Images for Linux Quick Start Guide


This quick start guide describes how to configure DH2i’s pay-as-you-go DxEnterprise Linux images available on AWS. Using this guide, the user will configure DxEnterprise on two servers (nodes) and join the second node into a cluster.


  • An AWS Virtual Machine (VM) with DxEnterprise pre-installed. To create a DxEnterprise VM using a Marketplace Image, search for “DxEnterprise” in the Marketplace using the AWS search bar.

  • A second DxEnterprise VM for joining two nodes into a cluster.

Configure DxEnterprise on the First Node

  1. Use an SSH client to connect to the first server.

  2. Set the hostname for the instance by running the command hostnamectl set-hostname <new_hostname>.

  3. Run the script to start DxEnterprise services and activate the server.

    bash /opt/dh2i/bin/
  4. Use the command dxcli set-otpk to set a One-Time PassKey for the cluster. The passkey expires one hour after creation by default.


    dxcli set-otpk
  5. Optional: Set the cluster passkey using the command dxcli cluster-set-secret.


    Setting a cluster passkey is not required when doing NAT joins. However, a cluster passkey is still required for remote cluster management.


    dxcli cluster-set-secret

    The non-interactive version of this command is dxcli cluster-set-secret-ex.

Setup Second Node and Join to Cluster

  1. Use an SSH client to connect to the second server.

  2. Complete step two of the previous section for the second node.

  3. Join the second node to the cluster using dxcli join-cluster and follow the prompts. Select Y when prompted to join via NAT proxy. Enter the OTPK to join the cluster.


    dxcli join-cluster

    The non-interactive version of this command is dxcli join-cluster-ex.

Next Steps

Additional Information