It seems you launched a LAMP instance in AWS (that's why you have MySQL, Apache and PHP) and then you installed the Bitnami Tomcat stack there, right? If that's the case, you have 2 separate installations right now, the default one at /opt/bitnami and the Tomcat's one at /opt/tomcat-8.5.43-0 (that's the default installation directory).
You probably selected non-default ports during the installation. If you only want to have Tomcat, Apache and PHP, please launch the Bitnami Tomcatstack solution in AWS.
Happy to help!
Was my answer helpful? Click on