--- title: "Using cloud-init to configure initial settings" slug: "using-cloud-init-to-configure-initial-settings" tags: ["Install and Get Started", "NDRC 4.x", "Customer", "Network Security"] updated: 2026-09-09T18:08:56Z published: 2026-09-09T18:08:56Z canonical: "docs.trellix.com/using-cloud-init-to-configure-initial-settings" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Using cloud-init to configure initial settings 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. ```plaintext #cloud-config ia:    activation:        code: XX-YY-ZZ    hostname: testvm-NDR1    cluster:        name: testvm-NDR1-es ``` > [!NOTE] > 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](/network-and-platform/docs/network-detection-and-response-product-guide-4-x). 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. ```plaintext npadmin@hostname> enable ``` 3. Enter configuration mode. ```plaintext 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.