This section discusses the initial configuration workflow for the Controller deployed in AWS
The Avi 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.
Configuring Admin Password for the Avi 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 [email protected] "sudo /opt/avi/scripts/initialize_admin_user.py --password Password@123" Resetting password for user admin. WARNING: proto: file "metrics.proto" is already registered See https://protobuf.dev/reference/go/faq#namespace-conflict 2024/07/03 06:55:19.281 [D] init global config instance failed. If you donot use this, just ignore it. open conf/app.conf: no such file or directory Password reset complete
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 Avi Load Balancer UI.
Once the authentication is successful, the user is provided with the initial configuration workflow as usual.