Using cloud-init to configure initial settings

Prev Next

The virtual NDR Console deployment in AWS requires use of the cloud-init package to specify settings that are applied to the NDR Console on the initial boot. You enter the data in the user data section. The simplest way to enter user data is to copy and paste the cloud-init YAML file when you configure the EC2 instance in the AWS UI.

The following example shows how to configure the hostname and cluster name and apply the activation code.

Use the following user data format for launching.

#cloud-config
ia:
    activation:
        code: XX-YY-ZZ
    hostname: testvm-NDR1
    cluster:
        name: testvm-NDR1-es
			

Note

  • Validate the user data using YAML tool.

  • If you do not have an activation code, you can launch the instance by removing activation code from user data and apply using CLI.

For more information on how to apply the activation code, install license keys, and verify installed licenses, see the License Management section of the NDR Product Guide. Also see the Amazon Elastic Compute Cloud documentation

Changing the npadmin user's password

To change the "npadmin" user password for Web UI access after deployment, perform the following steps:

  1. Log in to the NDR Console CLI using a terminal window or SSH client with the AWS-configured key and username "npadmin".

  2. Enter privileged mode on the NDR Console CLI.

    npadmin@hostname> enable
  3. Enter configuration mode.

    npadmin@hostname# configure system
  4. Type users at the terminal and press Enter.

  5. Type 4 and press Enter to change npadmin's password.

  6. Type y and press Enter to proceed to change the password.