Deploying Multiple wars to AWS Beanstalk
After few trial and error, I was able to get this done for a Tomcat 8 Java 8 Below is my folder structure where the main war is unzipped and other wars are placed on the same folder. This folder is configured using AWSEBCLI to my EB environment. Using ebetensions, I have placed a script file that will copy the additional wars to webapps folder in the post deploy hook folder “/opt/elasticbeanstalk/hooks/appdeploy/post/” Tomcat 8 automatically deploys these wars and all works fine J Here is the the config file content. files: "/opt/elasticbeanstalk/hooks/appdeploy/post/99_copy_other_wars.sh": mode: "000755" owner: root group: root content: | cp /var/lib/tomcat8/webapps/ROOT/*.war /var/lib/tomcat8/webapps/.