To remove the Bitnami from your wordpress site running on AWS Lightsail do the following.
1. Connect
Login to Amazon Light Sail and connect to your WordPress instance.
2. Disable the Banner
sudo /opt/bitnami/apache2/bnconfig --disable_banner 1
3. Restart apache
sudo /opt/bitnami/ctlscript.sh restart apache
Common Errors – APPNAME
The following error is what you will get if you copy the commands in the documentation directly.
sudo /opt/bitnami/apps/APPNAME/bnconfig --disable_banner 1
sudo: /opt/bitnami/apps/APPNAME/bnconfig: command not found
If you are not using apache you might need to search for the config scripts. For the banner removal you would be looking for a web server like apache or nginx.
sudo find /opt/bitnami -name bnconfig
smooth operator