Remove cloud-init data and configuration. sudo rm -rf /var/lib/cloud sudo sed -i '/cloud-init/d' /etc/default/grub
Remove any cloud-init entry from the grub. sudo update-grub
Reboot the system. sudo reboot
Stop the instance from the Ananta portal and create a Root snapshot of that instance.
Create Image using the Snapshot. (After creation, it will be visible in the My Image section).
Navigate to the VPC section, purchase an IPv4 address, and create a load balancing rule using the acquired IPv4 address.
Create the Auto Scale Group using the custom template (My Image).
You can now log in to the initial instance using the static password (the same one used for the standard instance). Additionally, you can successfully log in to the secondary instance using the same static password.