This section discusses the initial configuration workflow for the Controller deployed in AWS

The NSX Advanced Load Balancer Controller does not have the initial password creation option when deployed on AWS. It is required to log in using an SSH key installed while creating the Controller in AWS clouds and set the password. This enhancement also introduces a change in the workflow to create the Controller cluster in AWS.

Configuring Admin Password for the NSX Advanced Load Balancer Controller Set-up in AWS

Once the Controller is instantiated, execute the following command script to set password for the admin user:

local@Avi-Dev:~# ssh -i avitest-aws-key.pem admin@10.10.1.1 "sudo /opt/avi/scripts/initialize_admin_user.py --password Password@123" 
  
 Avi Cloud Controller
 
 Avi Networks software, Copyright (C) 2013-2017 by Avi Networks, Inc.
 All rights reserved.
 
 Version:      18.2.3
 Date:         2019-05-01 22:43:26 UTC
 Build:        9063
 Management:   10.10.1.1/24                 UP
 Gateway:      10.10.1.10                   UP
 
 
 
 [node1.controller.local] Executing task 'sync_linux_one_user' 
 DEPLOY_OVERRIDES {} 
 [node1.controller.local] sudo: export PYTHONPATH=/opt/avi/python/lib && /opt/avi/scripts/linux_user_maintenance.py --sync-user '{"username": "admin", "uid": 2000, "is_sudoer": true, "controller": true, "unix_crypt_password": "abc12345", "delete": false}'
 [node1.controller.local] out: The user `admin' is already a member of `sudo'.
 [node1.controller.local] out:
 
 [node1.controller.local] Executing task 'sync_cli_user' 
 Resetting password for user admin. 
 Password reset complete
 local@Avi-Dev:~#

If the browser is pointed to the Controller IP address, a login screen is available with instructions to set up the admin password. Once the password is configured, the admin user can log in via the NSX Advanced Load Balancer UI.

Once the authentication is successful, the user is provided with the initial configuration workflow as usual.

Changes for Cluster Set-up

While configuring the Controller cluster in AWS, the admin password for each node of the cluster is required as shown below:

This is the same password for the admin account which is discussed in the previous section.